CompuServe Messages

#IO_STATUin serial iob

    21-Feb-88 14:45:41
Sb: #IO_STATUin serial iob
Fm: Ed Cruse 73307,1465
To: All
All, The problem that I am having, is that flag #11 in IO_STATUS of the serial io message block, never sets. This flag is the (transmit x-OFFed) flag. What I am doing, is writing a terminal program. I've created a secondary process from within the main program, and this process sends out a SDCMD_QUERY command to the serial port four times a second. Each time the command is completed flag #11 is tested to see if the serial port has been x-OFFed. Well the flag never sets, even when the serial port IS x-OFFed. Now I have about a 90% confidence in the routine doing this. The reason being, I can have the routine look at flag #5, which is the (carrier detect) of IO_STATUS, and run the carrier detect line up and down, and the routine does just what it is suppose to do. It prints the appropriate response to the title bar. It even does this when the serial port is x-OFFed and the main program is hung up in a Wait, waiting for an x-on character to come along. I also tried looking a flag #12 which is the (received x-OFFed) flag. Still no luck. What I would like to know is, is this a bug in the serial device or is there some tricky little thing that I have to do to cause the serial device to update flag #11. In other words, what I'am I doing wrong? I sure would appreciate some help on this, thanks. Ed