tcgetattr() doesn't support 50 baud
Lapo Luchini
lapo@lapo.it
Fri Jun 23 09:42:00 GMT 2006
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_serial.cc?rev=1.66&content-type=text/x-cvsweb-markup&cvsroot=src
http://ecos.sourceware.org/ml/cygwin-patches/2005-q3/msg00071.html
It seems that support for 50 baud rate was forgotten, so... tcgetattr
returns "EINVAL" if the serial is set that way.
Setting it to 50 baud using tcsetattr works correctly though.
For the one of you wondering why on earth should anyone use 50 baud, the
answer is: DCF77 serial receivers ;-)
I'll try and add the support for B50 in in and send a patch ASAP.
--
Lapo Luchini
lapo@lapo.it (OpenPGP & X.509)
www.lapo.it (Jabber, ICQ, MSN)
More information about the Cygwin-apps
mailing list