Korean Solaris User's Guide

Setting the Default Locale

You can change your default locale with the following procedure. In the OpenWindows environment, a setting of ko.UTF-8 reverts to the C locale.

Graphic
  1. Choose the language button on the dtlogin window.

  2. Select the C, ko, or ko.UTF-8, ko_KR.EUC, ko_KR.UTF-8 or korean locale.

    Your new locale is in effect.

Using Aliases for Setting Locale

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.

Setting up Locale Aliases for the Korn Shell

  1. 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" 

Setting up Locale Aliases for the C Shell

  1. 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"