[racket] accessing serial communications on Racket/Windows?...

From: Deren Dohoda (deren.dohoda at gmail.com)
Date: Fri Mar 23 11:29:01 EDT 2012

When I used the serial port in windows I had to flush to send. I also used
the input/output file not two separate ones.
On Mar 13, 2012 1:28 PM, "Matthew Flatt" <mflatt at cs.utah.edu> wrote:

> At Tue, 13 Mar 2012 17:20:12 +0100, Rüdiger Asche wrote:
> > Thanks, that sort of works, but only sort of... here is the portmon
> > trace - it turns out that the open won't quite work, and nothing is
> > output until the port is being closed - looks like some setup of the
> > port is missing (eg setting output buffer size).
> Just to make sure, you're either explicitly setting the output port to
> unbuffered or using `flush-output', and it still doesn't flush?
> Unfortunately, I don't know about setting COM1 parameters. Maybe you
> can use the `mode' shell command via `system'? Our use the FFI to call
> functions like SetupComm()?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120323/6e14564b/attachment.html>

Posted on the users mailing list.