comp.lang.ada
 help / color / mirror / Atom feed
From: "stephane richard" <stephane.richard@verizon.net>
Subject: Re: Why do the escape sequences not work?
Date: Sat, 02 Oct 2004 12:58:08 GMT
Date: 2004-10-02T12:58:08+00:00	[thread overview]
Message-ID: <ABx7d.850$6y6.258@trndny02> (raw)
In-Reply-To: d23e6915629caea950f8445632cbd448@localhost.talkaboutprogramming.com


"GlesgaMick" <sikmick@yahoo.com> wrote in message 
news:d23e6915629caea950f8445632cbd448@localhost.talkaboutprogramming.com...
> According to what iv'e read, the commands to clear the screen are:
>
> Ada.Text_IO.Put(Item => ASCII.ESC);
> Ada.Text_IO.Put(Item => "[2J");
>
> on my compuer they simply make the text value of ESC apear followed by the
> [2J.  I'm using Windows ME at the command prompt. and suspect it has
> sometyhing to do with the way the OS recognised escape codes... but ca
> anyone direct me somewhere where i can find the right escape codes?
>
>
I believe you need your ansi.sys driver installed (if that exists in XP 
:-).....it's a console problem. Only with ansi.sys installed (or emulated if 
it can) can these escape commands work. 





  reply	other threads:[~2004-10-02 12:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-02 12:55 Why do the escape sequences not work? GlesgaMick
2004-10-02 12:58 ` stephane richard [this message]
2004-10-02 13:02   ` stephane richard
2004-10-02 13:11     ` stephane richard
2004-10-02 13:37       ` GlesgaMick
2004-10-02 14:34         ` Marius Amado Alves
2004-10-02 14:37         ` stephane richard
2004-10-02 23:21   ` Ross Higson
2004-10-02 23:52     ` Ross Higson
2004-10-03  0:03       ` stephane richard
2004-10-03  0:37   ` Brian May
2004-10-03  1:03     ` Ross Higson
2004-10-03 13:27     ` CBFalconer
2004-10-03 22:46       ` Brian May
2004-10-05 17:45 ` GlesgaMick
2004-10-05 19:15   ` Marc A. Criley
2004-10-05 19:32   ` Frank J. Lhota
2004-10-05 19:54   ` Jeffrey Carter
replies disabled

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