Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!spice.cs.cmu.edu!rbd From: rbd@spice.cs.cmu.edu (Roger Dannenberg) Newsgroups: comp.sys.amiga.tech Subject: raw mode without blocking? Message-ID: <11530@pt.cs.cmu.edu> Date: 7 Jan 91 19:34:23 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 8 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