LANG=zh_TW rxvt &
alias gbrxvt='LANG=zh_CN.GB2312 rxvt -sl 1500 -bg black -fg gray78 -fn 8x16 -fm '\''"-isas-fangsong ti-*-16-*-gb2312.1980-0"'\'' -km gb >/dev/null &'
$ LANG=zh_TW rxvt & WARNING!! rxvt is unable to display in BIG5 encoding you should use xterm instead
— Ignore it, rxvt shows BIG5 well
Under RH8, when TrueType fonts are rendered through freetype, rxvt can only use bitmap fonts. Both native Chinese TrueType font and mine will not work. Thirdly, rxvt is only good for showing Chinese, not input them, because it will 'segmentation fault' on trying to do both showing & inputing.
$ aliasf gbrx alias gbrxvt='do_bg LANG=zh_CN rxvt -sl 1500 -bg black -fg gray70 -fn fixed -fb 6x13bold -km gb -fm -microsoft-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0' alias gbrxvt0='do_bg LANG=zh_CN rxvt -sl 1500 -bg black -fg gray70 -fn 8x16 -fm '\''"-isas-fangsong ti-*-16-*-gb2312.1980-0"'\'' -km gb'
gbrxvt0
— ok to show CC
gbrxvt
— nok, no CC shonw, even menu is in Chinese, font size smaller than previous cd mlterm-2.8.0
$ patch -p0 < ../mlterm-2.8.0pl1/mlterm-2.8.0pl1.patch patching file xwindow/x_font_cache.c patching file xwindow/version.h.in
./configure --with-x --with-imagelib=imlib --with-gnu-ld --disable-rpath --disable-scrollbars
LANG=zh_CN rxvt -sl 1500 -bg black -fg gray70 -fn fixed -fb 6x13bold -km gb -fm -misc-zysong18030-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
— still nok, no CC shonw. Menu in Chinese, font size same as previous
$ LANG=zh_CN XMODIFIERS=@im=Chinput rxvt -sl 1500 -bg black -fg gray70 -fn 8x16 -fm '"-isas-fangsong ti-*-16-*-gb2312.1980-0"' -km gb Segmentation fault rxvt: could not obtain control of tty XIO: fatal IO error 9 (Bad file descriptor) on X server ":0.0" after 218 requests (215 known processed) with 10 events remaining.
Strange, I had been able to run rxvt in rh7, even with both LANG & XMODIFIERS envars set. Just that it couldn't input Chinese. And now, strangly, I can't start it any more.
Go on start rxvt:
$ LANG=zh_CN.GB18030 XMODIFIERS=@im=Chinput rxvt & rxvt: could not obtain control of tty XIO: fatal IO error 9 (Bad file descriptor) on X server ":0.0" after 207 requests (204 known processed) with 29 events remaining.
[1]+ Segmentation fault LANG=zh_CN.GB18030 XMODIFIERS=@im=Chinput rxvt
rxvt &
— same error as above
start from xterm, same error as above.
Starting 'LANG=zh_CN.GB18030 XMODIFIERS=@im=Chinput rxvt' from English gnome-terminal result the same as above. So does 'LANG=zh_CN.GB18030 rxvt & '
However, it is possible to start:
XMODIFIERS=@im=Chinput rxvt
LANG=zh_CN.GB18030; GDM_LANG=zh_CN.GB18030
date
— Chinese in 'luanma'.
This is the same result as Starting 'XMODIFIERS=@im=Chinput gnome-terminal' from English gnome-terminal (w/o LANG=zh_CN.GB18030)