Re: Bug in stty or /dev/ttySx handling code

2005-08-11 Thread Christopher Faylor
On Thu, Aug 11, 2005 at 10:36:16AM -0600, Troy Curtiss wrote: >Hi Peter, > That was my patch applied back in 02/01/2003 and upon re-examining it, >I believe this is an error. The intended behavior was as follows: > >1) When a baud rate of B0 is passed to tcsetattr(), it should not change >the ac

Re: Bug in stty or /dev/ttySx handling code

2005-08-11 Thread Troy Curtiss
Hi Peter, That was my patch applied back in 02/01/2003 and upon re-examining it, I believe this is an error. The intended behavior was as follows: 1) When a baud rate of B0 is passed to tcsetattr(), it should not change the actual baud rate, but instead drop DTR. 2) In tcgetattr(), the prese

Bug in stty or /dev/ttySx handling code

2005-08-09 Thread Peter Rehley
Hi, I'm seeing problems when I run stty. If I run stty -F /dev/ttyS0, it shows 0 baud. I found this thread from may that has the same issue: http://sourceware.org/ml/cygwin/2005-05/msg00399.html and I found that a patch was applied in 02/01/2003 that seems to prevent setting the baud if th