lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: background colors on console

[Jon Mitchell]
> however I can't seem to make high intensity background colors work on
> the linux console. Does anyone know what I'm talking about?

Below are excerpts from two messages that came through this list in the
last couple days. Enjoy.

--
Peter Samuelson
<sampo.creighton.edu!psamuels>

----------------------------------------------------------------------

From: Rick Hohensee <humbubba@smarty.smart.net>
Subject: Re: console color code location?
Date: Mon, 1 Nov 1999 23:46:36 -0500 (EST)

There's a VGA palette manipulator in ../contrib in the SVGATextMode
package, if I recall where I got it, and you can bang on this stuff
from userland via something that can lseek /dev/port.

----------------------------------------------------------------------

From: Tuukka Toivonen <tuukkat@ees2.oulu.fi>
Subject: Re: console color code location?
Date: Tue, 2 Nov 1999 14:24:17 +0200 (EET)

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...)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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