|
|
补充:用putty和直接在终端下都是一样的,装zhcon也没用(不过本来就不是GBK的问题)。
不知是否与曾错误设置LANG与LC有关(我用过空格作分格符,记得应该用逗号),现在有一部分man page存在优先级较高的错误版本。
从“TRANSBY LinuxForum.Net CMPP”推断是我装了个gb2312版的manpage,如何找到那个包? man也有LANG的选项吗?
例:
man man
man(1) man(1)
NAME
man - ae 1/4a1/4aa19|ae3/4cxoa"coca,(R)a(C)aeaeiu
manpath - a(R)a1c"ae.aeYae3/4manaeaeiuce. a3/4
ae>>eS
man [-acdfFhkKtwW] [-m c3>>c>>a] [-p <aaxcc"ao>] [-C
<ec1/2(R)aea>>9|>] [-M <e. a3/4>] [-P <aeueSae1a1/4>] [-S
<aoae(R)uae,a>] [aoae(R)uacSo] a,(R)a(C)a,>>ec ...
aeeco _
man ae 1/4a1/4aa19|ae3/4cxoa"coca,(R)a(C)aeaeiuecaaexcae~ae ae MANPATH
a i1/4MANi1/4PAGER c acaei1/4a ae-
xi1/4a1/2 a a>>YaeYaea1/2 eaa.+-ca,c3>>a man
aeaeiua19|a3a(R)a1/2cc"aaa,ac"aoaeYae3/4cxoae-
xae 1/4a1/4ceiuecaa|aea(R)a1aoaoae(R)ui1/4 man _
aoaaaeYae3/4a"aea(R)aoae(R)uacaeaeiLaa1/2 a1a a>>Yeeca1/2a>>xeiaec acaeaeYaea(R)aeYae3/4aoae(R)u
ceioaoaeca(R)a1aoe|aeSeicc"aoaa|aea,>>eca,-
aea/ac~|a.i1/4aaoa9|a1/2a,oaea>>9|aca,e"aaxc _
i1/4a1ao+-ae e 'a1/2 a a>>Yc" man ./foo.5 a1a a>>Yc" man
……………………………………
TRANSBY
LinuxForum.Net CMPP a,aeaeaeiue(R)ia http://cmpp.linuxforum.net
* Tue May 13 2003 aec1/2e" <solomen@email.com.cn>
- a,aecc>>'aexaoo a3/4ae <xuming@users.sourceforge.net>
September 2, 1995 man(1)
而man -a man可以看到第2个就是对应的正确版本:
man(1) man(1)
NAME
man - format and display the on-line manual pages
SYNOPSIS
man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file]
[-M pathlist] [-P pager] [-B browser] [-H htmlpager] [-S section_list]
[section] name ...
DESCRIPTION
man formats and displays the on-line manual pages. If you specify sec-
tion, man only looks in that section of the manual. name is normally
the name of the manual page, which is typically the name of a command,
…………………………………………………………………………
AUTHOR
John W. Eaton was the original author of man. Zeyd M. Ben-Halim
released man 1.2, and Andries Brouwer followed up with versions 1.3
thru 1.5p. Federico Lucifredi <flucifredi@acm.org> is the current
maintainer.
SEE ALSO
apropos(1), whatis(1), less(1), groff(1), man.conf(5).
September 19, 2005 man(1) |
|