delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/17/15:55:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs
Date: Fri, 17 Oct 2003 14:55:26 -0500 (CDT)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT eos
To: cygwin AT cygwin DOT com
Subject: Re: tcsetattr ()
In-Reply-To: <20031017194435.GA12128@redhat.com>
Message-ID: <Pine.GSO.4.56.0310171448440.823@eos>
References: <200310171429 DOT h9HETQ3p004794 AT mailhost DOT nso DOT edu>
<20031017194435 DOT GA12128 AT redhat DOT com>
MIME-Version: 1.0

On Fri, 17 Oct 2003, Christopher Faylor wrote:

> On Fri, Oct 17, 2003 at 08:29:26AM -0600, Craig Gullixson wrote:
> >As far as I can tell, the Cygwin 1.5+ releases has broken tcsetattr ().
> >It appears that tcgetattr () works OK, but tcsetattr () seems to have
> >no affect on the tty's settings.
>
> You aren't providing any details.  What is a tty?  A windows console?
> A pty?  A bash session with CYGWIN=tty?  A serial line?
>
> Obviously tcsetattr works fine for ptys, windows consoles and when
> CYGWIN=tty so I suspect that you are referring to a serial device.
>
> Since no cygwin developer that I know of routinely checks serial lines
> it is possible that something is broken.  It is unlikely that this has
> anything to do with increasing sizes to 64 bits unless you haven't
> recompiled and relinked your application.
>
We routinely use /dev/com1 to talk to serial joysticks.  tcsetattr() WFM.
Not that I am really a "cygwin developer".

> So, as always, we are in the beloved territory of PTC.
>
Incidentally, I am working on a trivial cleanup patch to fix:

http://www.cygwin.com/ml/cygwin/2003-10/msg00708.html

I just haven't had time to test it thoroughly yet.  I have no idea about
this person's second "random hang" problem.  It wasn't very eloquently
described.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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