LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 9865|回复: 21

如何设置rxvt 显示中文?

[复制链接]
发表于 2003-4-1 14:24:15 | 显示全部楼层 |阅读模式
装好了debian,终于好显示中文了
我装了fvwm , 菜单,窗口的title都好显示中文了
fcitx也装上了,挺爽的...

但是rxvt还是不好显示中文,郁闷
我装的是woody的
rxvt           2.6.4-6
在原来的rh下用是可以的,
在.Xresoures里面的设置和rh下一样,
加上了:
rxvt*mfont: -*-simsun-medium-r-normal--13-*-*-*-c-*-gb2312.1980-0

还装了rxvt-ml, 用crxvt倒是可以显示中文
但是在哪个文件里改config阿
我在.Xresoures加上了:
crxvt*background: black
但是没有用阿....

有谁知道阿...
发表于 2003-4-1 15:05:26 | 显示全部楼层
不明白你的问题
crxvt-gb可以显示不就行了?
 楼主| 发表于 2003-4-1 15:47:18 | 显示全部楼层
crxvt-gb不知道配置文件是哪个阿?
比如我要黑低白字,7x13的大小,自己定义颜色...
这个都怎么搞阿,
rxvt是在.Xresoures里面,
但是crxvt好象不是这个文件阿...
发表于 2003-4-1 19:03:01 | 显示全部楼层
crxvt就是rxvt加中文支持,也是在.Xresources里设置
看我的设置
  1. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  2. !! RXVT setting
  3. Rxvt.background:black
  4. Rxvt.foreground:white
  5. Rxvt.colorBD:yellow
  6. Rxvt.colorUL:green
  7. Rxvt.multichar_encoding:gb2312
  8. Rxvt.scrollBar:True
  9. Rxvt.scrollBar_right:True
  10. Rxvt.scrollBar_floating: False
  11. Rxvt.scrollstyle: next
  12. Rxvt.saveLines:1500
  13. Rxvt.color0:black
  14. Rxvt.color1:red
  15. Rxvt.color2:#3a5da3
  16. Rxvt.color3:#4b76cc
  17. Rxvt.color4:RoyalBlue4
  18. Rxvt.color4:#123f75
  19. Rxvt.color5:magenta
  20. Rxvt.color6:#a1b5dd
  21. Rxvt.color7:#8a95aa
  22. Rxvt.color8:#616668
  23. Rxvt.color9:#075982
  24. Rxvt.color10:#0f82bc
  25. Rxvt.color11:#13a9f4
  26. Rxvt.color12:SkyBlue2
  27. Rxvt.color12:#3d99c6
  28. Rxvt.color13:#63c2f2
  29. Rxvt.color14:#6caccc
  30. Rxvt.color15:#dbeff9
  31. Rxvt.font:7x14
  32. Rxvt.font:-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-iso8859-*
  33. Rxvt.mfont:-*-simsun-medium-r-normal-*-14-*-*-*-c-*-gb*-*
  34. Rxvt.menu:/etc/X11/rxvt.menu
  35. Rxvt.preeditType:Root
复制代码
 楼主| 发表于 2003-4-1 19:28:47 | 显示全部楼层
我ft了,.Xresources中加了
rxvt.background: black
rxvt.foreground: gray

rxvt 是黑底白字了,但是crxvt 还是白底黑字,吐血了...
发表于 2003-4-1 20:38:55 | 显示全部楼层
我用的是命令行,写了一个shell文件,里面只有一行:
crxvt-gb -bg black -fg white -geometry 99x34+0+0 -fm "-*-simsun-medium-r-normal-*-16-*-*-*-*-*-gb*-*" -fn 10x20 &
发表于 2003-4-1 23:29:51 | 显示全部楼层
faint......
try "Rxvt" instead of "rxvt"
 楼主| 发表于 2003-4-2 00:03:49 | 显示全部楼层
kao,吐血了,果然阿....
气死了....,尽然区分大小写...
 楼主| 发表于 2003-4-2 00:14:36 | 显示全部楼层
顺便再问一句
显示目录的字好象要比显示一般文件的字要粗
但是再控制台下的时候,好象是一样粗的

这个有没有办法改阿...
发表于 2003-4-2 10:10:57 | 显示全部楼层
是因为上了颜色的缘故吧
用ls --color=none看看,肯定是一样的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表