comp.lang.ada
 help / color / mirror / Atom feed
From: aurele.vitali@sympatico.ca (Aurele Vitali)
Subject: Re: Newbie: display control
Date: 2 Mar 2003 13:30:30 -0800
Date: 2003-03-02T21:30:30+00:00	[thread overview]
Message-ID: <5600f988.0303021330.5a1ce83b@posting.google.com> (raw)
In-Reply-To: b3t46r$mfe$1@bob.news.rcn.net

"Frank J. Lhota" <NOSPAM.FrankLho@rcn.com> wrote in message news:<b3t46r$mfe$1@bob.news.rcn.net>...
> > "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.



  reply	other threads:[~2003-03-02 21:30 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-01 23:27 Newbie: display control svaa
2003-03-02  0:12 ` tmoran
2003-03-02  1:30 ` David C. Hoos, Sr.
2003-03-02 10:11 ` Gautier
2003-03-02 11:54   ` Frank J. Lhota
2003-03-02 12:53   ` Larry Kilgallen
2003-03-02 14:24     ` Frank J. Lhota
2003-03-02 21:30       ` Aurele Vitali [this message]
2003-03-04 11:02     ` Gautier
2003-03-03 20:17 ` Stephen Leake
2003-03-03 22:04   ` John R. Strohm
2003-03-04 15:56   ` Frank J. Lhota
2003-03-04 17:45     ` Stephen Leake
2003-03-05  8:44       ` Ada2005 clear screen etc Peter Hermann
2003-03-05 13:40         ` Preben Randhol
2003-03-05 14:42           ` Peter Hermann
2003-03-05 14:45             ` Preben Randhol
2003-03-05 15:12               ` Peter Hermann
2003-03-06 13:04               ` Marin David Condic
2003-03-16  4:37                 ` Robert I. Eachus
2003-03-16 11:04                   ` Preben Randhol
2003-03-17 21:17                     ` Randy Brukardt
2003-03-18  8:48                       ` Preben Randhol
2003-03-18  9:23                         ` Preben Randhol
2003-03-18 20:31                         ` Randy Brukardt
2003-03-19  8:13                           ` Preben Randhol
2003-03-05 22:20           ` Frode Tennebø
2003-03-05 22:27           ` Frode Tennebø
2003-03-05 16:52         ` sk
2003-03-05 17:44           ` Stephen Leake
2003-03-05 20:46             ` Larry Kilgallen
2003-03-06 13:09               ` Marin David Condic
2003-03-06 19:52                 ` Stephen Leake
2003-03-07 12:49                   ` Marin David Condic
2003-03-06 19:54         ` sk
replies disabled

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