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,88a551d32010f53f X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: clearing a screen in ada? (new to ada) Date: 2000/03/07 Message-ID: #1/1 X-Deja-AN: 594055278 References: <8a19bg$r6n$1@bunyip.cc.uq.edu.au> X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 952391066 207.214.211.40 (Mon, 06 Mar 2000 17:04:26 PST) Organization: SBC Internet Services NNTP-Posting-Date: Mon, 06 Mar 2000 17:04:26 PST Newsgroups: comp.lang.ada Date: 2000-03-07T00:00:00+00:00 List-Id: >is there just no way that ADA can place cursor's on non ANSI standard desktops? In some cases the answer may be yes. Your typical missile, for instance, has no "ANSI standard desktops", and indeed even an Ada program cannot place a cursor on a non-existent screen. However, the original question was rather specific: >I am using GNAT on a PC using the ADAGIDE, we basically are only >allowed to use the standard libs/packages that come with gnat, and I was >hoping to find infor for moving the cursor round the screen such as using a I think Mike Feldman's "screen" package is normally automatically installed in the act\gnat\examples directory. If the lack of ANSI screen control prevents its use, and using anything from outside the GNAT installation is really disallowed, then either OS calls or hardware IO are obviously required, both of which can be done with GNAT. As I recall, Cohen's book "Ada as a second language" has an example of direct screen access on a PC.