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,88a551d32010f53f X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: clearing a screen in ada? (new to ada) Date: 2000/03/07 Message-ID: <38C533AC.79DF7690@quadruscorp.com>#1/1 X-Deja-AN: 594257287 Content-Transfer-Encoding: 7bit References: <38c3fb98$0$16303@motown.iinet.net.au> <8a19bg$r6n$1@bunyip.cc.uq.edu.au> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 7 Mar 2000 13:52:11 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-07T13:52:11+00:00 List-Id: Riyaz Mansoor wrote: > but wouldn't this put the cursor at the start of the next screen? more > precisely we'd lose the top line as it scrolls down. is there just no way > that ADA can place cursor's on non ANSI standard desktops? There is *always* a way to do whatever you want with Ada. Its a language like any other language and can be made to produce every possible permutation of bits that can be held in a processor's instruction memory. The problem you are looking at here is really an OS or Peripherial problem, not an Ada problem. The questipon is: What terminal or terminal emulator are you using and what commands must it be sent to make it do the things you want to do? I'll bet if you find some documentation on the terminal emulation you are using that somewhere it specifies what character combinations you have to send it to get it to perform various functions. Once you know what those are, the problem is pretty simple. You just need to send those character combinations the same way you'd send any other characters: rely on Text_IO. If you can't find documentation for the terminal emulator, ask here again and specify exactly what you are using and I'm sure someone will know. MDC -- ============================================================= Marin David Condic - Quadrus Corporation - 1.800.555.3393 1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233 http://www.quadruscorp.com/ m c o n d i c @ q u a d r u s c o r p . c o m ***PLEASE REMOVE THE "-NOSPAM" PART OF MY RETURN ADDRESS*** Visit my web site at: http://www.mcondic.com/ "Because that's where they keep the money." -- Willie Sutton when asked why he robbed banks. =============================================================