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