Simplified Chinese Solaris User's Guide

How to Set Locale Aliases for the Korn Shell

  1. Put aliases such as the following in your .profile file.


    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"