HP-UX Reference (11i v3 07/02) - 5 Miscellaneous Topics (vol 9)

e
environ(5) environ(5)
catopen(3C) attempts to open the file
/system/nlslib/$LC_MESSAGES/
name.cat as
a message catalog.
A null string is substituted if the specified value is not defined. Separators are not included in
%t and %c substitutions. Note that a default value is not supplied for
%L.IfLC_MESSAGES
is not set and NLSPATH had the value in the previous example, catopen(3C) would attempt to
open the file
/system/nlslib/
name.cat as a message catalog.
Path names defined in
NLSPATH are separated by colons (:). A leading colon or two adjacent
colons (
::) is equivalent to specifying
%N. For example, given:
NLSPATH=":%N.cat:/nlslib/%L/%N.cat"
catopen(3C) with the oflag parameter set to
NL_CAT_LOCALE will attempt to open the fol-
lowing files in the indicated order:
./
name, ./name.cat, and
/nlslib/$LC_MESSAGES/
name.cat. The first file successfully opened is taken as the
message catalog.
A default pseudo-pathname defined by the system is effectively appended to
NLSPATH and
used by catopen(3C) whenever a message catalog cannot be opened in any of the user defined
pseudo-pathnames. This system-wide default path is:
/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/%l/%t/%c/%N.cat
If catopen(3C) is invoked from a setuid or setgid application with owner root, the
environment variable NLSPATH is not used. Instead the system file
/etc/default/nlspath
is used to locate the message catalogs. See nlspath(4) for
details.
PAGER PAGER indicates the paginator through which output from certain commands is piped. Its
value must be a string specifying the complete command line of the desired paginator. Two
examples are:
PAGER="more -cs"
PAGER="pg -c"
PAGER
affects several commands, including man(1) and the interactive mailers. Some of the
affected commands provide alternate means of selecting a pager in case there is a conflict. See
the individual manual entries for details.
PATH PATH indicates the sequence of directory prefixes that sh(1), time(1), nice(1), nohup(1), and
others search when looking for a file known by an incomplete path name. Prefixes are
separated by colons (
:). The login(1) command sets PATH/usr/bin .
TERM TERM identifies the kind of terminal for which output is to be prepared. This information is
used by commands such as vi(1) and mm(1), which can exploit special capabilities of that ter-
minal.
TZ TZ sets time zone information. TZ can be set using the format:
[:]STDoffset[DST[offset][,rule
]]
where:
STD and DST
Three or more bytes that designate the standard time zone (STD) and summer (or
daylight-savings) time zone (DST). STD is required. If DST is not specified, sum-
mer time does not apply in this locale. Each of these fields may occur in either of
two formats quoted or unquoted.
In the quoted form, the first character shall be the less-than (<) character and the
last character shall be the greater-than (>) character. All characters between
these quoting characters shall be alphanumeric characters from the portable char-
acter set in the current locale, the plus-sign (+) character, or the minus-sign (-)
character. The STD and DST fields in this case shall not include the quoting
characters.
In the unquoted form, any characters other than digits, comma (,), minus (-),
plus (+), or ASCII NUL are allowed.
offset offset is the value that must be added to local time to arrive at Coordinated
Universal Time (UTC). Offset is of the form :
HP-UX 11i Version 3: February 2007 3 Hewlett-Packard Company 137