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=-1.3 required=5.0 tests=BAYES_00,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: Alfred Hilscher Subject: Re: clearing a screen in ada? (new to ada) Date: 2000/03/07 Message-ID: <38C50360.50FEA920@icn.siemens.de>#1/1 X-Deja-AN: 594247869 Content-Transfer-Encoding: 7bit References: <38c3fb98$0$16303@motown.iinet.net.au> <8a19bg$r6n$1@bunyip.cc.uq.edu.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Siemens AG Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-07T00:00:00+00:00 List-Id: Another solution: Ok, it not a good way, but what do you think about directly writing in screen memory (WinNT emulates it at B800:0) ? But you would have to write your own screen handling from scratch. Riyaz Mansoor wrote: > > > >not being able to move the cursor back up the screen when I have > > >drawn the box is making this hell > > If you can't/don't use ANSI.SYS, but are doing strictly output, > > how about writing into an array (1 .. 24, 1 .. 80) of Character, > > putting whatever, wherever, and then finally writing all its > > lines to the screen. > > 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?