From owner-freebsd-questions Wed Nov 15 23:07:08 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA03840 for questions-outgoing; Wed, 15 Nov 1995 23:07:08 -0800 Received: from casparc.ppp.net (casparc.ppp.net [194.64.12.35]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id XAA03817 for ; Wed, 15 Nov 1995 23:06:58 -0800 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0tFyKf-000I5GC; Thu, 16 Nov 95 08:02 MET Received: by ernie.altona.hamburg.com (Smail3.1.29.1 #3) id m0tFxjg-00001PC; Thu, 16 Nov 95 07:23 MET Message-Id: From: hm@altona.hamburg.com (Hellmuth Michaelis) Subject: Re: PCVT Help To: alexandr@louie.udel.edu Date: Thu, 16 Nov 1995 07:23:48 +0100 (MET) Cc: freebsd-questions@freebsd.org In-Reply-To: <199511152240.OAA15588@freefall.freebsd.org> from "alexandr@louie.udel.edu" at Nov 15, 95 02:40:07 pm Reply-To: hm@altona.hamburg.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1968 Sender: owner-questions@freebsd.org Precedence: bulk >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 ?