🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2116

Re: screen bugs/features

#2116
From: Wayne Davison
Date: Tue, 28 Feb 1989 23:56
21 lines
1661 bytes
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.
The call in the <esc>[2J code is correct.  I guess I wasn't clear enough
in my brevity -- I mentioned both of the Goto()  calls because they were
contradictory in the FROM fields,  not because they (correctly) differed
in the TO fields.

I've received quite a few requests for my diffs, and I'm having a brief
discussion with Oliver Laumann about what he'd like to see done with my
screen patches (which I sent to him awhile back).  My current plans are
to post my changes to comp.sources.unix unless Oliver has objections or
plans to do something official with them.
--
 Wayne Davison                                        ...amdahl!drivax!davison
Technical Details
Message-ID: <4339@drivax.DRI>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!tut.cis.ohio-state.edu!bloom-beacon!apple!amdahl!drivax!davison
References: <4318@drivax.DRI> <2800013@kailand>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!tut.cis.ohio-state.edu!bloom-beacon!apple!amdahl!drivax!davison
From: davison@drivax.DRI (Wayne Davison)
Newsgroups: comp.sources.bugs
Subject: Re: screen bugs/features
Message-ID: <4339@drivax.DRI>
Date: 28 Feb 89 23:56:31 GMT
References: <4318@drivax.DRI> <2800013@kailand>
Reply-To: davison@drivax.UUCP (Wayne Davison)
Organization: Digital Research, Inc.
Lines: 21