<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>5045</bug_id>
          
          <creation_ts>2004-08-21 23:46:21 +0400</creation_ts>
          <short_desc>Font loading should be returned back to /etc/profile.d/lang.sh</short_desc>
          <delta_ts>2009-05-10 09:32:14 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>setup</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="evseev">evseev</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18273</commentid>
    <comment_count>0</comment_count>
    <who name="evseev">evseev</who>
    <bug_when>2004-08-21 23:46:22 +0400</bug_when>
    <thetext>--- /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 &quot;$XMODIFIERS&quot; ] &amp;&amp; export XMODIFIERS || Unset XMODIFIERS
 	[ -n &quot;$_XKB_CHARSET&quot; ] &amp;&amp; export _XKB_CHARSET || Unset _XKB_CHARSET
 
+	if [ -n &quot;$SYSFONTACM&quot; ]; then
+		case $SYSFONTACM in
+			iso01*|iso02*|iso08*|iso15*|koi*|latin2-ucw*|cp1251*|pt154*)
+				if [ &quot;$TERM&quot; = linux -a &quot;`/sbin/consoletype`&quot; = vt ]; then
+					echo -ne &apos;\033(K&apos; &gt;&amp;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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19802</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-11-15 15:58:51 +0300</bug_when>
    <thetext>This code was moved to new script, /etc/profile.d/console.sh
Update to console-tools &gt;= 0.2.3-ipl20mdk.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>