Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery From: allbery@ncoast.ORG (Brandon S. Allbery) Newsgroups: comp.sources.bugs Subject: Re: screen bugs/features Message-ID: <13473@ncoast.ORG> Date: 14 Mar 89 02:25:44 GMT References: <4318@drivax.DRI> <2800015@kailand> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.sources.bugs Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 33 As quoted from <2800015@kailand> by pwolfe@kailand.KAI.COM: +--------------- | /* 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. | > | > have just called ClearScreen() which outputs the termcap variable `cl'. | > This variable by definition both homes the cursor and clears the screen. | | 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 +--------------- Beg your pardon, but... (1) Xenix termcap and Xenix and System V terminfo man pages all say that "cl" homes the cursor. (2) If it doesn't, then why do even BSD termcaps (so you can't argue that SV != BSD, which is irrelevant anyway because all SV termcap stuff comes from BSD; AT&T endorses terminfo, PERIOD) output BOTH sequences for common terminals where it takes separate sequences to clear the screen and home the cursor (ex: all DEC terminals)? I think this argument leaks somewhat. ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@ NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser