Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!gatech!hubcap!billwolf%hazel.cs.clemson.edu From: billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe,2847,) Newsgroups: comp.lang.ada Subject: Re: How do you read keystrokes in A Message-ID: <5558@hubcap.clemson.edu> Date: 22 May 89 15:43:19 GMT References: <8131@boring.cwi.nl> Sender: news@hubcap.clemson.edu Reply-To: billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu Lines: 16 From article <8131@boring.cwi.nl>, by dik@cwi.nl (Dik T. Winter): >> There should be some means whereby the application writer >> can, in a straightforward and machine-independent way, >> either call some function which will return an object whose >> state will indicate which key was pressed % % But how then does the application writer know which key means what? % (Oh yes, I see it: on this keyboard key 17 is 'A', on that keyboard % key 17 is uparrow.) Moreover, on many systems this is impossible. The keys are generally labeled; e.g., the 'A' key will be labeled A. The function then returns some object whose value indicates an 'A'... Bill Wolfe, wtwolfe@hubcap.clemson.edu