[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: console color code location?
On Mon, 1 Nov 1999, Rick Hohensee wrote:

>The VGA video RAMDAC palette is at 0x3c8 in write mode and 0x03c7 in

The kernel (at least 2.0.x) recognizes also magic escape strings,
when echoed to screen, change the palette. I don't remember exactly the
sequence but something like "<esc>[RRGGBBP" where RR, GG and BB
are the primary colors (0x0..0xff) in hex. Possibly [ is actually ] (?).

The original palette can be restored with "<esc>[R". (This too
is from my faulty memory...)

| Tuukka Toivonen <> [PGP public key
| Homepage: available]
| Try also finger -l
| Studying information engineering at the University of Oulu

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [W:0.038 / U:6.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site