delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/14/01:40: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
Message-ID: <3AFF6E25.4430C957@certum.pl>
Date: Mon, 14 May 2001 07:33:25 +0200
From: Jacek Trzcinski <jacek AT certum DOT pl>
Reply-To: jacek AT certum DOT pl
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Dario Alcocer <alcocer AT helixdigital DOT com>, cygwin AT cygwin DOT com
Subject: Re: Serial Programming
References: <3AFA64BB DOT D515CBCF AT certum DOT pl> <15098 DOT 42818 DOT 94309 DOT 913410 AT coyote DOT priv DOT helixdigital DOT com>

Hi Dario,
Even in latest cygwin there is no ioctl method  support in object
fhandler_serial responsible
for serial operations. I patched it myself so it works as it should.
Jacek
Dario Alcocer wrote:
> 
> >>>>> "Jacek" == Jacek Trzcinski <jacek AT certum DOT pl> writes:
> 
>     Jacek> Hi Cygwiners !, I need a way to set(get) modem lines on
>     Jacek> serial interfaces (/dev/ttys0 and other)...
>     Jacek> Typical Posix solution for example ioctl(fd,TCGETS,...) or
>     Jacek> ioctl(fd,TCSETS,..) does not work because of absence such
>     Jacek> constants in termios.h under Cygwin
> 
> Which termio stuff is missing from Cygwin?  Maybe you could go through
> your code and determine which ioctl() calls and macros you're using.
> Then, you could compare that list with what's in the cygwin1.dll
> source code.
> 
> The source code for cygwin1.dll is at:
> 
>     ftp://ftp.sunsite.utk.edu/pub/cygwin/latest/cygwin
> 
> Look at the files names *.src.tar.gz, and retrieve the one that
> corresponds to the Cygwin version you're currently using.
> 
> --
> Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
> alcocer AT helixdigital DOT com -- http://www.helixdigital.com

--
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