您可以使用下面的程序變更您的內定區域環境。
您可以使用別名,在繁體中文和ASCII/英語區域環境之間,變換終端機模擬視窗,而不須鍵入冗長的指令行,也不須編輯您的.dtlogin檔案並每次執行source。
在您的.profile檔案中將別名放置如下:
alias twn_EUC "export LANG=zh_TW; /bin/stty cs8 -istrip defeucw" twn_BIG5 "export LANG=zh_TW.BIG5; /bin/stty cs8 -istrip \ defeucw" alias asc "export LANG=C; /bin/stty cs7 istrip defeucw" |
在您的.cshrc檔案中將別名放置如下:
alias twn_EUC "setenv LANG zh_TW; /bin/stty cs8 -istrip defeucw" alias twn_BIG5 "setenv LANG zh_TW.BIG5; /bin/stty cs8 -istrip defeucw" alias asc "setenv LANG C; /bin/stty cs7 istrip defeucw" |