Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 1995 18:25:13 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Cc:        terry@lambert.org, hackers@FreeBSD.ORG
Subject:   Re: SYSCONS PROBLEM IDENTIFIED
Message-ID:  <199509290125.SAA13960@phaeton.artisoft.com>
In-Reply-To: <qfJawNmqr3@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Sep 20, 95 09:39:31 am

next in thread | previous in thread | raw e-mail | index | archive | help
> It isn't turning attributes off, but (1) "erase with black color"
> instead of (2) "erase with background color". I.e. Elm can
> turn reverse on, then attempt to clear screen or end of line.
> For (1) you got clear screen, for (2) you got reverse screen.
> Sounds like Elm error, it must turn off highlight before any clearing.
> Curses works this way.
> 
> Maybe it is recent SCO addition (erase with black color).
> I check Xenix box and got the same behaviour like in FreeBSD.
> Can you check Linux console too? (it attempts to emulate SCO
> somehow).

OK; I have checked the Linux console six ways from sunday.

Start at default:

^[[43m^[[2J	clear the screen to white text on orange

^[[47m^[[30m^[[2J	clear the screen to black text on white

^[[40m^[[47m^[[2J	clear the screen to white text on black
			(restore default)

^[7m			enable reverse
^[7m^[2J		clear screen to white text on black, but
			leave reverse on so that prompt is black
			on white text.

This is what is expected (and happens) on an SCO box as well (well,
not orange, that's not a default PC color).

> Advantage of "erase with background color" is that you can quickly
> fill whole screen with any color without putting lots of damn spaces.

Agreed, *if* you set the color.  The point is, the attribute and the
color state are maintained seperately on SCO and Xenix 2.3.1, but
not on FreeBSD.


A full SCO console emulation will include 10m, 11m, and 12m for character
set selection as well.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509290125.SAA13960>