07-21-04 01:56 AM
In article <cdkds5$m9d$1@news2.rz.uni-karlsruhe.de>,
Daniel Schule <uval@rz.uni-karlsruhe.de> wrote:
> Hi Ng
>
> i was wondering whether it's possible to achive the following
> i want my application to control sound volume with '>' '<'
> characters .. but i don't want the user to press return after
> pressing one of them
>
> i tried getchar() but it blocks waiting for return
> does anybody have a hint for me?
man termios
and look for the section on non-canonical input processing.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
[ Post a follow-up to this message ]
|