Simplified Chinese Solaris User's Guide

How to Set Locale Aliases for the C Shell

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


    alias chn_EUC "setenv LANG zh; /bin/stty cs8 -istrip defeucw"
    alias chn_GBK "setenv LANG zh.GBK; /bin/stty cs8 -istrip \defeucw"
    alias asc "setenv LANG C; /bin/stty cs7 istrip defeucw"
    alias chn_UTF-8 "setenv LANG=zh.UTF-8; /bin/stty cs8 -istrip defeucw"