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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa56c83118d748b8,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-18 02:08:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: GNAT Ada - Clear Screen From: Fingertip User-Agent: Xnews/5.04.25 X-NNTP-Posting-Host: line102-246.adsl.actcom.co.il Message-ID: Date: Fri, 18 Apr 2003 09:05:44 GMT NNTP-Posting-Host: 192.114.47.10 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1050656744 192.114.47.10 (Fri, 18 Apr 2003 09:05:44 GMT) NNTP-Posting-Date: Fri, 18 Apr 2003 09:05:44 GMT Organization: Verio Xref: archiver1.google.com comp.lang.ada:36278 Date: 2003-04-18T09:05:44+00:00 List-Id: Hello everyone, This is the first time I post here, so I hope I don't violate any guidelines and/or rules you guys set here. Now, for my question: I am using a GNAT Ada compiler, and I want to be able to clear the console window. I've searched the net for some solutions, but the only solutions I found were: ADA.TEXT_IO.NEW_PAGE; And: ADA.TEXT_IO.NEW_LINE (24); The first solution doesn't really work. It just outputs the ASCII.FF char, but it doesn't do anything. The second solution isn't much help, because it moves the marker to the bottom of the screen. When I try to get it back to the top with: ADA.TEXT_IO.SET_COL (1); ADA.TEXT_IO.SET_LINE (1); It outputs the ASCII.FF character again, but does nothing else. I would appreciate any help you have to offer. Thanks in advace, Fingertip