Re: [PATCH 1 of 2] fbcon: bgcolor fix

From: Stefano Stabellini
Date: Tue Jul 01 2008 - 12:27:47 EST


Jan Engelhardt wrote:

> On Tuesday 2008-07-01 17:38, Stefano Stabellini wrote:
>
>> The forth bit of the background color is the blink property bit, not the
>> intensity bit, as for the foreground color.
>> Therefore it shouldn't be included in the background color.
>
> I'm a bit skeptical, though I have not tried this.


If you look at the build_attr function in drivers/char/vt.c you can see
that the blink attribute is stored as the forth bit of the background color.

I tried the patches with both an ncurses application and manually using:

echo -en '\E[5m'

and they seems to work fine.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/