Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 , 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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