comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Bode <m.g.bode@web.de>
Subject: Re: GNAT Ada - Clear Screen
Date: 18 Apr 2003 19:54:28 +0200
Date: 2003-04-18T19:54:28+02:00	[thread overview]
Message-ID: <8765pbu1wr.fsf@320025674319-0001.dialin.t-online.de> (raw)
In-Reply-To: q_Vna.536959$sf5.850654@rwcrnsc52.ops.asp.att.net

tmoran@acm.org writes:

>   I note "ansi.sys" is present in my w2k's winnt\system32 directory, but
> I haven't actually tried it.  Windows really prefers that you use their
> GUI rather than text mode.

This is only for DOS apps. It is not used for Windows apps. You need a
DOS Ada compiler to use ANSI escape codes with NT. The proper
functions for Windows apps are the Windows console API. Specifically
to clear the console screen in Windows use this method:
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b99261

-- 
Fï¿œr OE User: http://learn.to/quote/
OE users please read http://www.uwasa.fi/~ts/http/quote.html
PGP Key: http://home.t-online.de/home/michael_bode/
Legal Disclaimer: Wer Sarkasmus findet, darf ihn behalten.



  reply	other threads:[~2003-04-18 17:54 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 [this message]
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