comp.lang.ada
 help / color / mirror / Atom feed
From: stelmack@screamer.csee.usf.edu (Gregory M. Stelmack)
Subject: Keyboard input
Date: 18 Sep 90 20:32:42 GMT	[thread overview]
Message-ID: <39@screamer.csee.usf.edu> (raw)

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!

             reply	other threads:[~1990-09-18 20:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-09-18 20:32 Gregory M. Stelmack [this message]
1990-09-19 19:27 ` Keyboard input Terry J. Westley
1990-09-20 20:29   ` Gregory M. Stelmack
1990-09-20 23:20   ` Charles H. Sampson
1990-09-21 17:50 ` Andy DeFaria
1990-09-22 20:13   ` Michael Feldman
1990-09-24  8:58     ` Richard A. O'Keefe
1990-09-24 13:58       ` Michael Feldman
1990-09-24 16:27         ` Keyboard input on IBM mainframes Jerry Callen
1990-09-24 17:44           ` Ada " Michael Feldman
1990-09-26 13:16             ` ryer
1990-09-26  0:16         ` Keyboard input Chris Holl @adonna
1990-09-22  0:21 ` Naasif Gierdien
1990-09-22  0:25   ` Naasif Gierdien
1990-09-24 16:18 ` Andy DeFaria
1990-09-25 14:11   ` Edward Falis
1990-09-25 15:10   ` Michael Feldman
1990-09-25 18:13   ` John Prentice
1990-09-25 13:36 ` stt
  -- strict thread matches above, loose matches on Subject: below --
1990-09-24 19:00 "EDWARD CRAGG"
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox