[Pkg-kbd-devel] Bug#637277: Bug#637277: kbd: HMC console terminal - black foreground on black background
Anton Zinoviev
anton at lml.bas.bg
Sun Aug 14 13:42:26 UTC 2011
On Tue, Aug 09, 2011 at 10:48:05PM -0500, Rolf Brudeseth wrote:
>
> - From /etc/init.d/kbd:
> reset_vga_palette ()
> {
> if [ -f /proc/fb ]; then
> # They have a framebuffer device.
> # That means we have work to do...
> echo -n "\e]R"
> fi
> }
>
> I rewrote the echo statement above after inspecting it with xxd.
I suppose this has to be
echo -ne "\e]R"
> On IBM POWER5/6/7 systems controlled by a Hardware Management Console,
> the foreground text color on the HMC Java ASCII console terminal turns
> from white to black after the escape sequence above is issued. Since
> the background color is black, that renders the console unusable.
Is this some special terminal, or the Linux framebuffer works
differently on these systems? If the first, then either some check is
required in /etc/init.d/kbd to avoid this echo, or a redirection is
required (echo -ne "\e]R" >/dev/somewhere). If the second, then perhaps
this is a bug in the kernel?
Anton Zinoviev
More information about the Pkg-kbd-devel
mailing list