1. 日本語マニュアル関連コマンド群インストール
# cd /usr/ports/japanese/man
# make install
===> Registering installation for ja-man-1.1j_5
===> SECURITY REPORT:
This port has installed the following binaries which execute with
increased privileges.
/usr/local/bin/jman
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
/usr/ports/japanese/man@tiesto# make clean
===> Cleaning for ja-groff-1.18.1_10
===> Cleaning for ja-less+iso-382.262
===> Cleaning for gmake-3.81_1
===> Cleaning for libiconv-1.9.2_2
===> Cleaning for netpbm-10.26.29
===> Cleaning for gettext-0.14.5_2
===> Cleaning for perl-5.8.8
===> Cleaning for tiff-3.8.2
===> Cleaning for jpeg-6b_4
===> Cleaning for png-1.2.8_3
===> Cleaning for jbigkit-1.6
===> Cleaning for libtool-1.5.22_2
===> Cleaning for ja-man-1.1j_5
# make clean
# rehash
2. 日本語マニュアルpackage のインストール
# pkg_add ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/packages-5.4.0/ja-man-doc-5.4.tbz
Fetching ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/packages-5.4.0/ja-man-doc-5.4.tbz... Done.
***********************************************************************
* Japanese online manual has been successfully installed. *
* *
* (1) To read jman(1), use the following command sequence: *
* % setenv LC_CTYPE ja_JP.eucJP *
* % setenv PAGER jless *
* % jman jman *
* *
* (2) For more info, please visit following web page (Japanese): *
* Jpman project *
* *
* (3) If you have any questions, comments, bug reports, suggestions, *
* and/or requests for modifications, please send e-mail to: *
* Jpman project mailing list *
* *
***********************************************************************
3. 環境変数設定
使っているシェルが csh, tcsh の場合:
% setenv LC_CTYPE ja_JP.eucJP
% setenv PAGER jless
% jman jman
使っているシェルが sh, bash, ksh, zsh の場合:
$ export LC_CTYPE=ja_JP.eucJP
$ export PAGER=jless
$ jman jman
$ jman jmanpath
$ jman jwhatis
$ jman japropos
$ jman jcatman
$ jman jmakewhatis
Posted: 7月 2nd, 2006 under FreeBSD.
Comments: none