On Oct 6 2007 15:53, Bill Davidsen wrote:
quoted text > 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
quoted text > 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.
-
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH] Cute feature: colored printk output , Jan Engelhardt , (Sat Oct 6, 4:01 pm)