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,840862173a9768da X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: GPS 4.4.1. ADA 95: Calling ASCII codes for ESC and display row colum control Date: Mon, 10 Jan 2011 20:00:31 -0600 Organization: Jacob Sparre Andersen Message-ID: References: <7a8136c2-07a3-4742-add5-073e87bbae0d@l24g2000vby.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1294711233 20056 69.95.181.76 (11 Jan 2011 02:00:33 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 11 Jan 2011 02:00:33 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news2.google.com comp.lang.ada:17338 Date: 2011-01-10T20:00:31-06:00 List-Id: "Alex Mentis" wrote in message news:igf86g$lpa$1@news.eternal-september.org... > Michael A wrote: > >> I am trying to control the display row,col for terminal >> output of my ADA 95 simple program. ... > You might also look at the "NT/Win95 Console package". I haven't used > that one myself, but it looks like it's generally along the same lines > as the Screen package. Not that it will help the OP much, but the Janus/Ada runtime libraries include a package called System.NT_Console, which provides access to the various console operations of Win32. With that package, he'd get the standard output console handle (only need to do once), then call Set_Console_Cursor_Position to set the position, and then do his write. It would be easy to wrap that to make it easier. For GNAT, I would presume the needed operations are available in the Win32 packages (not sure about the details), although it is easy enough to write pragma Imports to bind them yourself. Randy.