comp.lang.ada
 help / color / mirror / Atom feed
From: David Holm <david@realityrift.com>
Subject: Re: GNAT Ada - Clear Screen
Date: Fri, 18 Apr 2003 10:01:27 GMT
Date: 2003-04-18T10:01:27+00:00	[thread overview]
Message-ID: <20030418120111.2cea818c.david@realityrift.com> (raw)
In-Reply-To: newscache$828jdh$1ko$1@lnews.actcom.co.il

Hi,
there is an ncurses binding for Ada. I suggest you get that if you want to be able to do
advanced console manipulations that work on all kinds of terminals.

//David Holm

On Fri, 18 Apr 2003 09:05:44 GMT
Fingertip <kammar@deletethispart.actcom.co.il> wrote:

> 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



  parent reply	other threads:[~2003-04-18 10:01 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.
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 [this message]
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