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: 692630491 References: X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 974016695 24.20.190.201 (Sun, 12 Nov 2000 00:11:35 PST) Organization: @Home Network NNTP-Posting-Date: Sun, 12 Nov 2000 00:11:35 PST Newsgroups: comp.lang.ada Date: 2000-11-12T00:00:00+00:00 List-Id: >I used the get_immediate (char, boolean). > >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 ';'.