From owner-freebsd-questions Wed Sep 13 02:36:05 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA18367 for questions-outgoing; Wed, 13 Sep 1995 02:36:05 -0700 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 CAA18350 for ; Wed, 13 Sep 1995 02:35:54 -0700 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0ssoAk-000I0RC; Wed, 13 Sep 95 11:32 MET DST Received: by ernie.altona.hamburg.com (Smail3.1.29.1 #3) id m0ssnk1-000016C; Wed, 13 Sep 95 11:04 MET DST Message-Id: From: hm@altona.hamburg.com (Hellmuth Michaelis) Subject: Re: PCVT problems To: partek@indecent.com (David Anderson) Date: Wed, 13 Sep 1995 11:04:25 +0200 (MET DST) Cc: hm@altona.hamburg.com, questions@freebsd.org In-Reply-To: from "David Anderson" at Sep 12, 95 05:40:01 pm Reply-To: hm@altona.hamburg.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1289 Sender: questions-owner@freebsd.org Precedence: bulk >From the keyboard of David Anderson: > > > 1- What is supposed to be bold turns out blue.(bad mappings?) > > This is as it should be. It was done because of a shortcoming in the VGA > > architecture. The color assignments are changeable at compile time in > > pcvt_conf.h. > > The only thing that I found changable in that file was the kernel bootup > colors. I've been playing with scon though and it's working somewhat. Oops, my fault, the assignments for vt220 enhancements to VGA enhancements are to be found in pcvt_hdr.h, in the table "sgr_tab_color" near the end of the file. In the second line you'll find the bold mapping to blue. If you change it, keep in mind that bit 3 of the VGA attribute byte is not usable in pcvt (because its used to switch between 2 charsets) ! An alternate choice could be to use the compile time option PCVT_SETCOLOR which enables a patch Bruce Evans once sent in and for which i still have not found out the syntax (i never tried .. :-) to change the color assignments at runtime with , Bruce, do you remeber the syntax for the ESC-sequence ??? ;-) hellmuth -- Hellmuth Michaelis hm@altona.hamburg.com Hamburg, Europe (A)bort, (R)etry, (I)nstall BSD ?