*BSD News Article 3997


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!unidui!du9ds3!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Subject: Re: 386bsd: 16550, color, vt100
References: <1992Aug19.195743.13499@engage.pko.dec.com> <sand.714341461@milton> <1992Aug20.222741.9968@ugle.unit.no>
Date: 21 Aug 92 10:00:13 GMT
Reply-To: veit@du9ds3.uni-duisburg.de
Organization: Uni-Duisburg FB9 Datenverarbeitung
Sender: @unidui.uni-duisburg.de
Message-ID: <veit.714391213@du9ds3>
Lines: 32

In <1992Aug20.222741.9968@ugle.unit.no> arnej@Lise.Unit.NO (Arne Henrik Juul) writes:

[...]
>The sequence:   ESC [ 3 ; <number> x
>means: set the PC color mode to <number>, where <number> will be used
>in this way:

>|   7   |   6   |   5   |   4   |   3   |   2   |   1   |   0   |
>| blink |      background       |bright |      foreground       |
>| (fg)  |         color         | (fg)  |         color         |
>The standout mode works another way: Here, the foreground is given
>first (as a number from 0-15) followed by background as another number
>from 0-15. The same color combination would be:

Warning: this is incompatible with vt100. A vt100 emits an identification
string with ESC [ x, which may cause much problems. In a recent posting
of a vt100 console replacement (by Helmut Michaelis in alt.sources), we
had a problem that "color escape sequences" like the above could crash the
kernel (because of a special bug). In my next release of KEYCAP, a pccons 
replacement for national keyboards, this suspicious ESC x will be gone. You'll
read in the documentation about this then.

>--
>Arne H. Juul  --  arnej@lise.unit.no  --  University of Trondheim, Norway

Holger

-- 
|  |   / Holger Veit             | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
|  | /   Dept. of Electr. Eng.   | "No, my programs are not BUGGY, these are
|  |/    Inst. f. Dataprocessing |          just unexpected FEATURES"