aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlang.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh
index 91eb3f68..709c1c52 100755
--- a/lang.sh
+++ b/lang.sh
@@ -23,6 +23,16 @@ if [ -f /etc/sysconfig/i18n ]; then
if [ -n "$UNIMAP" ]; then
loadunimap $UNIMAP
fi
+
+ if [ -n "$SYSFONTACM" ]; then
+ case $SYSFONTACN in
+ iso01*|iso02*|iso15*)
+ LESSCHARSET=latin1
+ INPUTRC=/etc/inputrc
+ export LESSCHARSET INPUTRC
+ ;;
+ esac
+ fi
if [ -n "$SYSTERM" ] ; then
case $SYSTERM in
@@ -33,4 +43,5 @@ if [ -f /etc/sysconfig/i18n ]; then
;;
esac
fi
+ unset SYSFONTACM
fi