aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2001-08-20 15:33:33 +0000
committerNalin Dahyabhai <nalin@redhat.com>2001-08-20 15:33:33 +0000
commit397bcf255c007f68b75067e2b86c89fb041fdd9d (patch)
treefd5229fe0ceb1ebdea68f7e5645877916874d062 /lang.csh
parent152c8f3ab577dbbce1b17ee1db1996d00d789295 (diff)
downloadinitscripts-397bcf255c007f68b75067e2b86c89fb041fdd9d.tar
initscripts-397bcf255c007f68b75067e2b86c89fb041fdd9d.tar.gz
initscripts-397bcf255c007f68b75067e2b86c89fb041fdd9d.tar.bz2
initscripts-397bcf255c007f68b75067e2b86c89fb041fdd9d.tar.xz
initscripts-397bcf255c007f68b75067e2b86c89fb041fdd9d.zip
- fix syntax error in lang.cshr6-22
- set codeset by echoing to /dev/tty instead of /proc/self/fd/15
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index 2a181515..041a6069 100755
--- a/lang.csh
+++ b/lang.csh
@@ -52,7 +52,7 @@ if ($sourced == 1) then
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( `/sbin/consoletype` == "vt" ) then
- /bin/echo -n -e '\033(K' > /proc/$$/fd/15
+ /bin/echo -n -e '\033(K' > /dev/tty
endif
endif
endif
@@ -63,7 +63,7 @@ if ($sourced == 1) then
unsetenv SYSFONT
endif
-if ($?LANG)
+if ($?LANG) then
switch ($LANG)
case ja*:
case zh*: