xon/xoff
18-Jun-86 02:05:25
Sb: #23136-xon/xoff
Fm: wayne hamilton 73047,544
To: Jim Nangano/SYSOP 76703,4254
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
i've been reading this thread waiting for SOMEONE to mention SDCMD_QUERY.
before you do a CMD_READ, set io_Command to this value and DoIO(). upon
return, io_Actual contains the number of characters in the serial.device
input buffer waiting to be read. use that value (or 1 if it's 0) for
io_Length of your CMD_READ request. changing the subject slightly, i see a
lot of serial device programs doing a lot of busy waiting on CheckIO(). be
ashamed of yourselves! join the multi-tasking generation! let Exec do the
waiting for you, productively. other tasks can do useful work meanwhile. do
you really want to try to run an editor in a second window while your
download is soaking cycles waiting for a slow modem?