Bug 86511

Summary: virtual terminals 7-12 display cyrillic chars vice color/bold
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mblycker>
Component: groffAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-14 16:02:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Need Real Name 2003-03-24 22:33:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208
Netscape/7.02

Description of problem:
Virtual terminals 7-11 enabled via inittab (or openvt -c11 bash).  Data
displayed on these terminals that is intended to be in color or bold is
displayed in the proper color (or bold), but with cyrillic characters. (e.g.
output of ls, vi, or man)

man foo | col -b gives correct characters, but no bold
ls --color=never gives correct characters, but no color

stty -a produces same data for all virtual terminals

LC_ALL can be defined to en_US.UTF-8  with no effect

Problem does not exist with RedHat 7.3 (/etc/termcap is same on both systems)

Some unknown action can remove problem temporarily.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Login to vt 7 -> 11  (or openvt -c10 bsah..)
2. vi anyfile    or ls  (--color=auto)  with files that are exec or directories
3. or...man man
    

Actual Results:  any text that is intended to be bold or in color is so, but the
characters are cyrillic

Expected Results:  expected Latin

Additional info:

Comment 1 Miloslav Trmac 2003-03-25 13:21:25 UTC
This is in /etc/rc.d/rc.sysinit, you might want to try adding numbers
to the "2 3 4 5 6" below.

 # Load system font
 if [ -x /sbin/setsysfont ]; then
    [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
    for i in 2 3 4 5 6; do
      > /dev/tty$i
    done
    case "$LANG" in
      *.utf8*|*.UTF-8*)
        action $"Setting default font ($SYSFONT): " /bin/unicode_start $SYSFONT
        ;;
      *)
        action $"Setting default font ($SYSFONT): " /sbin/setsysfont
        ;;
    esac
 fi