On Sat, Oct 9, 2010 at 5:41 PM, [email protected] <[email protected]> wrote:

> serial-port: open/lines/direct/no-wait serial://port1/9600/8/none/1

I suspect the /LINES/DIRECT/NO-WAIT combination does not work as you
would expect. It does not really wait for the end of the line to
return something.

It's probably better to avoid /LINES in this case and look out for the
newline character yourself. (You copy from the port, and append to a
buffer; then search for the newline char in the buffer and if there is
one grab the line.)

Maybe this could be reported as a bug (it would be nice if it worked
how you were expecting it to)... but, I don't think you'd want to wait
for a R2 update. :-)
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to