Q:
how can i, under an UNIX system (linux in this case), receive instant
input from the keyboard when i press a key, ie. do not wait for the end of
line.
i guess this is not a compiler-specific question, but anyway i'm using a
pretty much recent gcc.
thank you
A:
You have to use the library named curses. I am not familiar with that, but
you can read the documentation of that.
This is more or less portable for other unices and not only for Linux.
Regards,
Peter
[ back to toc ]