Before you log in, your system administrator should set your required user environment variables and corresponding entries in the .cshrc file in your home directory. These system environment variables are essential to using Traditional Chinese features.
System environment variables need to be set by your system administrator in your .cshrc file. Therefore, the first time you log in, before you start OpenWindows for the first time, check to make sure there are lines such as the following in the .cshrc file in your home directory:
setenv LANG zh_TW setenv OPENWINHOME /usr/openwin set path=( /usr/SUNWale/bin $OPENWINHOME/bin $path ) ... if ($?USER != 0 && $?prompt != 0) then /bin/stty cs8 -istrip defeucw endif
If these lines are not present or are different, contact your system administrator. If you are your own system administrator or an advanced user, refer to Traditional Chinese Solaris System Administrator's Guide for further information on setting up your system.
If you have a .openwin-init file in your home directory and might use the Traditional Chinese character input facilities, make sure this file contains an htt command, as described in "How and When htt Is Started" on page 15.
If your system has a .xinitrc file in your home directory, make sure it contains at least the lines provided in Traditional Chinese Solaris $OPENWINHOME/lib/Xinitrc file.
After verifying that your system administrator has set your user environment correctly for Traditional Chinese language operation, you are ready to start your Chinese OpenWindows environment as follows:
Type the following command at the system prompt:
The Traditional Chinese OpenWindows Workspace Properties worksheet contains a localization field. To change the language setting for the next OpenWindows tools you start:
Choose Properties... on the main window Workspace menu.
The following screenshots show the English and Traditional Chinese versions of the Workspace Properties worksheet:
You can set the display and input mechanisms of the Traditional Chinese OpenWindows environment by using the Locale field in the Workspace Properties worksheet. You can switch between the U.S. and the Chinese setting.
The Locale setting determines which characters (ASCII, Traditional Chinese) appear in new tool windows when they are started. Changing the locale does not affect the appearance or operation of tool windows that were started up before the change.
Access the Workspace Properties Locale worksheet.
Change the Locale setting by choosing U.S.A. or Chinese on the Basic Locale menu.
The English version of the menu is on the left and the Traditional Chinese equivalent is on the right. (In this example the Chinese locale is selected).
Clicking Apply applies these settings and overwrites your current .OWdefaults file. OpenWindows uses the information in this file to start your applications. For a description of the contents and functions of the .OWdefaults file, refer to Traditional Chinese Solaris System Administrator's Guide.