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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa56c83118d748b8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-18 02:20:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!195.40.4.120.MISMATCH!easynet-quince!easynet.net!teaser.fr!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: GNAT Ada - Clear Screen Date: Fri, 18 Apr 2003 04:19:04 -0500 Organization: ENST, France Message-ID: References: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1050657628 33860 137.194.161.2 (18 Apr 2003 09:20:28 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 18 Apr 2003 09:20:28 +0000 (UTC) Cc: kammar@actcom.co.il To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:36279 Date: 2003-04-18T04:19:04-05:00 Your problem is not an Ada (language) issue, but an OS issue. You would have the same problem with any language. Rather than go into all of the possibilities, if you can tell us what OS you're using, and what Ada compiler, we'll be able to give you more directed help. ----- Original Message ----- From: "Fingertip" Newsgroups: comp.lang.ada To: Sent: April 18, 2003 4:05 AM Subject: GNAT Ada - Clear Screen > 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 > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >