[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: man pages



Pablo Saratxaga <pablo@xxxxxxxxxxxxxxxx> さんは書きました:

>> Does anyone know what the most expedient way
>> is to make man pages readable under redhat 8
>> for ja_JP.UTF-8 ?
>
> You can make a script like this
>
> #!/bin/bash
> LC_ALL=ja_JP.EUC-JP
> man "$@" | iconv -f euc-jp -t utf-8 | less
>
> it may work, but you may also have problems with the "bold" and "underlined"
> portions of text. 

I have added a temporary workaround using iconv for that problem in
/usr/bin/nroff on SuSE Linux 8.1. With this workaround, Japanese man
pages display fine in ja_JP.UTF-8, including bold and underlined.

See attached /usr/bin/nroff script.

Attachment: nroff
Description: Binary data

-- 
Mike Fabian   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。