lkml.org 
[lkml]   [2007]   [Oct]   [6]   [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 15:53, Bill Davidsen wrote:
> Jan Engelhardt wrote:
>> Colored kernel message output
>>
>> Let's work more on Linux's cuteness! [http://lkml.org/lkml/2007/10/4/431]
>> The following patch makes it possible to give kernel messages a
>> selectable color which helps to distinguish it from other noise,
>> such as boot messages. NetBSD has it, OpenBSD has it, FreeBSD to some
>> extent, so I think Linux should too.
>>
>> Inspired by cko (http://freshmeat.net/p/cko/), but independently
>> written, later contributed forth and back.
>>
> I like it, although having a boot option would be nice (I have a friend with
> color perception issues).

sysfs attributes can be set at boot time (and not only that).
Here, try the "davej's salad" configuration :-)

vt.default_red=0,192,128,170,0,170
vt.default_grn=0,0,170,128,64,0
vt.default_blu=0,0,0,0,128,128
vt.printk_color=1,1,1,1,5,3,2

> I start my root xterm in white on blue for identification, so color coding
> sounds like a great idea to me.

This has nothing to do with xterms, this is "VGA color console" only.
xterm config is in /usr/share/X11/app-defaults/XTerm-color.
-
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 22:03    [W:0.695 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site