[comp.sys.amiga.tech] raw mode without blocking?

rbd@spice.cs.cmu.edu (Roger Dannenberg) (01/08/91)

I'd like to use the shell console for i/o, but I want a signal when
type-in is available. (My program can then wait on multiple input sources
such as a timer and MIDI).  I currently do this by opening a new window
and keeping an outstanding request to a console via SendIO().  Whenever
a character arrives, I process it and ask for more.  The problem
with doing this to the shell window's console is that when you exit, there
is still a pending input request.  Can the request be cancelled?  Does
anyone have some C code that gets around this?  -Roger