From 7210e808c8540f7e2aa63c2932863b4f40bb2c48 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 6 Feb 2001 20:42:52 +0000 Subject: don't muck with the font in lang.(sh|csh) (#26349) --- lang.csh | 19 ------------------- lang.sh | 14 -------------- 2 files changed, 33 deletions(-) diff --git a/lang.csh b/lang.csh index eec5b267..498fd12a 100755 --- a/lang.csh +++ b/lang.csh @@ -20,23 +20,4 @@ if ($sourced == 1) then endif endif - if ($?SYSFONTACM) then - switch ($SYSFONTACM) - case iso01*: - case iso02*: - case iso15*: - case koi*: - case latin2-ucw*: - 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 - endsw - endif - unsetenv SYSFONTACM - unsetenv SYSFONT endif diff --git a/lang.sh b/lang.sh index e255968b..320c040f 100755 --- a/lang.sh +++ b/lang.sh @@ -33,18 +33,4 @@ if [ "$sourced" = 1 ]; then unset LINGUAS fi [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET - - if [ -n "$SYSFONTACM" ]; then - case $SYSFONTACM in - iso01*|iso02*|iso15*|koi*|latin2-ucw*) - 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 - fi - fi - ;; - esac - fi - - unset SYSFONTACM SYSFONT fi -- cgit v1.2.1