tcsetattr ()

2003-10-17 Thread Craig Gullixson
As far as I can tell, the Cygwin 1.5+ releases has broken tcsetattr (). It appears that tcgetattr () works OK, but tcsetattr () seems to have no affect on the tty's settings. In addition, once I have manually configured a port using either stty or the DOS mode command, my routines see a lot of ga

Re: open () and /dev/ttyS0

2003-09-25 Thread Craig Gullixson
It turns out that the permission denied error was due to a typeo causing an attempt to open the serial port a second time (me: bashing head against wall). After that was corrected, tty port works fine with my POSIX tty library. ---Craig > >I have an application where I need to communicate with s

open () and /dev/ttyS0

2003-09-24 Thread Craig Gullixson
I have an application where I need to communicate with some simple controllers via serial commands. I have a package to do the low level open,read,write, and close tasks for a tty port that I have been using for a number of years under Solaris using the standard POSIX tty calls. My problem is tha