[plt-scheme] serial port settings

From: Richard Cleis (rcleis at mac.com)
Date: Sun Apr 29 13:32:45 EDT 2007

Although we use it continuously, I haven't recently looked at that  
stuff.  Tonight I might have time to dig it up and make a clean  
example.  I merely read POSIX serial tutorials available on the web,  
wrote a C program that tested from the command line, then used the  
PLT docs to develop an extension.  That was several years ago, using  
the FFI might make more sense now (maybe even then, too).

More details: I used a Keyspan USB-to-serial adapter ($35) on OS X;  
it dutifully puts a standard serial driver in /dev.  All of the  
standard serial driver commands that I need (ie baud, control  
signals) work fine.  I don't know what the Windows developer had to  
change for that port, but it wasn't much.


On Apr 29, 2007, at 8:40 AM, Tom Schouten wrote:

> On Sat, Apr 28, 2007 at 03:03:57AM -0600, Richard Cleis wrote:
>> I was asking you if 'portably' means 'without using an extension.'  I
>> wrote a serial port extension because I wanted to learn to make one,
>> but I am not certain that it was necessary since I didn't ask anyone
>> if something were available.  With very few changes, another person
>> in our group ported it to Windows and Linux (from OS X, PPC).
> got a link?

Posted on the users mailing list.