简体中文 Solaris 用户指南

如何设置 Korn Shell 的语言环境别名

  1. .profile 文件中添加如下所示的别名。


    alias chn "export LANG=zh; /bin/stty cs8 -istrip defeucw"
    alias chn_GBK "export LANG=zh.GBK; /bin/stty cs8 -istrip \defeucw"
    alias asc "export LANG=C; /bin/stty cs7 istrip defeucw"
    alias chn "export LANG=zh; /bin/stty cs8 -istrip defeucw"