HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)

g
geocustoms(1M) geocustoms(1M)
NAME
geocustoms - configure system language on multi-language systems
SYNOPSIS
geocustoms[-l locale]
DESCRIPTION
The
geocustoms command manages default selection and retention/removal of multiple languages
installed on "ignited" (Instant Ignition) systems. The geocustoms
command is executed at first-boot
(see auto_parms (1M)) on ignited systems with multiple languages available. In subsequent sessions,
invoking the command
/usr/sbin/geocustoms
starts
geocustoms. When invoked with no options,
geocustoms runs interactively, either with a graphical display if the
DISPLAY environment parameter
is set and usable, otherwise with a terminal interface.
Options
-l locale Non-interactively set the
LANG parameter, and all other appropriate dependencies,
based on the value of locale . (To view all locales available on the system, run
locale
-a.) If the locale argument is not a valid option for the system, an error message is
issued and the graphical or terminal user interface (UI) appears, as if the
-l option
were not used.
If the argument to the
-l option is SET_NULL_LOCALE
, locale parameters are set to NULL by default.
A null locale causes programs to execute without using localized message catalogs, which can increase
system performance. All HP-UX messages appear in English if the locale is set to
NULL.
The
geocustoms command must be invoked by a user with appropriate privilege.
If
geocustoms is invoked directly by the user rather than automatically at first-boot, it might be neces-
sary to log out and log in again for language changes to take effect.
EXTERNAL INFLUENCES
Environment Parameters
The
geocustoms command writes default values to system configuration files for the following environ-
ment parameters: LANG, LC_ALL, LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC,
LC_TIME, and LC_MESSAGES.
International Code Set Support
Native Language Support (NLS)
If present, standard message catalogs reside in /usr/lib/nls and the geocustoms command uses
them. If standard message catalogs are not installed on the system, all messages appear in English,
which is standard NLS behavior.
All European languages for CDE (Common Desktop Environment) are supported. For HP-UX 11i Version
1 this includes English, French, German, Italian, Spanish and Swedish. All prompts and logging mes-
sages are localized.
Locale (Language Variant) names are always localized in accordance with standard NLS behavior.
Note: NLS is extended to allow multiple "fonts" at the same time on the initial
geocustoms graphical
screen through use of bitmapped images.
RETURN VALUES
0 Successful completion and/or clean exit from command.
1 Command unable to complete all objectives.
DIAGNOSTICS
Standard Output
The non-interactive
geocustoms command does not write to stdout.
Standard Error
The
geocustoms command writes to stderr and to /var/adm/sw/lang.log. It only writes to
stderr in case of command line error or a request for syntax (the conventional -? option). Any UI
error messages appear via an error window.
Section 1M260 Hewlett-Packard Company 1 HP-UX 11i Version 2: September 2004