Korean Solaris User's Guide

Chapter 2 Starting the Korean Solaris Software

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:

Setting the Default Locale

You can change your default locale with the following procedure.Graphic

  1. Choose the language button on the dtlogin window.

  2. Select the C, ko, or ko.UTF-8, ko_KR.UTF-8 or ko_KR.EUC 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" 

Changing Font Directories

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