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,f297d5b850ee1e61 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-02 13:30:31 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: aurele.vitali@sympatico.ca (Aurele Vitali) Newsgroups: comp.lang.ada Subject: Re: Newbie: display control Date: 2 Mar 2003 13:30:30 -0800 Organization: http://groups.google.com/ Message-ID: <5600f988.0303021330.5a1ce83b@posting.google.com> References: <87f5a614.0303011527.4cb09de2@posting.google.com> <17cd177c.0303020211.7097abb@posting.google.com> NNTP-Posting-Host: 206.172.92.119 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1046640630 6396 127.0.0.1 (2 Mar 2003 21:30:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Mar 2003 21:30:30 GMT Xref: archiver1.google.com comp.lang.ada:34808 Date: 2003-03-02T21:30:30+00:00 List-Id: "Frank J. Lhota" wrote in message news:... > > "Command line window", I presume describes Microsoft systems. Doesn't > > Unix do better ? > > Unix and VMS both support ANSI escape sequences. Win32 does not, but there > are API calls for doing many of the same things. If working on Win32, you can use the following API functions to control your console cursor position (works well with the standard Ada Text_IO package): 1) Wincon.SetConsoleCursorPosition ==> Sets the cursor position (Col, Row) 2) Wincon.SetConsoleTextAttribute ==> Set the text color (including background) 3) Wincon.SetConsoleCursorInfo ==> Changes the corsor shape. You can also check out some of the other Win32 API function in the Win32Ada Wincon package for more functionality.