diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-18 16:36:10 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-18 16:36:10 +0000 |
commit | cfc45d608bb0d01626f255b82e0b1f7542b402bb (patch) | |
tree | 3974cda23346f4da8472a03e13242b94ece8588e /lang.csh | |
parent | 83b95499a13a81fa44a39fa686d8f97c987a06c9 (diff) | |
download | initscripts-cfc45d608bb0d01626f255b82e0b1f7542b402bb.tar initscripts-cfc45d608bb0d01626f255b82e0b1f7542b402bb.tar.gz initscripts-cfc45d608bb0d01626f255b82e0b1f7542b402bb.tar.bz2 initscripts-cfc45d608bb0d01626f255b82e0b1f7542b402bb.tar.xz initscripts-cfc45d608bb0d01626f255b82e0b1f7542b402bb.zip |
blacklist CJKI on the virtual console (#120819)
Diffstat (limited to 'lang.csh')
-rwxr-xr-x | lang.csh | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -71,6 +71,16 @@ if ($sourced == 1) then if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( "$consoletype" == "vt" ) then + switch ($LANG) + case en_IN*: + breaksw + case ja*: + case ko*: + case zh*: + case *_IN*: + setenv LANG en_US.UTF-8 + breaksw + endsw if ( -x /bin/unicode_start ) then if { /sbin/consoletype fg } then if ( $?SYSFONT ) then @@ -90,6 +100,16 @@ if ($sourced == 1) then if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( "$consoletype" == "vt" ) then + switch ($LANG) + case en_IN*: + breaksw + case ja*: + case ko*: + case zh*: + case *_IN*: + setenv LANG en_US + breaksw + endsw if ( -x /bin/unicode_stop ) then if { /sbin/consoletype fg } then /bin/unicode_stop |