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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d55610eb6069c0c X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: Carriage Return without a linefeed on Win95? Date: 1999/08/17 Message-ID: #1/1 X-Deja-AN: 514038489 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: typ11.nn.bcandid.com 934942963 216.180.15.205 (Tue, 17 Aug 1999 22:22:43 EDT) MIME-Version: 1.0 NNTP-Posting-Date: Tue, 17 Aug 1999 22:22:43 EDT Newsgroups: comp.lang.ada Date: 1999-08-17T00:00:00+00:00 List-Id: J. Marshall wrote in message news:rrjsivg43uk8@corp.supernews.com... > I'm using the GNAT AdaGIDE v6.21p (from GNAT v3.11) to develop some simple > little apps to run on a Windows 95 platform (and know little of Ada, as I am > still learning). I've looked through the documentation, but can not locate > the way to output text to the screen starting at a specific location, to > update a particular area of the display. In C this is fairly easy on a > Windows 95 machine. Is it possible in Ada? > Thanks very much. > JM Yes, it's very possible. Perhaps the easiest way id to use the capabilities of the ANSI.SYS console device driver -- available on DOS and Win9X (i.e., not on NT) The diners program in the gnat examples directory contains a screen package to do just that. It provides for sounding the bell, clearing the screen, and positioning the cursor at a specified row and column.