Hi,all
[EMAIL PROTECTED] [EMAIL PROTECTED]
我想通過編輯 ~/.bashrc 使得當啟動crxvt-gb時,它的locale自動設為zh_CN.GB2312;
當啟動crxvt-big5時,它的locale自動設為zh_TW.Big5;當啟動krxvt時,它的locale自動
設為ja_JP.eucJP, etc. [EMAIL PROTECTED],然而我發現
這三個終端的$TERM值都是rxvt. [EMAIL PROTECTED]

wen> I hope to edit a ~/.bashrc so that it can set a locale for each terminal 
wen> accoding to the enviroment variable $TERM automaticaly. i.e. xterm-->C, 
wen> crxvt-gb-->zh_CN.GB2312, crxvt-big5-->zh_TW.Big5, krxvt-->ja_JP.eucJP, etc.
wen> But I find all the $TERM of crxvt-gb, crxvt-big5 and krxvt have the same 
value
wen> "rxvt". Could someone tell me how to distinguish them by a bourne shell.
wen> 
wen> Regards,
wen> 
wen> --Wen
wen> [EMAIL PROTECTED]

-- 
| This message was re-posted from [email protected]
| and converted from gb2312 to big5 by an automatic gateway.


回复