This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Serial read


Hi all,

I'm a newbie in this list, please be patient!

I have downloaded the latest version of Cygwin. It does a
great job!

But I have troubles porting a serial connection tool from
Unix, using the standard 'open', 'read', 'write' and
the 'termios' API. I have tested almost all kind of
terminal settings, they match their counterpart on Unix
except that I can write to the serial device but *not
read* from it: the 'read' call blocks and never returns
whatever I may send on the line.

I am using Win98 and the latest cygwin. My serial ports
are working fine under Linux, but I am not a Windows
specialist...
Could anyone send me a piece of working code with
validated terminal settings, so that I could compare with
mine?

Thanks!
Sylvain
-------------------
L'e-mail gratuit pas comme les autres.
Pour créer votre adresse : http://www.nomade.fr/courrier/ouvrir.asp
NOMADE.FR, pourquoi chercher ailleurs ?



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]