diff options
Diffstat (limited to 'lang.sh')
-rwxr-xr-x | lang.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -34,7 +34,15 @@ if [ "$sourced" = 1 ]; then fi [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET - if [ -n "$SYSFONTACM" ]; then + if [ -n "$CHARSET" ]; then + case $CHARSET in + 8859-1|8859-2|8859-15|koi*) + if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then + echo -n -e '\033(K' 2>/dev/null > /proc/$$/fd/0 + fi + ;; + esac + elif [ -n "$SYSFONTACM" ]; then case $SYSFONTACM in iso01*|iso02*|iso15*|koi*|latin2-ucw*) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then |