Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 1995 07:23:48 +0100 (MET)
From:      hm@altona.hamburg.com (Hellmuth Michaelis)
To:        alexandr@louie.udel.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PCVT Help
Message-ID:  <m0tFxjg-00001PC@ernie.altona.hamburg.com>
In-Reply-To: <199511152240.OAA15588@freefall.freebsd.org> from "alexandr@louie.udel.edu" at Nov 15, 95 02:40:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>From the keyboard of alexandr@louie.udel.edu:

> When I compiled my kernel with PCVT support, PCVT automatically chose
> some default colors.  For example, kernel messages are lightgrey on
> red, bold is lg on blue, underline is lg on brown, etc...
> 
> These are the colors that I'm aiming to change.

Ok, now i understand!

The kernel messages are my personal preference and can be changed in newer
pcvt's by specifying COLOR_KERNEL_FG, COLOR_KERNEL_BG and/or MONO_KERNEL_FG
and MONO_KERNEL_BG - have a look at the very end of pcvt_conf.h - i don't
recall if the pcvt in 2.0.5 already does this, if not get yourself pcvt 
release 3.32.

> :There is support for colour in pcvt, uudecode and gunzip the file
> :/usr/src/usr.sbin/pcvt/demo/colors.vt.gz.uu and cat it to one of
> :pcvt's screens on a color display and you'll see .. ;-)
> 
> I tried this.  Is there any reason that there aren't any "bright"
> colors?

Yes. The reason is that there is a bit in the VGA encoding in the video
memory which can either be used for high intensity or be used to activate
the display from a second character (or better font) set which can be
loaded into the VGA character generator ram (have a look at loadfont, there
you can load an upper and a lower character set).

This second char/font generator is necessary to support all characters the
VT220 can display and because my primary idea was VT220 compatibility, i 
had to choose a different representation for several attributes. I'm also
not satisfied with this, but it is a limitation of VGA hardware.

There are possibilities: if one does not need all the special DEC chars and
just wants IBM charset II, it would be possible to use this bit for high
intensity again, but for this to work, someone has to code - it should be
pretty easy, i think.

hellmuth
-- 
Hellmuth Michaelis           hm@altona.hamburg.com              Hamburg, Europe
                                              (A)bort, (R)etry, (I)nstall BSD ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tFxjg-00001PC>