curses/termcap vs. autowrap on DEC terminals
Brandon S. Allbery
allbery at ncoast.ORG
Mon May 8 04:21:08 AEST 1989
As quoted from <853 at per2.UUCP> by dag at 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 at ncoast.org
uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery at hal.cwru.edu
Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser
More information about the Comp.sources.bugs
mailing list