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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7b30cb68d25aebb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-13 18:23:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread4.news.pas.earthlink.net.POSTED!not-for-mail Message-ID: <3F3AE473.9050506@spam.com> From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: DOS or Windows Console I/O References: <8Gx_a.2094$jw4.1318@nwrdny03.gnilink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Aug 2003 01:23:01 GMT NNTP-Posting-Host: 63.184.104.253 X-Complaints-To: abuse@earthlink.net X-Trace: newsread4.news.pas.earthlink.net 1060824181 63.184.104.253 (Wed, 13 Aug 2003 18:23:01 PDT) NNTP-Posting-Date: Wed, 13 Aug 2003 18:23:01 PDT Xref: archiver1.google.com comp.lang.ada:41422 Date: 2003-08-14T01:23:01+00:00 List-Id: Stephane Richard wrote: > > From what I've read in the Ada95 RM and on multiple source examples, I dont > believe Ada95, be it for DOS or Windows Console Text mode, does colors, or > does rectangular scrolling, or nothing of the sort. (Pascal programmers > will recognize the commands I'm looking for in Ada :-) and for that matter, > they will also know I'm looking for a Crt Library equivalent for ada :-).. I've used Turbo Pascal, and know what you're talking about, but they're not part of Pascal. If you're using DOS or Win 95/98/ME, you can load ANSI.SYS and use ANSI escape sequences to do what you want. This has the advantage that it's portable to most text windows on other systems, such a Xterms on UNIX systems. If you're using NT/2k/XP, that won't work. You need to get something that makes the NT calls. For that I've used NT_Console by Jerry van Dijk. The URL is not included with the distribution, but I suspect a little work with Google should find it for you. -- Jeff Carter "I wave my private parts at your aunties." Monty Python & the Holy Grail