steven woody <narkewoody <at> gmail.com> writes: > > Hi, > > under cygwin, how can i set a serial port's attributes? such as, > speed, trun on or turn off hardware flow control. thanks
A little more googling would show that you are not the first person to ask this question. The short answer is the same way as you would on Linux. From the command line, 'stty -F /dev/ttyS0' works pretty well. From C code, functions like ioctl() and tcgetattr() do the trick. Therefore, since it is like Unix, it is no longer a cygwin-specific question, and you might find relevant information from searching more than just the cygwin list. -- Eric Blake -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/