delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/08/07:03:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 8 Feb 2001 11:48:33 +0000
Message-Id: <G8FSSX$IesNb_qTD6uoBMGRGqLQ8Fr5_sDZ0c3ZL4HVjSqjngMiyFizLk@nomade.fr>
Subject: Serial read
MIME-Version: 1.0
From: "sylvain DOT gommier AT m4x DOT org"<sylvain DOT gommier AT nomade DOT fr>
To: cygwin AT sources DOT redhat DOT com
X-XaM3-API-Version: 1.1.9.1.22
X-SenderIP: 137.194.2.20
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id GAA14956

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019