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.6 required=5.0 tests=BAYES_05,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6b8df82ba3cba40f,start X-Google-Attributes: gid103376,public From: gje9947@msu.oscs.montana.edu (James Eder) Subject: Getting a single key stroke Date: 1996/05/04 Message-ID: <4metj6$ll5@netra.oscs.montana.edu>#1/1 X-Deja-AN: 153049359 organization: Information Technology Center, Montana State University reply-to: gje9947@msu.oscs.montana.edu newsgroups: comp.lang.ada Date: 1996-05-04T00:00:00+00:00 List-Id: Simple question with an expected complex answer. How do you, in ada, get a single keystroke such as an arrow key from the user? Oh, and it must be a somewhat portable method. I'm writing the program for an open VMS system with an Ada 83 compiler. I'd like to do this with just Ada, but I'm also open to the possibility of importing a proc/funct from C or something. Keep in mind in your response that this program is being written for use over a terminal with vt300 emulation so forget about anything too sneaky. Tanks (h intentionally left blank) - James //// (o o) <----- Me! ---oOO--(_)--OOo---------------------------------------------------------------- I think therfore I am - Decartes .oooO Oooo. The computer IS therefore IT THINKS - James Eder ---( )--( )----------------------------------------------------------------- \ ( ) / GJE9947@MSU.OSCS.MONTANA.EDU \_) (_/ ICSAD110@MSU.OSCS.MONTANA.EDU