lkml.org 
[lkml]   [2007]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Cute feature: colored printk output

On Oct 6 2007 01:22, Krzysztof Halasa wrote:
>Jan Engelhardt <jengelh@computergmbh.de> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-06 01:51    [W:0.114 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site