delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/02/17/02:01:42

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: tty.cc fix.
17 Feb 1998 02:01:42 -0800 :
Message-ID: <01BD3B8C.312265C0.cygnus.cygwin32.developers@gater.krystalbank.msk.ru>
Reply-To: cygwin32-developers AT cygnus DOT com
To: "'Ian Lance Taylor'" <ian AT cygnus DOT com>
Cc: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>

Ian Lance Taylor wrote:
> I guess I don't understand this.  I thought it was already safe for
> the master to open and close the tty slave, particularly with the
> patch I checked in a few days ago.  Can you give an example of a
> program which fails without this patch?

Rxvt-2.20 terminal emulator, Xemacs.

>
> I've appended one simple pty testing program I use.  It works on Unix,
> and needs to continue to work on cygwin32.  When it works, it should
> print the output of stty.

Your program hangs in parent's read with this patch. I know the difference 
now - both rxvt and Xemacs sets pty master handle to non-blocking.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


- Raw text -


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