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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to