HP 9000 User Manual page 41

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

3
Setting your Environment
If the local system default values are not satisfactory, you can use the
locale
you need by setting the environment variables appropriately.
For example, if you need a French locale, run the Bourne or Korn shell
commands:
LANG=french ; export LANG
This is equivalent to the C shell command:
setenv LANG french
Add these commands to your .
profile
or .
login
file so that your preferred
environment will be set when you log in.
If you will be running applications that need an NLS environment different
from the system default and different from your individual environment, create
a shell script that sets the environment variables as needed for the application.
For example, to run the command
prog
in a special NLS environment, the
following
sh
script could be used:
: #
run prog
#
set special NLS environment for prog
LANG=english ; export LANG
LC_TIME=italian ; export LC_TIME
LC_MONETARY=german ; export LC_MONETARY
LC_NUMERIC=french ; export LC_NUMERIC
#
run prog
prog file1 file2
Such a script could be installed by your system administrator in
/usr/bin
and
used to invoke your program as well as saving time in setting a special NLS
environment.
3-4
Using International Software

Advertisement

Table of Contents
loading

Table of Contents