home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!rz.uni-karlsruhe.de!rz.uni-karlsruhe.de!ry41
- From: ry41@rz.uni-karlsruhe.de (Bernhard Moellemann)
- Subject: Re: console device raw mode
- Message-ID: <1992Aug13.123936.5658@rz.uni-karlsruhe.de>
- Sender: usenet@rz.uni-karlsruhe.de (USENET News System)
- Organization: University of Karlsruhe, Germany
- References: <DEREKN.92Aug12113036@vw.ece.cmu.edu>
- Distribution: comp
- Date: Thu, 13 Aug 1992 12:39:36 GMT
- Lines: 23
-
- In article <DEREKN.92Aug12113036@vw.ece.cmu.edu>, derekn@vw.ece.cmu.edu (Derek B. Noonburg) writes:
- >Using raw mode seems to be the only way to do it, but I can't get it
- >to work. I wrote a little test program to send the escape sequence to
- >switch it into raw mode, read some events, and switch it back, but
- >it just hangs on the reads (I'm using the AmigaDOS Read() command,
- >which doesn't do buffering, right?). The switching to/from raw mode
- >works fine alone. It seems like something is swallowing the raw
- >information before it gets to my program.
-
- I was sometimes forced to read/write to CON: in the RAW-mode and used
- the packet ACTION_SCREEN_MODE to do this.
-
- Just call DoPkt(conport,ACTION_SCREEN_MODE,DOSTRUE) to enable RAW-mode and
- use DoPkt(...,DOSFALSE) to go back to cooked output.
-
- DoPkt() is 2.0, for 1.3 you should use a compiler-specific function from
- c.lib.
-
- --
- Bernhard Moellemann <spare space> Chairman of the Nessy-Fan-Club //
- internet=zza@rz.uni-karlsruhe.de <space> FIDO=2:241/7506.42 IRC=ZZA //
- nessynet=008 Lifenet=77:7700/11.42 greetings to my Marsupilami \\ //
- 2000/500 Technical Reference Manual: "A1000, the original Amiga" \X/
-