Installation guide
2. Create subdirectories in the /etc/nls directory.
Programs search for the message catalogs in the /etc/nls/msg/
%L
directory, where
%L
represents the currently defined locale. You must
create the msg/
%L
subdirectories. For example, suppose you want to
use message catalogs for French as it is spoken in Canada. Enter the
following commands to create subdirectories:
% cd /etc/nls
% mkdir -p msg/fr_CA.88591
3. Copy to the /etc directory the message catalogs and locale databases
for the language and commands you want to use.
For example, suppose you want to use French as it is spoken in
Canada when you are in single-user mode. Suppose that someone has
translated the system-supplied message catalogs and has stored them
in the /usr/lib/nls/msg/fr_CA.88591 directory. In this case, you
would enter the following cp commands:
% cp /usr/lib/nls/loc/fr_CA.88591 /etc/nls/loc/fr_CA.88591
% cp /usr/lib/nls/loc/fr_CA.88591.en \
/etc/nls/loc/fr_CA.88591.en
% cp /usr/lib/nls/msg/fr_CA.8859/* /etc/nls/msg/fr_CA.8859/.
The first cp command copies the French-Canadian character database,
the second command copies the environment database, and the third
command copies the message catalogs. Delete any message catalogs
from the /etc/nls/msg/fr_CA.8859 directory that do not correspond
to an /sbin command. This frees up space in the root partition.
4. Announce to the system that you want to use the French-Canadian
locale when you are in single-user mode. To do this, define the LANG
environment variable as follows:
% setenv LANG fr_CA.88591
You can also set the LANG variable in root’s .profile file or shell
resource file.
5.7 Configuring the inetd Daemon for ULTRIX
Compatibility
Both DIGITAL UNIX and ULTRIX systems include the /etc/inetd.conf
file, which contains information for the inetd daemon. The inetd daemon
is the Internet service daemon.
The DIGITAL UNIX inetd.conf file contains a new field. The following
list describes the fields in the DIGITAL UNIX inetd.conf file:
•
ServiceName
, which names one of the services in the /etc/services
file.
5–10 Migrating Your ULTRIX System and Network Environment