aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@redhat.com>2001-05-02 18:59:51 +0000
committerBernhard Rosenkraenzer <bero@redhat.com>2001-05-02 18:59:51 +0000
commitd3d03d15bf72d193466fb97ad876a8ae9120a2b3 (patch)
tree7d8862c29db681f2e9ffd40f796a3b92ba7bd6b2 /lang.csh
parentfea1fc7c432d8c1d756faf32664e98a2372f34e7 (diff)
downloadinitscripts-d3d03d15bf72d193466fb97ad876a8ae9120a2b3.tar
initscripts-d3d03d15bf72d193466fb97ad876a8ae9120a2b3.tar.gz
initscripts-d3d03d15bf72d193466fb97ad876a8ae9120a2b3.tar.bz2
initscripts-d3d03d15bf72d193466fb97ad876a8ae9120a2b3.tar.xz
initscripts-d3d03d15bf72d193466fb97ad876a8ae9120a2b3.zip
Support kbd in lang.{c,}sh
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang.csh b/lang.csh
index eec5b267..1ded61c6 100755
--- a/lang.csh
+++ b/lang.csh
@@ -20,6 +20,23 @@ if ($sourced == 1) then
endif
endif
+ if ($?CHARSET) then
+ switch ($CHARSET)
+ case 8859-1:
+ case 8859-2:
+ case 8859-15:
+ case koi*:
+ case latin2*:
+ if ( $?TERM ) then
+ if ( "$TERM" == "linux" ) then
+ if ( `/sbin/consoletype` == "vt" ) then
+ /bin/echo -n -e '\033(K' >/proc/$$/fd/15
+ endif
+ endif
+ endif
+ breaksw
+ endif
+ endif
if ($?SYSFONTACM) then
switch ($SYSFONTACM)
case iso01*: