🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2228

Re: curses/termcap vs. autowrap

#2228
From: John Gilmore
Date: Tue, 09 May 1989 06:14
19 lines
1319 bytes
This is a known problem with a known (but unimplemented) solution.

The problem is that there are terminals that autowarp, terminals that
don't, and terminal where you have no idea whether they do.  (VT100's
are among these last, since it's controlled by a DIP switch and can't
be changed or interrogated by the host.)

Unfortunately, the termcap "am" capability only has two meanings, and
neither of them is "I don't know whether it autowraps".  Adding the
"xm" capability only complicates things, it doesn't solve this basic
problem.

The solution is for programs and libraries to ignore the "am" capability,
and to always follow a character in column 80 with a cursor positioning
code.
-- 
John Gilmore    {sun,pacbell,uunet,pyramid,amdahl}!hoptoad!gnu    gnu@toad.com
  A well-regulated militia, being necessary to the security of a free State,
  the right of the people to keep and bear arms, shall not be infringed.
Technical Details
Message-ID: <7215@hoptoad.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hoptoad!gnu
References: <853@per2.UUCP> <4065@ficc.uu.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hoptoad!gnu
From: gnu@hoptoad.uucp (John Gilmore)
Newsgroups: comp.sources.bugs
Subject: Re: curses/termcap vs. autowrap
Message-ID: <7215@hoptoad.uucp>
Date: 9 May 89 06:14:17 GMT
References: <853@per2.UUCP> <4065@ficc.uu.net>
Organization: Grasshopper Group in San Francisco
Lines: 19