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.1 required=5.0 tests=BAYES_20,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!ziggy!screamer!stelmack From: stelmack@screamer.csee.usf.edu (Gregory M. Stelmack) Newsgroups: comp.lang.ada Subject: Keyboard input Summary: Can I get single keystrokes? Message-ID: <39@screamer.csee.usf.edu> Date: 18 Sep 90 20:32:42 GMT Followup-To: comp.lang.ada Distribution: comp.lang.ada Organization: University of South Florida, Department of Computer Science and Engineering List-Id: Is there any way in Ada to read single keystrokes from the keyboard? Not the GET from TEXT_IO which requires a carriage return before sending the data, but as soon as a key is pressed have it sent? We have a whole Ada class that would like to know, and no one here can help figure it out. So, I ask the net. We've checked books and can't figure it out. This is for a Data Structures class where we want to write our own I/O routines to validate data. But to do what we want to do, we need keys as soon as they are hit. There should be an easy way to do it, but we can't find it. Any ideas? E-mail if its simple so this group doesn't get cluttered due to my ignorance... Thanks, -- Greg Stelmack -- Email: stelmack@sol.csee.usf.edu -- USmail: USF Box 1510, Tampa, FL 33620-1510 -- Amiga: the only way to compute!