Bug 3309 - Rxvt doesn't seem to recognize the Rxvt*font0: "5x7" resource
Rxvt doesn't seem to recognize the Rxvt*font0: "5x7" resource
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rxvt (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-07 01:52 EDT by Marc MERLIN
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-12 21:04:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marc MERLIN 1999-06-07 01:52:10 EDT
I am trying to switch from my custom compiled rxvts to the
one supplied with RH 6.0 (rxvt v2.6.PRE2). In order to get
the most of the settings that I compiled in my custom rxvt,
I used the Xresource support, and added the following to my
resources:

XTerm*background: black
XTerm*foreground: grey
XTerm*loginShell: true
XTerm*color4: #0000FF
Rxvt*inheritPixmap: true
Rxvt*saveLines: 8192
Rxvt*font: "6x10"
Rxvt*font0: "5x7"
Rxvt*font1: "6x10"
Rxvt*font2: "7x13"
Rxvt*font3: "8x16"
Rxvt*font4: "10x20"
Rxvt*font5: "12x24"

The resources work, except for inheritPixmap and
Rxvt*fontnum which are simply ignored

The font size selections are something I rather miss. If the
resource handling is just broken in rxvt, would you consider
the following settings for feature.h?

#ifdef
KANJI
# define NFONTS
3
# define FONT0_IDX
1
# define MFONT_LIST    "jiskan16", "k14",
"jiskan24"
# define NFONT_LIST    "8x16", "7x14",
"12x24"
#else
# ifdef
ZH
#  define NFONTS
3
#  define FONT0_IDX
1
#  define MFONT_LIST   "taipei16", "taipeik20",
"taipeik24"
#  define NFONT_LIST   "8x16", "10x20",
"12x24"
# else                         /* no Kanji or Big5 support
/
#  define NFONTS
6
#  define FONT0_IDX
1
#  undef
MFONT_LIST
#  define NFONT_LIST   "6x10", "5x7", "7x13", "8x16",
10x20", "12x24"
#
endif
#endif
Comment 1 Marc MERLIN 1999-06-08 00:10:59 EDT
I also found out that rxvt is hardwired to read ~/.Xresources instead
of taking into account resources that could have been defined
elsewhere (/etc/X11/xinit/Xresources), and taking
/usr/lib/X11/app-defaults/Rxvt into account. Those two can be enabled
at compile time.
Comment 2 Jeff Johnson 1999-06-12 21:04:59 EDT
Fixed (by adding --enable-xgetdefault) in rxvt-2.6.0-1. Thanks for the
pointer.

Note You need to log in before you can comment on or make changes to this bug.