From: naasif@eyrie.img.uu.oz.au (Naasif Gierdien)
Subject: Re: Keyboard input
Date: 22 Sep 90 00:21:48 GMT [thread overview]
Message-ID: <1846@eyrie.img.uu.oz.au> (raw)
In-Reply-To: 39@screamer.csee.usf.edu
In article <39@screamer.csee.usf.edu>, stelmack@screamer.csee.usf.edu (Gregory M. Stelmack) writes:
> 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.
I've had the same problem trying to read single keystrokes from the keyboard.
The main difference is i'm running Janus ADA on a standalone
IBM 286/386 compatable. I also have access to the Meridian
ADA Compiler and libraries but being a relatively new user
to ADA i'm not yet sure what it can do.
> 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...
>
At least you're not the one :-)
My second question is :-
I want to be able to put higher order ASCII values ( greater than 127 )
to the screen..using the same ADA and hardware as above.
Any suggestions please post here or email me. (Please excuse my ignorance :-)
next prev parent reply other threads:[~1990-09-22 0:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1990-09-18 20:32 Keyboard input Gregory M. Stelmack
1990-09-19 19:27 ` 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 [this message]
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