한국어 Solaris 사용 설명서

로켈 설정의 별명 사용

긴 명령 행을 매번 입력하거나 .dtlogin 파일을 편집하고 source를 실행하지 않고, 별명을 사용하여 때때로 한국어 로켈과 ASCII/영어 로켈 사이의 터미널-에뮬레이션 창을 변경할 수 있습니다.

Korn 셸에 로켈 별명 설정

  1. .profile 파일에 다음과 같은 별명을 설정합니다.


    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" 

C 셸에 로켈 별명 설정

  1. .cshrc 파일에 다음과 같은 별명을 설정합니다.


    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"