CanDo and SerialManager
Well, I managed tto figure out what was going wrong with my little CanDo
terminal program. Turns out TymNet sends out characters with ascii codes
above 127 — if you don't strip out the 8th bit you end up with what looks
like garbage. Does anyone know why this 'extra' bit is not set to 0 for
simple text?
Now I've got another situation — doing single character i/o over the modem
via ARexx messages is really slow. What's a good way around that? Set the
data buffer larger and deal with bigger chunks? I thought I might miss
partially filled buffers that way (like the famous hanging "ENTER ID:"),
but it seems like SerialManager empties the buffer every time you reset it
with SetBufferSize. So setting SetBufferSize to the same size as it was
previously gets you whatever data is in the buffer. Unfortunately, this
isn't documented so I'm not sure if it works under all circumstances.
Anybody got any other ideas they'd care to share?
– mark