lkml.org 
[lkml]   [1999]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: console color code location?
On Mon, 1 Nov 1999, Al Elia wrote:

> I've tried using setterm...it doesn't take (permanently anyway). In
> FreeBSD, you can set teh default colors in the syscons.c (defaults are
> FG_LIGHTGREY || BG_BLACK....I set them to FG_WHITE || BG BLACK) file and
> recompile the kernel, so that all programs use those colors by
> default. I'm assuming that this is set somewhere in the console driver
> code in linux, but I have thus far been unsuccessful in finding where.
>

In console.c, the following gives blue text on white.

def_color = 0x71;
ulcolor = 0x7f;
halfcolor = 0x78;

If you do this you will also probably have to dork with /etc/DIR_COLORS
depending on what your after.


Bob




-
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.042 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site