*BSD News Article 20283


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!sdd.hp.com!network.ucsd.edu!news.cerf.net!crash!fredbox!cyb!loodvrij
From: loodvrij@cyb.fred.com (Bruce 'Loodvrij' Keeler)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Reverse video is blank reverse blocks in NetBSD-0.9
Message-ID: <CCn7FF.7nL@cyb.fred.com>
Date: Tue, 31 Aug 1993 21:23:24 GMT
References: <1993Aug30.050447.14164@news.weeg.uiowa.edu>
Organization: Cacophonous Yodellers' BBS (907) 338-4942 7-E-1
Lines: 23

In article <1993Aug30.050447.14164@news.weeg.uiowa.edu> jboggs@news.weeg.uiowa.edu (John D. Boggs) writes:
>As the subject says, when an application calls for reverse video
>what I get instead is a block of white.  Has anyone else run into
>this problem?  Is it my hardware?
>
>486DX-33, 256K cache
>Trident TVGA 8900CL card, Samsung mono monitor

Its because you are using the wrong terminal emulation on the console.  Youre
probably using something like vt100 which uses the ESC[%d;%dr code to change
scrolling regions.  Unfortunately, under the pc3 emulation, this sets the color
that reverse video comes out in.  The solution of course, is to set your TERM
variable to pc3.

Since I had this problem quite a bit for a while, I added the following code
to my pc3 entry: rs=\E[14;0r which sets it back to the default (yellow on black)
upon reset.  If your terminal should get mucked up, type 'reset'.  If you 
prefer other colors than yellow, mess around with the values.

Bruce
-- 
Bruce J. Keeler (907) 337-8193              | "...and Bruce is in charge    |
Internet: loodvrij@cyb.fred.com             |        of the sheep dip!"     |