Each user's environment variables and ~/.cshrc (in other words, $HOME/.cshrc) file command lines must be set as described in this section to use Korean text. You must make sure the following three .cshrc file features (and consequently the users' C shells) are set correctly before any user starts up the Korean OpenWindows environment.
The following three conditions are prerequisites to using the Korean OpenWindows environment:
OPENWINHOME shell variable set to the path to /usr/openwin
LANG shell-environment language-locale variable set for Korean
TTY mode set appropriately for Korean character codes
To set these features, make sure each user's .cshrc file includes the following lines:
setenv LANG ko setenv OPENWINHOME /usr/openwin set path=( /usr/SUNWale/bin $OPENWINHOME/bin $path ) ... if ($?USER != 0 && $?prompt != 0) then /bin/stty cs8 -istrip defeucw endif |
Only /bin/stty can set the required features. Do not use /usr/ucb/stty, as it does not set all required features.
Also, make sure each .cshrc file puts $OPENWINHOME/bin in the user's path before any other OpenWindows file. One way to ensure this is to put the following line in after other path assignments:
set path=(/usr/SUNWale/bin $OPENWINHOME/bin $path) |