Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.sources.bugs Subject: Re: curses/termcap vs. autowrap on DEC terminals Keywords: autowrap vt220 vt240 vt340 vt330 curses termcap Message-ID: <4065@ficc.uu.net> Date: 3 May 89 13:08:04 GMT References: <853@per2.UUCP> Organization: Xenix Support Lines: 16 In article <853@per2.UUCP>, dag@per2.UUCP (Daniel A. Glasser) writes: > the TERMCAP entry for the terminal has auto margins false and that the > terminal itself has autowrap turned off (this should actually not > be required). This is in fact required... suppose 'vi' is displaying a long line. It gets to column 80 and wants to put the next character at column 1 on the next line. If autowrap is on, it's there. If autowrap is off, it has to send a CR and an LF. If you tell vi the terminal has no autowrap when it in fact does, it will put a blank line in the middle of any line longer than 80 characters. -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. Personal: ...!texbell!sugar!peter, peter@sugar.hackercorp.com.