NetBSD:/etc/man.conf man検索パスが機能しません。

NetBSD:/etc/man.conf man検索パスが機能しません。

新しいマニュアルページディレクトリを追加しました

/usr/local/share/man/man1b

次のファイルが含まれています

troff.1b

/etc/man.confに追加しました。

_subdir ...some names... man1b
_default /usr/{share,X11R7,X11R6,pkg,local,local/share}/man/
local /usr/local/share/man/
1b {cat,man}1b

人-p印刷

...
/usr/local/share/man/man1b

しかし、私が入力すると

man 1b troff

エラーメッセージが表示されます

man: no entry for troff in the manual.

(使用できませんマントロフ~から小さな森また、cat1の他の場所からマニュアルページを介してインストールされます。 )

人のパスを正しく追加するには?

PS:ファイル名を次のように変更するとトロブ.1それから男1bトロブ働くしかし、カテゴリがファイル拡張子になる可能性があると思いました。 NetBSD(ファイル名)のバグですか?trov.1bOpenBSDとLinuxの場合)?

ベストアンサー1

MANPATH 環境変数の更新が必要な場合があります。少なくともこの場合はそうしました。

$ export MANPATH=/usr/local/share/man/

マニュアルページで(manの場合):

   MANPATH
          If MANPATH is set, man uses it as the path to search
          for manual page files.  It overrides the configuration
          file and the automatic search path, but is overridden by
          the -M invocation option. See SEARCH PATH FOR MANUAL PAGES.

おすすめ記事