|
发表于 2007-7-1 10:28:57
|
显示全部楼层
修改下/usr/share/misc/man.conf
- # Useful paths - note that COL should not be defined when
- # NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
- # not only is it superfluous, but it actually damages the output.
- # For use with utf-8, NROFF should be "nroff -mandoc" without -T option.
- # (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.)
- ...
- #NROFF /usr/bin/nroff -Tlatin1 -mandoc -c
- NROFF /usr/bin/nroff -mandoc -c
- ...
复制代码
定义下环境变量:
export LESSCHARSET=utf-8
export GROFF_ENCODING=utf-8
当然,最好是装上新些的groff,考虑到中文的手册寥寥,怕麻烦的话,装个新点的groff,直接用groof -Kutf8 -Tutf8 -man ??.1 来看好了
附件是arch里wmii下的截图,zh_CN.UTF-8的locale |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|