diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-18 16:36:43 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-18 16:36:43 +0000 |
commit | 1c7bb9d0af3934db9d2761c64ae8745f999ac4dd (patch) | |
tree | f9c376aedef1fd3a77d319a0ce52edebc8aa11c9 /lang.csh | |
parent | 58aa59f9310ece2e13f4ae14d8536b5dd580eb37 (diff) | |
download | initscripts-1c7bb9d0af3934db9d2761c64ae8745f999ac4dd.tar initscripts-1c7bb9d0af3934db9d2761c64ae8745f999ac4dd.tar.gz initscripts-1c7bb9d0af3934db9d2761c64ae8745f999ac4dd.tar.bz2 initscripts-1c7bb9d0af3934db9d2761c64ae8745f999ac4dd.tar.xz initscripts-1c7bb9d0af3934db9d2761c64ae8745f999ac4dd.zip |
blacklist CJKI on the virtual console (#209579)
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 |