aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
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*: