Newsgroups: comp.os.minix
Subject: Re: How to make it blue ?
References: <36caccdb.0@news.syr.edu> <7aelqd$fjo$3@nusku.cts.com> <36CB265F.932F710@iaehv.nl>
Organization: Syracuse University, Syracuse
From: mcconnel@hydra.syr.edu (Terry R. McConnell)
NNTP-Posting-Host: hydra.syr.edu
Message-ID: <36cb4145.0@news.syr.edu>
Date: 17 Feb 1999 17:23:01 -0500
X-Trace: 17 Feb 1999 17:23:01 -0500, hydra.syr.edu
Lines: 47
Path: news.adfa.oz.au!clarion.carno.net.au!news0.optus.net.au!news1.optus.net.au!optus!intgwpad.nntp.telstra.net!newsfeed.berkeley.edu!news.maxwell.syr.edu!news.syr.edu!hydra.syr.edu!mcconnel

In article <36CB265F.932F710@iaehv.nl>,
van Grootheest  <janevert@iaehv.nl> wrote:
>Hello,
>
>Will Rose wrote:
>> 
>> Terry R. McConnell (mcconnel@hydra.syr.edu) wrote:
>> 
>> : I like my terminals to have a blue background. I find this more restful on
>> : the eyes than the default stark black ( or maybe I'm just more used to blue
>> : screens from having spent too much time programming under Windows :-)
>[ cut ]
>> For some reason 2.0.2 changed at least some of the default colors; I know
>> bits of the man pages are now a pretty horrible shade of cyan.  Anyway,
>> all the defaults are in kernel/console.c, but you can probably reset them
>> with termcap on a temporary basis.
>
>During the upgrade from 2.0.0 to 2.0.2 I noticed that termcap was
>different between the two... I don't know what termcap does, but maybe
>it helps?
>

Thanks to Will, I am now in blue heaven. Change the expression

BLANK_COLOR=0x0700

to 

BLANK_COLOR=0x1700

in console.c. Change the 7 for a different default foreground (i.e,
character and cursor) color. 

0=black, 1=blue, 2=green, 3=cyan, 4=red, 5=magenta, 6=brown, 7=grey, 8=white,
9-E, light versions of blue-brown, F=bright white. 

/etc/termcap contains the sequences that must be sent to terminals (including
the console,) to perform all sorts of functions, including video effects. 
Programs consult this to see how to move the cursor, clear the screen, etc.

I would guess the change between versions reflects some added functionality
in the console driver. 
-- 
************************************************************************
Terry R. McConnell   Mathematics/304B Carnegie/Syracuse, N.Y. 13244-1150
trmcconn@syr.edu                            http://barnyard.syr.edu/~tmc 
************************************************************************
