From owner-freebsd-hackers Thu Sep 28 18:29:50 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA12484 for hackers-outgoing; Thu, 28 Sep 1995 18:29:50 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA12479 for ; Thu, 28 Sep 1995 18:29:47 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id SAA13960; Thu, 28 Sep 1995 18:25:13 -0700 From: Terry Lambert Message-Id: <199509290125.SAA13960@phaeton.artisoft.com> Subject: Re: SYSCONS PROBLEM IDENTIFIED To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Thu, 28 Sep 1995 18:25:13 -0700 (MST) Cc: terry@lambert.org, hackers@FreeBSD.ORG In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Sep 20, 95 09:39:31 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1610 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > 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.