Previous | Table of Contents | Next |
The LANG and LC environment variables specify the locale-specific conversions and conventions for the shell, such as time zones, collation order, format of dates, time, currency, and numbers. In addition, you can use the stty command in a user initialization file to set whether the system supports multibyte characters.
LANG sets all possible conversions and conventions for the given locale. If you have special needs, you can set various aspects of localization separately by using the following LC variables:
Table 1-9 lists the values for the LANG and LC environment variables.
Value | Locale |
---|---|
DE | German |
FR | French |
ISO_8859_1 | English and European |
IT | Italian |
JAPANESE | Japanese |
KOREAN | Korean |
SV | Swedish |
TCHINESE | Taiwanese |
Other environment variables include:
Users and system administrators can define additional variables for their own use. When you define an environment variable from a shell command, the variable remains in effect while you remain in the shell. When you exit the shell, the environment variable is not retained. Store "permanent" environment variables that are likely to be used during each login session in the .profile, .login, or .cshrc file. The syntax for defining environment variables depends on the shell.
The Common Desktop Environment (CDE) has its own set of environment variables. Desktop search paths are created at login by the desktop utility dtsearchpath. The dtsearchpath utility uses a combination of environment variables and built-in locations to create the search paths.
The environment variables that dtsearchpath reads are called input variables. These are variables set by the system administrator or end user. The input variables use the naming convention DTSP*.
When dtsearchpath runs at login, it assembles the values assigned to these variables, adds built-in locations, and creates values for output variables. Each search path has an output variable, as shown in Table 1-10
Search Path | Output Environment Variable | Systemwide Input Variable | Personal Input Variable |
---|---|---|---|
Applications | DTAPPSEARCHPATH | DTSPSYSAPPHOSTS | DTSPUSERAPPHOSTS |
Database (actions, data types, and front panel definitions) | DTDATABASESEARCHPATH | DTSPSYSDATABASEHOSTS | DTSPUSERDATABASEHOSTS |
Icons | XMICONSEARCHPATH, XMICONBMSEARCHPATH | DTSPSYSICON | DTSPUSERICON |
Help data | DTHELPSEARCHPATH | DTSPSYSHELP | DTSPUSERHELP |
CDE components use the values of the output variables. For example, Application Manager uses the value of the application search path (DTAPPSEARCHPATH) to locate application groups. For more information about CDE, refer to Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide.
Previous | Table of Contents | Next |