summaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang.csh b/lang.csh
index 498fd12a..eec5b267 100755
--- a/lang.csh
+++ b/lang.csh
@@ -20,4 +20,23 @@ 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