comp.lang.ada
 help / color / mirror / Atom feed
* How do I read in a character w/out pressing return ?
@ 1990-11-19 12:31 Arne Gehlhaar
  1990-11-21 19:25 ` Andy DeFaria
  0 siblings, 1 reply; 2+ messages in thread
From: Arne Gehlhaar @ 1990-11-19 12:31 UTC (permalink / raw)


Hello

I have Question concerning the input of characters.  I wrote a little
program, to scan through a sequential file, and want to be able to
go forward and backward.  So I wrote :
		direction : character;

		get(direction);
		case ...

The thing is though, that I have to press return every time I enter
the "command".  Is there any way I can make the program accept just
a 'touch of a button'?  I tried looking at the text_io file, but it
turned out, that the thing is a little more complicated than I expected.

As far as I know, there is no ADA command that allows me to do that.
Is there a way of getting around that ?

Thanks for any replys!

Greetings
Arne
received data 988 bytes 5.95 secs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1990-11-21 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-11-19 12:31 How do I read in a character w/out pressing return ? Arne Gehlhaar
1990-11-21 19:25 ` Andy DeFaria

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