*BSD News Article 4006


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!elroy.jpl.nasa.gov!sdd.hp.com!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: 386bsd: 16550, color, vt100
Message-ID: <1992Aug21.171825.18744@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <sand.714341461@milton> <1992Aug20.222741.9968@ugle.unit.no> <veit.714391213@du9ds3>
Date: Fri, 21 Aug 92 17:18:25 GMT
Lines: 58

In article <veit.714391213@du9ds3> veit@du9ds3.uni-duisburg.de writes:
>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:
>
>Warning: this is incompatible with vt100. A vt100 emits an identification
>string with ESC [ x, which may cause much problems.

A vt100 ignores ANSI sequences which are not vt100 commands.  I think you
are confusing which direction the escape sequence is going.

Also, unless you disable the 25th line or make it a status line, you are
going to have a hell of a time convincing some poor computer that the
thing you are talking to it from is a vt100.  Specifically, it will scroll
one line later than it whould.

Those with laptops especially, and the Epson Equity series in particular,
should note that there is a bug in the video BIOS that prevents scrolling
of a portion of the screen from tuning out "quite right".  You will have
to work around this problemon those boxes.

Also a true vt100 will fail under the "resize" command, which moves the
cursor to row 999, column 999, and expects the cursor to be placed in
the lower right-hand corner.  If the actual screen size makes a positioning
sequence out of bounds, a real vt100 does not move the cursor.

I would suggest some other emulation which fits the bill, the best I have
seen being the SCO color console, since it allows you to paint lines, etc.
in a particular color.  ISC's console only allows characters actually
drawn on the screen to be colored, which is somewhat bogus (BG color on
lines scrolled up the screen is set to black unless drwan over).

Then make sure that what ever you are talking to has a termcap or terminfo
uploaded.  If you do this, even a "Joe Cheese" terminal emulation will
work.

One big plus is that the SCO color console hase insert/delete line/char,
which will keep elVIs from behaving erratically (deletion of line causes
blank line on screen).

If you have your heart set on some DEC terminal, the VT102P has the ability
to support multiple simultaneous attributes, and supports the insert and
delete functions to make elVIs happy, so I would suggest that instead.


					Terry Lambert
					terry_lambert@gateway.novell.com
					terry@icarus.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                                       terry@icarus.weber.edu
 "I have an 8 user poetic license" - me
-------------------------------------------------------------------------------