--- /etc/profile.d/lang.sh.orig 2004-01-29 17:53:46 +0300 +++ /etc/profile.d/lang.sh 2002-10-15 15:42:50 +0400 @@ -43,6 +43,16 @@ [ -n "$XMODIFIERS" ] && export XMODIFIERS || Unset XMODIFIERS [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || Unset _XKB_CHARSET + if [ -n "$SYSFONTACM" ]; then + case $SYSFONTACM in + iso01*|iso02*|iso08*|iso15*|koi*|latin2-ucw*|cp1251*|pt154*) + if [ "$TERM" = linux -a "`/sbin/consoletype`" = vt ]; then + echo -ne '\033(K' >&0 + fi + ;; + esac + fi + Unset SYSFONTACM SYSFONT # handling of special cases where localization is done Steps to Reproduce: 1. Install setup-2.2.5-alt1 2. Check that your ~/.i18n file contains LANG=ru_RU.KOI-R; LANGUAGE=$LANG 3. Login to text console (Alt+Ctrl+F1..F6) 4. Run MC or any other localized application Actual Results: Pseudographics is displayed instead of russian characters. Workaround: replace /etc/profile.d/lang.sh installed by setup-2.2.5-alt1 to old version taken from initscripts-5.49-ipl50mdk (part of M22). Expected Results: Russian characters in text console on expected positions!
This code was moved to new script, /etc/profile.d/console.sh Update to console-tools >= 0.2.3-ipl20mdk.