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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,19d07d96f103778e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny02.POSTED!da342007!not-for-mail From: "stephane richard" Newsgroups: comp.lang.ada References: Subject: Re: Why do the escape sequences not work? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: Date: Sat, 02 Oct 2004 12:58:08 GMT NNTP-Posting-Host: 141.149.82.128 X-Complaints-To: abuse@verizon.net X-Trace: trndny02 1096721888 141.149.82.128 (Sat, 02 Oct 2004 08:58:08 EDT) NNTP-Posting-Date: Sat, 02 Oct 2004 08:58:08 EDT Xref: g2news1.google.com comp.lang.ada:4560 Date: 2004-10-02T12:58:08+00:00 List-Id: "GlesgaMick" 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.