aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-05-31 02:41:54 +0000
committerBill Nottingham <notting@redhat.com>2002-05-31 02:41:54 +0000
commitd194a371c1b1e0cb72b9d6ebdb324000bfc0f645 (patch)
treeea5d87d29eb5ca6c6d3473ef37a0f799ed6ace07 /lang.csh
parentc9ad1fdc669f055d5f31779068470bd33ce37199 (diff)
downloadinitscripts-d194a371c1b1e0cb72b9d6ebdb324000bfc0f645.tar
initscripts-d194a371c1b1e0cb72b9d6ebdb324000bfc0f645.tar.gz
initscripts-d194a371c1b1e0cb72b9d6ebdb324000bfc0f645.tar.bz2
initscripts-d194a371c1b1e0cb72b9d6ebdb324000bfc0f645.tar.xz
initscripts-d194a371c1b1e0cb72b9d6ebdb324000bfc0f645.zip
unicode fixes; call unicode_start when necessary
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang.csh b/lang.csh
index 69d67afc..999b5c04 100755
--- a/lang.csh
+++ b/lang.csh
@@ -59,6 +59,19 @@ if ($sourced == 1) then
breaksw
endsw
endif
+ if ($?LANG) then
+ switch ($LANG)
+ case *.utf8;
+ if ( $?TERM ) then
+ if ( "$TERM" == "linux" ) then
+ if ( `/sbin/consoletype` == "vt" ) then
+ unicode_start
+ endif
+ endif
+ endif
+ breaksw
+ endsw
+ endif
unsetenv SYSFONTACM
unsetenv SYSFONT
endif