Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!indri!nic.MR.NET!hal!ncoast!allbery From: allbery@ncoast.ORG (Brandon S. Allbery) Newsgroups: comp.sources.bugs Subject: Re: curses/termcap vs. autowrap on DEC terminals Message-ID: <13627@ncoast.ORG> Date: 7 May 89 18:21:08 GMT References: <853@per2.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.sources.bugs Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 24 As quoted from <853@per2.UUCP> by dag@per2.UUCP (Daniel A. Glasser): +--------------- | Many "VT100" clones/emulators do not mimmick the DEC terminal behavior | properly. Some do. The best bet when you find programs screwing up | the screen display through curses is to make sure the tab settings | on the terminal are the default 8 column tabs (9 17 25 ...), that | 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). +--------------- Alternatively, set the ":xn:" attribute in the termcap and leave auto-wrap on. ("xn" means that a linefeed from column 0 doesn't always get acted upon; this basically avoids the problem, since curses thinks it's in column 0 when the VT[12]xx thinks it's in column 80+.) I use this on many systems with no problems. ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@ NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser