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

[plamo:03637] Japanese man error



こんにちは
日本語の man についての質問です。

ソフトウェアデザイン7月号付録の Plamo1.4.4 をインストールしているので
すが、日本語マニュアルが使えません。同じ CD をお使いの方、man で日本語
マニュアルが表示されるでしょうか。(私が何か忘れものをしているのか、そ
れとも何かの理由で表示されなくなっているのかな)

以下のことを調べてみました。
kterm でman コマンドを使うと、
WARNING: terminal is not fully functional
 というエラーになるのですが、
man の日本語設定ではなくて、
terminal is not fully functional
というのはどういうことだろうか。


/usr/man に man はインストールされています。

たとえば
man man などと入力すると
次のようなエラーが出て日本語マニュアルが表示されない。

jeanne:/usr/man/man1$ man grep
WARNING: terminal is not fully functional

-  (press RETURN)<standard input>:4: warning: can't find character with input code 204
<standard input>:4: warning: can't find character with input code 190
<standard input>:4: warning: can't find character with input code 206

jman のページからロードした
INSTALL ファイルのなかに5) トラブル・シューティングがあったので、
やってみました。

イ) 端末の漢字モード
kterm ならば 「Ctrl キー」 +「マウスの中ボタン」で出る
メニューで "Japanese EUC mode" になっているか

そのようになってます。

 ロ) 日本語 less コマンドのインストール
less  version 332+iso248

 ハ) less の設定
less  で普通の日本語ファイルを見ることができるか

たとえば INSTALL ファイルを見ることができます。
less INSTALL で次のように表示できます。
------------------
Date: 1998-12-24
Name: man-pages-ja-0.4/INSTALL

            ==========================================
            日本語マニュアル・ページのインストール方法
            ==========================================
----------------

 ニ) 日本語 groff コマンドのインストール
groff -V -Tnippon  を実行してみて

このように表示される。
troff -Tnippon | grotty

 ホ) LANG 環境変数
printenv LANG など
     で LANG 環境変数が正しく ja_JP.ujis になっているか確認

jeanne:~$ printenv LANG
ja_JP.ujis

 ヘ) 日本語 man コマンドのインストール
jeanne:~$  man -h
man, version 1.5f
以下英文のヘルプ情報がでる。

jeanne:~$ man -d ls
Reading config file /etc/man.conf
found man directory /usr/man
found man directory /usr/local/man
found man directory /usr/X11R6/man
found man directory /usr/lib/perl5/man
found manpath map /bin --> /usr/man
found manpath map /sbin --> /usr/man
found manpath map /usr/bin --> /usr/man
found manpath map /usr/sbin --> /usr/man
found manpath map /usr/local/bin --> /usr/local/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found manpath map /usr/bin/X11 --> /usr/X11R6/man
found manpath map /usr/bin/mh --> /usr/man

using /usr/bin/less -is as pager
adding /usr/local/man/ja_JP.ujis to manpath
adding /usr/local/man to manpath
adding /usr/man/preformat to manpath
adding /usr/man/ja_JP.ujis to manpath
adding /usr/man to manpath
adding /usr/X11R6/man/ja_JP.ujis to manpath
adding /usr/X11R6/man to manpath
adding /usr/openwin/man to manpath
will try to write /var/catman/ja_JP.ujis/cat1/ls.1.gz if needed
status from is_newer() = -2
using default preprocessor sequence
found tbl(1) directive

not executing command:
  (cd /usr/man/ja_JP.ujis ; (echo -e ".pl 1100i"; /bin/gunzip -c /usr/man/ja_JP.ujis/man1/ls.1.gz; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/groff -Tnippon -mandocj | /usr/bin/less -is)
---------------------------------------------

中谷千絵

Follow-Ups
[plamo:03638] Re: Japanese man error, Kazuyoshi KOREEDA
[plamo:03640] Re: Japanese man error, Yohei Osaki
References
[plamo:03636] Re: MELCO LGY-PCI-TR, cyber205

[検索ページ] [メール一覧]
Plamo ML 公開システム