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
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.
Fixed (by adding --enable-xgetdefault) in rxvt-2.6.0-1. Thanks for the pointer.