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,573eaaf4512d4a54 X-Google-Attributes: gid103376,public From: tmoran@acm.org Subject: Re: Reading the keyboard buffer Date: 2000/11/12 Message-ID: #1/1 X-Deja-AN: 692819267 References: X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 974062743 24.20.190.201 (Sun, 12 Nov 2000 12:59:03 PST) Organization: @Home Network NNTP-Posting-Date: Sun, 12 Nov 2000 12:59:03 PST Newsgroups: comp.lang.ada Date: 2000-11-12T00:00:00+00:00 List-Id: > > >When I press a function key though, it doesn't grab it... > > What compiler and OS are you using? Gnat 3.13p under Win95 returns > > the function keys in PC standard fashion as an ascii.nul character > > followed immediately by a second character indicating the particular > > function key. e.g. F1 returns ascii.nul then ';'. > I have no idea what compiler I'm using. All I know is I'm using ObjectADA > 7.2. , a demo version. Got it off the site of Aonix. Interesting. It works OK in (regular) OA 7.2 for me when linked as a Windows app (but run in a console window), but ignores the function keys when linked as a console app. Sounds like a question for Aonix user's mailing list.