One Character from Keyboard w/o hitting Enter?

Can Ruby be made to return control to the program from a
getc or $stdin.sysread( 1) without the User having to hit Enter?

Thanks,

Hi,

···

In message “One Character from Keyboard w/o hitting Enter?” on 02/11/03, Mark msimonc@hotmail.com writes:

Can Ruby be made to return control to the program from a
getc or $stdin.sysread( 1) without the User having to hit Enter?

There’s no portable way. What’s you platform.

						matz.

Thanks. The Platform is:
Cygwin 1.3.12(0.54/3/2) under Windows ME,

Mark