aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-03-15 23:37:59 +0000
committerBill Nottingham <notting@redhat.com>1999-03-15 23:37:59 +0000
commit47a239e1eb16058887ca50fb223f5ea2ff357e09 (patch)
tree8510326b05a8560ccfbfed8ed3caa2e0057a9a05 /lang.sh
parent8e6b0c4329380298c7e26aaa0da6887ae6e988f0 (diff)
downloadinitscripts-47a239e1eb16058887ca50fb223f5ea2ff357e09.tar
initscripts-47a239e1eb16058887ca50fb223f5ea2ff357e09.tar.gz
initscripts-47a239e1eb16058887ca50fb223f5ea2ff357e09.tar.bz2
initscripts-47a239e1eb16058887ca50fb223f5ea2ff357e09.tar.xz
initscripts-47a239e1eb16058887ca50fb223f5ea2ff357e09.zip
more sysfontacm fixes
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh
index 709c1c52..f31c34e2 100755
--- a/lang.sh
+++ b/lang.sh
@@ -30,6 +30,11 @@ if [ -f /etc/sysconfig/i18n ]; then
LESSCHARSET=latin1
INPUTRC=/etc/inputrc
export LESSCHARSET INPUTRC
+ 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