Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)
When the MANPATH variable is not defined, the man command searches directories in the following
order:
/usr/share/man/man*
/usr/local/man/man*
/usr/share/man/cat*
/usr/local/man/cat*
nroff Formatting Tool
Beginning with the J06.16 and H06.27 RVUs, the nroff formatting tool is available with the OSS
Core Utilities product. If you are using the man utility prior to version T8626H04^ADQ, to use
nroff, create a symbolic link to /bin/nroff from it using the command:
ln –s /usr/coreutils/bin/nroff /bin/nroff
This symbolic link enables the OSS man command to invoke the nroff formatting tool to
automatically render formatted reference pages from unformatted source files. On RVUs earlier
than J06.16 and H06.27, in which the nroff tool is not available, an attempt to read a reference
page from an unformatted source file results in the following error message:
Nroff/troff is not currently installed, this must be
installed in order to use formatted man pages.
On RVUs earlier than J06.16 and H06.27, HP does not ship unformatted source files in /usr/
share/man/man*. However, if that set of directories is used, similar man command behavior
occurs.
For details about the nroff utility, see the nroff(1) reference page.
For OSS Core Utilities details, see “OSS Core Utilities User Commands” (page 243).
Using the /etc/profile File Instead of a motd Command
You can also use the /etc/profile file to send a message to all users when they log in. You
can inform them of new features, projected downtime, or any other matter that you think they
should know. To do so, include a line in the /etc/profile file such as:
echo "message"
where message is the message you want to send. You must include the quotation marks.
If this command line is in the /etc/profile file, then each time a user logs in to the OSS
environment, the echo command is executed and the message appears on the user’s terminal.
Localizing Software
You can use the localization environment variables in:
• An /etc/profile file to customize the behavior of all compatible applications launched
from an OSS shell for a specific locale
• A default .profile file to customize the behavior of all compatible applications launched
from a specific user’s OSS shell for a specific locale
You can use a different locale value for each environment variable in either file. The values for
these variables are inherited by all the child processes for that shell.
The localization environment variables are listed in Table 14 (page 239), along with their meanings
and default values.
The version of the OSS shell released by HP fully supports only the default C locale. That is, HP
does not provide message catalogs for OSS shell commands and utilities when nondefault locales
are used. Nondefault values for localization environment variables should be used only after testing.
238 Managing With the Shell