You can change the default locale system-wide with the following procedure.
Edit the /etc/default/init file by adding or changing the line.
Substitute C, ko, or ko.UTF-8 for locale.
LANG=locale |
Have all users exit CDE.
Type the following commands:
% su # /usr/dt/bin/dtconfig -kill |
Type the following commands:
% su # reboot |
The terms locale and category relate to each other as follows:
A locale includes specification of a language, territory, code set, and other features. The Korean Solaris operating environment includes three locales:
C--For the ASCII English environment, locale must be set to C.
ko--For the Korean environment in EUC, locale must be set to ko.
ko.UTF-8--For the Korean environment in UTF-8, locale must be set to ko.UTF-8.
A category is a set of features that comprise a locale, such as character displays or time/date representations, whose behavior depends on the locale. Korean Solaris categories include the following:
LC_CTYPE sets the character-type for classification and conversion.
LC_TIME sets the locale for representation of date and time.
LC_NUMERIC sets the number representation locale (used also for inpout and output).
LC_MONETARY sets the currency representation locale.
LC_MESSAGES sets the language locale for messages to users.
LC_COLLATE sets the locale-dependent collation of strings.
The environmental variable LC_ALL explicitly sets the same locale for all categories; it has the highest priority. If categories or LC_ALL aren't set, the LANG environmental variable will determine the category setting.
In reference to the Korean window system input server, the keybinding process links certain keys on the keyboard with certain actions by an application. You can keybind a complex action by an application, such as closing an application's open windows, to a single key or sequence of keys like Control-H or Esc w c.
All input conversion mode Control-key commands associated with non-ASCII input conversion are set in /usr/lib/mle/ko/keybind.dat and /usr/lib/mle/ko.UTF-8/keybind.dat, depending upon the locale setting. The default commands are listed in the table at the end of Chapter 4, "Entering Korean Input," in Korean Solaris User's Guide.
Keybindings can be changed by changing the names of the keys in keybind.dat and restarting the htt input server. You can create and use your own customized keybind.dat file as follows:
Create a customized copy named keybind.dat in another directory.
Set the environment variable MLE_PATH to the path name of the directory containing this customized file.
Start the input server.
The directory set in MLE_PATH is searched for an instance of the keybind.dat file and the commands in that file are set for the user.
If MLE_PATH is not set or does not contain a usable keybind.dat file, /usr/lib/mle/ko/keybind.dat or /usr/lib/mle/ko.UTF-8/keybind.dat is used, according to the locale.
To change the keybindings, edit the keybinding file to replace default keys with new keys. Key combinations and ON/OFF toggling can also be used.