From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f8d6e18f325edced X-Google-Attributes: gid103376,public From: "Tarjei Tj�stheim Jensen" Subject: Re: Clear screen command? Date: 1998/03/05 Message-ID: <34FE7D3A.B247A1C1@uredd.sjo.statkart.no>#1/1 X-Deja-AN: 331036351 Content-Transfer-Encoding: 7bit References: <6dl7sd$6r0$1@tuvoc.udayton.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: The Norwegian Hydrographic Service Newsgroups: comp.lang.ada Date: 1998-03-05T00:00:00+00:00 List-Id: Jeremy Mlazovsky wrote: > > Right now, I am stuck doing the generic ADA output that pushes the screen up > one line at a time as another line of text is output. > > I need to know how to clear the screen after a certain number of lines have > been output to the screen. > > Is there some way to make it so that the screen is "locked" in one position, > so that text at the top of the screen remains at the top, and subsequent > lines of output go to the bottom of the screen? > This is all completely dependent on the terminal used to view the result. If you want this to work on a DEC compatible terminal, you are lucky, but you will have to read up on the escape sequences that will make the terminal behave like you want. Your luck with other terminals (ansi.sys, etc) may vary.