Re: [PATCH] Cute feature: colored printk output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 6 2007 01:22, Krzysztof Halasa wrote:
>Jan Engelhardt <[email protected]> writes:
>
>> +	The value you need to enter here is the ASCII color value
>
>ASCII color value? ANSI perhaps?

ANSI:

\e[31m R--
\e[32m G--
\e[33m RG- (yellow)
\e[34m --B
\e[35m R-B (magenta)
\e[36m -GB (cyan)
\e[37m RGB (white)

ASCII:

1 --B blue
2 -G- green
3 -GB cyan
4 R-- red

...

e.g. just the other way around. 0x17 is gray-on-blue, what I use,
so it's ASCII actually. Quite confusing, yes. :-/

>composed ...

yes, should reword that.

>> +	Using "highlight foreground" is said not work when you use
>
>I'd say "HF is known not to work with VGA console" or just
>"HF doesn't work with VGA console".
>
>I wonder how accurate is it.

Since I do not use 512-glyph fonts, I do not know.
I suppose no, since that is what is written in the manpages or so.

With FB where the hardware draws the font, I do not know either,
I suppose yes.

With FB where the software draws the font (read: fbiterm with CJK),
it worked as usual, last time I tested.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux