diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-10 00:48:42 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-10 00:48:42 +0000 |
commit | eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8 (patch) | |
tree | 4b2043547d195ef6690d25235177023f0c243c5f /lang.csh | |
parent | 0cc081cbc90a7f0d1b229f86d20f7f886f5c40b0 (diff) | |
download | initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar.gz initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar.bz2 initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar.xz initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.zip |
reintroduce font page reset, but fix su errors
Diffstat (limited to 'lang.csh')
-rwxr-xr-x | lang.csh | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |