HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man5/!!!intro.5
________________________________________________________________
___ ___
e
environ(5) environ(5)
4. If the LANG environment variable is not set or is set to the empty string, the POSIX/C
default locale is used. (See lang(5).)
LC_COLLATE
Determines the locale category for character collation. It determines collation information for
regular expressions and sorting, including equivalence classes and multi-character collating
elements, in various utilities and strcoll(3C) and strxfrm(3C) (see string(3C)).
LC_CTYPE Determines the locale category for character classification (such as alphabetic, digit, upper-
case.) See isalpha(3C), isdigit(3C), and isupper(3C), character conversion in ctype(3C). See
toupper(3C), tolower(3C), and the interpretation of text as single-byte or multi-byte characters
in conv(3C).
LC_MESSAGES
Determines the locale category for processing affirmative and negative responses and the
language and cultural conventions in which diagnostic and informative messages should be
written. It may also affect the behavior of catopen(3C) in determining the message catalog to
open.
LC_MONETARY
Determines the locale category for monetary-related numeric formatting information.
LC_NUMERIC
Determines the locale category for numeric formatting information (such as the thousands
separator and the radix character) in various utilities as well as the formatted I/O operations
in printf(3S) and scanf(3S) and the string conversion functions in strtod(3C).
LC_TIME Determines the locale category for date and time formatting information. It affects the
behavior of time functions in strftime(3C).
MANPATH Contains a colon-separated list of directory prefixes to be searched by man(1) for manual
entries. Upon logging in,
/etc/profile (or /etc/csh.login
) sets
MANPATH
=/usr/share/man:/usr/contrib/man:usr/local/man
. If the file
/etc/MANPATH exists, the default settings are taken from this file.
MANPATH uses the same syntax as the PATH
environment variable, with the addition of recog-
nizing the specifiers
%L, %l, %t, and %c as used in the NLSPATH
environment variable. See
NLSPATH below for a description of these specifiers. This provides a way to specify paths to
locale-specific manual entries.
It is assumed that each of the prefixes given in MANPATH
contain subdirectories of the form
man, man.Z, cat and cat.Z. (See man(1), catman(1M), and fixman(1M).)
NLSPATH Contains a sequence of pseudo-pathnames used by catopen(3C) when attempting to locate mes-
sage catalogs. Each pseudo-pathname contains a name template consisting of an optional path
prefix, one or more substitution field descriptors, a file name and an optional file name sufx.
For example:
NLSPATH="/system/nlslib/%N.cat"
defines that catopen(3C) should look for all message catalogs in the directory
/system/nlslib , where the catalog name should be constructed from the name parame-
ter passed to catopen (3C) (%N) with the suffix
.cat.
Field descriptors consist of a % followed by a single character. Field descriptors and their sub-
stitution values are:
%N The value of the name parameter passed to catopen(3C).
%L The value of LC_MESSAGES.
%l The language element from LC_MESSAGES.
%t The territory element from LC_MESSAGES.
%c The codeset element from LC_MESSAGES.
%% Replaced by a single %.
For example, given:
NLSPATH="/system/nlslib/%L/%N.cat"
catopen(3C) attempts to open the file /system/nlslib/
$LC_MESSAGES/name.cat as a
message catalog.
Section 548 2 HP-UX Release 11i: December 2000
___
___