comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
To: "comp.lang.ada mail to news gateway" <comp.lang.ada@ada.eu.org>
Cc: kammar@actcom.co.il
Subject: Re: GNAT Ada - Clear Screen
Date: Fri, 18 Apr 2003 04:19:04 -0500
Date: 2003-04-18T04:19:04-05:00	[thread overview]
Message-ID: <mailman.2.1050657623.25854.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: newscache$828jdh$1ko$1@lnews.actcom.co.il

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" <kammar@deletethispart.actcom.co.il>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
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
> 
> 




  reply	other threads:[~2003-04-18  9:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18  9:05 GNAT Ada - Clear Screen Fingertip
2003-04-18  9:19 ` David C. Hoos, Sr. [this message]
2003-04-18 10:01   ` Fingertip
2003-04-18 16:47     ` tmoran
2003-04-18 17:54       ` Michael Bode
2003-04-18 10:01 ` David Holm
2003-04-18 11:02   ` Fingertip
2003-04-19  1:05     ` David Holm
2003-04-19  3:40     ` Steve
2003-04-18 10:55 ` Jeffrey Creem
2003-04-18 14:25 ` Fingertip
2003-04-18 14:36   ` Preben Randhol
2003-04-18 14:56     ` Fingertip
2003-04-18 15:15       ` Preben Randhol
2003-04-18 19:06 ` Richard Riehle
2003-04-19  6:43 ` Tarjei T. Jensen
2003-04-19 16:25   ` Aurele Vitali
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox