Files
StateGrid/install_shell/set_tcsh_encode.sh
swei 8155086a9d [Bug:2126] fix openoffice use scim imput
in disorder

      modified:   set_tcsh_encode.sh

    Signed-off-by: swei <swei@linx-info.com>
2014-12-25 17:12:11 +08:00

13 lines
258 B
Bash
Executable File

#!/bin/bash
if test "$1" != 'tcsh';then
exit
fi
if grep -q -v "LC_CTYPE" /etc/csh.cshrc;then
echo "setenv LC_CTYPE zh_CN.gb18030">>/etc/csh.cshrc
echo "setenv GTK_IM_MODULE scim">>/etc/csh.cshrc
echo "setenv LANG zh_CN.gb18030">>/etc/csh.cshrc
fi