*BSD News Article 97318


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.idt.net!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Difference between rlogin and telnet
Date: 7 Jun 1997 14:53:04 GMT
Organization: Private BSD site, Dresden
Lines: 27
Message-ID: <5nbskg$2h6@uriah.heep.sax.de>
References: <864993028.196308@reef.island.net.au>
  <5mmvkd$8kq@ui-gate.utell.co.uk> <5mn8in$dve@netaxs.com>
  <5mn9i9$4ts@tooting.netapp.com> <5n1vhs$jbs@news.gvsu.edu>
  <5n3boj$dpq@ui-gate.utell.co.uk> <5n7aco$osi@uriah.heep.sax.de>
  <5n8vsg$909@news.gvsu.edu> <EBDEr6.8xL@nonexistent.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42573

Nathan Dorfman <nathan@senate.org> wrote:

> Hah! I tried running PCVT once, and bold text came up as
> red-reverse-video,
> reverse-video text came up as blue-reverse-video.

That's more of a feature than a bug.

In an attempt to provide as much VTxxx functionality as possible using
a VGA card only (double-width or double-height is impossible for
example), pcvt turns the VGA (or EGA) into 512-character mode.  That
is, the ``high intensity'' attribute bit is turned into a character
generator selection bit, so to select one out of two 256-character
sets.  Naturally, this makes the normal high intensity bit
unavailable, leaving only 8 foreground and the same 8 background
colors, so the attributes are emulated with different colors.

You can fine-grain adjust all the colors on a VGA (on a per-VT basis)
using `scon -p'.  I use this feature to differentiate my various VTs
by using different colors for the characters.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)