From: Fozzie Bear (fozzie@turtle.apana.org.au)
Date: 08/14/93


From: fozzie@turtle.apana.org.au (Fozzie Bear)
Subject: Ncurses, how do I...
Date: Sat, 14 Aug 1993 12:58:02 GMT

I am trying to do some C programming under Linux. I am having trouble with
a particular routine I am pretty sure it's in the ncurses library. What am
I trying to do is the following.

Print some text, then have the user input *1* character of information.
getchar() only works if you hit carriage return. I want the user to just hit
one key on the keyboard and then have that keystroke returned to the calling
part of the program. Sort of like an inkey function in BASIC.

My C is a little rusty, so please email me with any info to help solve this
problem. I am also then interested to see what command syntax I need to use
to cc (what -l options do I need to use?)

Thanks,
Fozzie