screen bugs/features
Wayne Davison
davison at drivax.DRI
Wed Mar 1 09:56:31 AEST 1989
In article <2800013 at kailand> pwolfe at 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
More information about the Comp.sources.bugs
mailing list