delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/12/04:06:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100530060043.GC3251@trixie.casa.cgf.cx>
References: <4BF1B307 DOT 20507 AT ntlworld DOT com> <AANLkTinQuDlPPsrL51C-fAhQRegeXxr7suIny2Hfc1d7 AT mail DOT gmail DOT com> <20100530060043 DOT GC3251 AT trixie DOT casa DOT cgf DOT cx>
Date: Mon, 12 Jul 2010 09:06:14 +0100
Message-ID: <AANLkTik3iqrreNkbhx-_KklTXqnVKj2BLUCO-E-fVI4K@mail.gmail.com>
Subject: Re: 1.7.5 cannot bg mintty
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 30 May 2010 07:00, Christopher Faylor wrote:
> On Sat, May 29, 2010 at 11:32:23PM +0100, Andy Koppe wrote:
>>There's also another issue with the ^Z not taking effect immediately
>>due to signal handling being disabled while mintty waits for Windows
>>events, but that would require some fairly major restructuring to fix,
>>so leaving that for later.

Fixed in mintty 0.8-beta1, now available from mintty.googlecode.com.

>> Looking at rxvt, the right thing to do is a
>>select() on the pty device and /dev/windows instead of mintty's
>>current approach using multiple threads and
>>MsgWaitForMultipleObjects.)
>
> ...assuming that still works. =C2=A0I wonder if anyone has used that
> interface in the last few years.
>
> But, then, I dunno. =C2=A0Maybe rxvt uses it.

Yep, rxvt does use /dev/windows; I double-checked via /proc/<id>/fd.
XWin uses it too. It allowed getting rid of quite a bit of complexity
in mintty's I/O handling code.

Andy

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

- Raw text -


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