From 0618b19f2b5f40bebc72571b2f000b8c33c217e8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 19 Apr 2000 15:26:04 +0000 Subject: fix case statement ; apparently tcsh likes fd 15?? --- lang.csh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lang.csh') diff --git a/lang.csh b/lang.csh index 6471cd49..691c34d7 100755 --- a/lang.csh +++ b/lang.csh @@ -23,11 +23,15 @@ if ($sourced == 1) then if ($?SYSFONTACM) then switch ($SYSFONTACM) - case iso01*|iso02*|iso15*|koi*|latin2-ucw*: + case iso01*: + case iso02*: + case iso15*: + case koi*: + case latin2-ucw*: if ( $?TERM ) then if ( "$TERM" == "linux" ) then - if ( ls -l /proc/$$/fd/0 2>/dev/null | grep -- '-> /dev/tty[0-9]*$' >/dev/null 2>&1) then - echo -n -e '\033(K' > /proc/$$/fd/0 + if ( `consoletype` == "vt" ) then + echo -n -e '\033(K' > /proc/$$/fd/15 endif endif endif -- cgit v1.2.1