HP-UX Reference (11i v2 04/09) - 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.If
LC_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 adja-
cent 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
terminal.
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, summer time does not apply in this locale. 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 :
hh
[:mm[:ss]]
Hour (hh) is any value from 0 through 23. The optional minutes (mm) and
seconds (ss) fields are a value from 0 through 59. The hour field is required. If
offset is preceded by a -, the time zone is east of the Prime Meridian. A +
preceding offset indicates that the time zone is west of the Prime Meridian. The
default case is west of the Prime Meridian.
HP-UX 11i Version 2: September 2004 − 3 − Hewlett-Packard Company Section 5−−107