🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2123

Re: screen bugs/features

#2123
From: pwolfe
Date: Mon, 06 Mar 1989 15:14
24 lines
1657 bytes
/* Written by davison@drivax.DRI in kailand:comp.sources.bugs */
>
> In article <2800013@kailand> pwolfe@kailand.KAI.COM writes:
> >The two different cursor movement commands after the two ClearScreen calls
> >in ansi.c are correct.
> 
> The problem with the two Goto()  lines is not where they are sending the
> cursor TO but where they think they are coming FROM.  In both cases they
> have just called ClearScreen() which outputs the termcap variable  `cl'.
> This variable by definition both homes the cursor and clears the screen.
> Thus, in the <esc>c code, the Goto() is erroneous and should be removed.

On the BSD TERMCAP(5) manpage, "cl" is defined as "clear the screen".  It
does not mention "and homes the cursor" anywhere.  Maybe on the terminal you
use, clearing the screen homes the cursor, but this is *NOT* true for every
terminal.  If you remove that Goto(), then you will break screen for some
terminals.  While this might not affect you, but if you post patches to the
net, you might break it for someone else.

Then again, since you are going to send your patches through comp.sources.unix,
at least it probably won't get broken until sometime in the 1990's.  :-)

	Patrick Wolfe  (pat@kai.com,  kailand!pat)
Technical Details
Message-ID: <2800015@kailand>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc!uxc.cso.uiuc.edu!kailand!pwolfe
References: <4318@drivax.DRI>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc!uxc.cso.uiuc.edu!kailand!pwolfe
From: pwolfe@kailand.KAI.COM
Newsgroups: comp.sources.bugs
Subject: Re: screen bugs/features
Message-ID: <2800015@kailand>
Date: 6 Mar 89 15:14:00 GMT
References: <4318@drivax.DRI>
Lines: 24
Nf-ID: #R:drivax.DRI:4318:kailand:2800015:000:1231
Nf-From: kailand.KAI.COM!pwolfe    Mar  6 09:14:00 1989