The Korean Solaris operating environment must be specially set up for using Korean text facilities. This chapter describes the steps required to set up the Korean environment and to start Korean Solaris operation.
The Korean Solaris product includes three locales:
C - ASCII English environment.
ko - Korean extended UNIX code (EUC). This locale supports the KS C-5601-1992.3 standard. KS C 5601-1992.3 is based on ISO-2022; Extended UNIX Code is a reformatting of ISO-2022. You may find it more convenient to run this Korean locale if you use current Korean Solaris applications.
ko.UTF-8 - Korean Universal Multiple Octet Coded Character Set (UCS) Transmission Format. This locale supports the KS C-5700 standard, which was announced by the Korean government in December 1995. If you are a developer or advanced user and need access to a larger number of characters, Unicode, or KS C 5700 support, run this locale.
ko_KR.EUC - This is the same as ko locale. A symbolic link.
ko_KR.UTF-8 - This is the same as ko.UTF-8 locale. A symbolic link.
You can change your default locale with the following procedure.
Choose the language button on the dtlogin window.
Select the C, ko, or ko.UTF-8, ko_KR.UTF-8 or ko_KR.EUC locale.
Your new locale is in effect.
You can use aliases to change a terminal-emulation window between the Korean locales and ASCII/English locale from time to time without typing long command lines or editing your .dtlogin file and running source every time.
Put aliases like the following in your .profile file.
alias kor_EUC "export LANG=ko; /bin/stty cs8 -istrip defeucw" alias kor_UTF "export LANG=ko.UTF-8; /bin/stty cs8 -istrip \defeucw" alias asc "export LANG=C; /bin/stty cs7 istrip defeucw"
Put aliases like the following in your .cshrc file.
alias kor_EUC "setenv LANG ko; /bin/stty cs8 -istrip defeucw" alias kor_UTF "setenv LANG ko.UTF-8; /bin/stty cs8 -istrip \defeucw" alias asc "setenv LANG C; /bin/stty cs7 istrip defeucw"
The Xsession script (located in /usr/dt/bin) that comes with the Korean Solaris operating environment includes the following font path: /usr/openwin/lib/locale/locale/X11/fonts, where locale is either ko or ko.UTF-8. To add a different font directory path dynamically, type:
system% xset +fp font_directory-path system% xset fp rehash