Re: [PATCH] Cute feature: colored printk output

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

 



Jan Engelhardt wrote:
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.

Try reparsing that... I said I use color coding in root xterm, so I am generally in favor of the color coding concept to make important messages obvious. Is that clearer?


--
Bill Davidsen <[email protected]>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-
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