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-14 04:51:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!uio.no!uninett.no!newsfeed1.eu.ignite.net!/usr/lib/news!nasal.pacific.net.au!not-for-mail From: Ross Higson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5a) Gecko/20030718 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> <3F3AE473.9050506@spam.com> In-Reply-To: <3F3AE473.9050506@spam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 14 Aug 2003 21:49:51 +1000 NNTP-Posting-Host: 61.8.10.173 X-Complaints-To: news@pacific.net.au X-Trace: nasal.pacific.net.au 1060861902 61.8.10.173 (Thu, 14 Aug 2003 21:51:42 EST) NNTP-Posting-Date: Thu, 14 Aug 2003 21:51:42 EST Organization: Pacific Internet (Australia) Xref: archiver1.google.com comp.lang.ada:41438 Date: 2003-08-14T21:49:51+10:00 List-Id: If you want a fairly complete screen package for 98/NT/2000 etc, I have an Ada Terminal Emulator package that I use to replace the Windows/DOS console I/O subsystem. It supports font attributes and colors, resizable screens and views, addressable screen coordinates, scrolling regions etc etc. It supports ANSI control sequences, but you don't need to use them - a full Ada API is included, as well as a replacement for Text_IO that is good enough for many applications. Requires GNAT 3.14 or later, and also GWindows 1.1. You can get it at http://www.zipworld.com.au/~rossh. Ross Higson. Jeffrey Carter wrote: > 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. >