Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!oberon!sm.unisys.com!otto!jimi!ray From: ray@jimi.cs.unlv.edu (Ray Tripamer) Newsgroups: comp.sys.amiga.tech Subject: console.device problem Message-ID: <907@jimi.cs.unlv.edu> Date: 30 Aug 88 02:27:26 GMT Reply-To: ray@jimi.cs.unlv.edu (Ray Tripamer) Organization: University of Nevada, Las Vegas Lines: 25 [] I am trying to get a Device Status Report from the console.device, but to no avail. I have followed the procedure in the RKM - I created the message port, I/O request block, open the device, attach it to my open window, using the code fragments in the RKM pretty much verbatim. I can successfully write ANSI commands to move the cursor, clear the screen, clear a line, change to inverse video, etc, and after some playing around, I can successfuly read the special keys (function, arrow keys) as their ANSI escape sequences, as well as regular keys. But when I write the Device Status Report command that is described in the RKM ( 0x9b 0x6e ==> n ) and then do reads until I see an 'R' (the end of the DSR sequence) there doesn't seem to be anything on the input stream. For it to continue on, I have to type in an 'R' at the keyboard. So, does anyone know what I could be doing wrong? I don't know what else to try other that what the manual says. BTW, it behaves exactly the same with ConMan and with the regular console. Thanks. -- Ray Tripamer ray@jimi.cs.unlv.edu