From owner-freebsd-hackers Thu Jan 12 17:33:47 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA18409 for hackers-outgoing; Thu, 12 Jan 1995 17:33:47 -0800 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id RAA18389 for ; Thu, 12 Jan 1995 17:33:43 -0800 Received: by sovcom.kiae.su id AA08603 (5.65.kiae-2 ); Fri, 13 Jan 1995 04:19:02 +0300 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id EAA01108; Fri, 13 Jan 1995 04:15:00 +0300 To: Terry Lambert Cc: freebsd-hackers@FreeBSD.org, peter@bonkers.taronga.com, wpaul@skynet.ctr.columbia.edu References: <9501130008.AA07296@cs.weber.edu> In-Reply-To: <9501130008.AA07296@cs.weber.edu>; from Terry Lambert at Thu, 12 Jan 95 17:08:31 MST Message-Id: Organization: Olahm Ha-Yetzirah Date: Fri, 13 Jan 1995 04:14:59 +0300 X-Mailer: Mail/@ [v2.31 FreeBSD] From: "Andrew A. Chernov, Black Mage" X-Class: Fast Subject: Re: Small syscons change Lines: 45 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1855 Sender: hackers-owner@FreeBSD.org Precedence: bulk In message <9501130008.AA07296@cs.weber.edu> Terry Lambert writes: >> In message <199501122114.PAA09829@bonkers.taronga.com> Peter da Silva >> writes: >> >> >DEC's cute but bizzarre line wrap behaviour strikes again. >> >> >You wouldn't believe what I had to do to get it to work right when emulating >> >the VT100 on other terminals... >> >> VT100 have very different behaviour then simple line wrap: >> cursor stuck in last position until next char will be printed. >> Standard linewarp goes to first column immediately after >> printing char in last column. >> You mast have an option (ioctl?) in syscons to emulate VT100 line wrap. >The actual term is "delayed wrap" and the actual description is "wrap >*before* 81st (133rd) character", as opposed to "wrap after 80th (132nd) >character". >The termcap description of their attribute to deal with this (AM) is >*wrong*. This is what xterm means with it's 'Enable Curses emulation". There is termcap capability which match this case: "xn" (in addition to "am") Corresponding terminfo capability: "xenl" >The problem in a partial fix is that "eat CR after wrap" still causes >a forced scroll if it was the 80th (132nd) character of the last line. There is no partial fix, but completely different behaviour, SCO standard console (which syscons emulate) use true line wrap without delay. >SCO curses handles this on their console (which is *not* "delayed wrap") >by outputing the 80th character in the 79th column, and reinserting the >previous 79th character. ncurses do this in the same way. -- Andrew A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849