home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!mips!decwrl!csus.edu!netcom.com!netcomsv!terapin!paulk
- From: paulk@terapin.com (Paul Kienitz)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: console device raw mode
- References: <1992Aug14.180224.2182@jato.jpl.nasa.gov>
- Message-ID: <paulk.15lq@terapin.com>
- Date: 15 Aug 92 02:14:58 PST
- Organization: BBS
- Lines: 14
-
- > Yes, the original question was about how to read from a RAW with
- > dos.library.
-
- > The reason Read() hangs, is because it will block until the number
- > of char-acters you specified to be read are read!
-
- > One way to escape all this is to abandon the dos.library altogether
- > and use the IO Request mechanisms instead. At least this way you
- > could post an asyn-chronous read for one character (i.e. SendIO)
- > and get signaled when the read completed.
-
- There's no reason you can't read one character at a time with Read(),
- or use asynchronous dos packets. Descending to console.device is
- quite unnecessary, if you're starting with a dos window.
-