I am working at programming in Linux as well. I am used to the getch() command in windows and the getche() [which does the echo] that gets one character from the keyboard and continues right on.
What you rarely get is a real answer. It is a waste of time getting replies like that.
This site:
http://members.cox.net/midian/articles/ansic9.htm
is the 1st I have been able to find that comes close at all.
It uses getch
ar() command BUT you must hit return to continue.
Also :
http://www.linuxjournal.com/article/1138
lists the info on "one-character-at-a-time mode (getch() in DOS)". It seems good to have the device active like this and not waiting for the user forever but who would know to look for this?
I am looking to write a simple texted based game and I really do not want to press enter after every key.
I am looking further myself but if you find or have found anything, please let me know.
kumado