Enabling Manual Pages
The online manual pages for the product are installed to
/usr/lpp/ssh2/man
. If you want your USS manual page tool
(/bin/man
) to be able to find the new manual pages, you will
have to perform the following environment setup.
If you want to have the manual pages visible to all USS shell users, you must edit system-wide configuration files:
- Add the following lines to file
/etc/profile
:
if test X$MANPATH = X ; then
MANPATH="/usr/man/%L"
fi
MANPATH="/usr/lpp/ssh2/man/%L:$MANPATH"
export MANPATH
|
- Add the following lines to file
/etc/cshrc
:
if (! $?MANPATH) setenv MANPATH "/usr/man/%L"
setenv MANPATH "/usr/lpp/ssh2/man/%L:$MANPATH"
|
If you want to have the manual pages visible to just one user, you must
edit two files in the user's home directory:
- Add the following lines to
.profile
in the user's home directory:
if test X$MANPATH = X ; then
MANPATH="/usr/man/%L"
fi
MANPATH="/usr/lpp/ssh2/man/%L:$MANPATH"
export MANPATH
|
- Add the following lines to file
.cshrc
in the user's home directory:
if (! $?MANPATH) setenv MANPATH "/usr/man/%L"
setenv MANPATH "/usr/lpp/ssh2/man/%L:$MANPATH"
|