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: <3AFA64BB.D515CBCF@certum.pl> Date: Thu, 10 May 2001 11:51:55 +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: cygwin AT cygwin DOT com CC: Brian DOT P DOT Kasper AT aero DOT org Subject: Serial Programming Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Cygwiners !, I need a way to set(get) modem lines on serial interfaces (/dev/ttys0 and other). In description posted to the list in april by Brian DOT P DOT Kasper AT aero DOT org concerning serial programming, there is no any solution. Typical Posix solution for example ioctl(fd,TCGETS,...) or ioctl(fd,TCSETS,..) does not work because of absence such constants in termios.h under Cygwin( I do not know if ioctl works under Cygwin at all). I would not like to utilize any Windows api function because I would like to port my module directly from Cygwin to Linux. Does anybody know any way out ? Thanks in advance Jacek -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple