Mailinglist Archive: opensuse-bugs (4724 mails)

< Previous Next >
[Bug 556555] in textmode after changing console language Yast2 graphics is broken
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 1 Apr 2010 11:33:41 +0000
  • Message-id: <20100401113341.62442CC7CD@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=556555

http://bugzilla.novell.com/show_bug.cgi?id=556555#c7


Gabriele Mohr <gs@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|gs@xxxxxxxxxx |mmarek@xxxxxxxxxx

--- Comment #7 from Gabriele Mohr <gs@xxxxxxxxxx> 2010-04-01 11:33:40 UTC ---
The reason for 2-byte chars line drawing is that textmode YaST writes UTF-8
chars to a terminal which isn't in unicode mode.
The default for textmode YaST is UTF-8 because the YaST start script
('/sbin/yast') sets UTF-8 mode.

This works for former versions because on a (local) console the UTF-8 mode for
the terminal was enabled by calling '/bin/unicode_start' in '/sbin/yast'.
It doesn't work any longer because the test script '/bin/testutf8' which
is used in '/sbin/yast' to check whether the console is in UTF-8 mode has
changed (always returns UTF-8 is enabled) and therefore unicode_start isn't
called.

'/bin/testutf8' (from package kbd) has to be restored to make '/sbin/yast' work
correctly (to call /bin/unicode_start, see line 345 and also to work for xterm,
see line 377).

To get a working YaST for now you can call '/bin/unicode_start' on command line
before starting 'yast' or call YaST without start script
('/usr/lib/YaST2/bin/y2base menu ncurses').

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >