ray@jimi.cs.unlv.edu (Ray Tripamer) (08/30/88)
[] 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 ==> <CSI>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