Article View: comp.sys.amiga.tech
Article #7901raw mode without blocking?
From: Roger Dannenberg
Date: Mon, 07 Jan 1991 19:34
Date: Mon, 07 Jan 1991 19:34
8 lines
922 bytes
922 bytes
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
Technical Details
Message-ID:
<11530@pt.cs.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!spice.cs.cmu.edu!rbdShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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