How to read one character from console, so that the
user doesn't have to press enter after the key?
If I use directly, say getc(), I have to press enter
after a line. I need something like readkey() function
was in Borland's MS-DOG compilers (if I remember right).
This should be pretty easy question. Maybe it's some
ioctl() call but I couldn't find one.
TIA.
--
| Tuukka Toivonen <[EMAIL PROTECTED]> [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/ available]
| Try also finger -l [EMAIL PROTECTED]
| Studying information engineering at the University of Oulu
+-----------------------------------------------------------