[email protected]
[Top] [All Lists]

Bug#528357: marked as forwarded (/usr/bin/showconsolefont: produces gar

Subject: Bug#528357: marked as forwarded /usr/bin/showconsolefont: produces garbage
From: Debian Bug Tracking System
Date: Sat, 16 May 2009 19:18:17 +0000
Your message dated Sat, 16 May 2009 21:15:25 +0200
with message-id <[email protected]>
has caused the   report #528357,
regarding /usr/bin/showconsolefont: produces garbage
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

528357: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528357
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Re: Bug#528357: /usr/bin/showconsolefont: produces garbage
From: Michael Schutte
Date: Sat, 16 May 2009 21:15:25 +0200
Hi Alexey,

Somewhere between 2.6.26 and 2.6.29, a change in the Linux kernel has
caused showconsolefont to print garbage instead of spaces.  A Debian
user has provided these two screenshots in his bug report [1]:


[1] http://bugs.debian.org/528357

This happens only when the console is in Unicode mode, which makes it
quite clear that the space character becomes something different in each
unimap showconsolefont switches to.  And indeed, if "\xef\x80\xa0"
(which is the UTF-8 representation of U+F020, a straight-to-font space)
is used instead of " ", everything is fine again for Unicode consoles;
but, not surprisingly, this produces rubbish in XLATE mode.

One way to solve this would be to check which mode the VT is in and then
using the appropriate way to print spaces.  Another idea is forcibly
switching the console to Unicode mode, dumping the font using UTF-8
characters, and then reverting the mode change if necessary, but that
would involve a near-complete rewrite of showconsolefont.c.  There might
be better solutions, but I donât even know which commit from
linux-2.6.git introduces these problems.

Perhaps Iâm also missing something obvious.  Any comments?

All the best,
Michael Schutte <[email protected]>

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#528357: marked as forwarded (/usr/bin/showconsolefont: produces garbage), Debian Bug Tracking System <=