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> <20100530060043 DOT GC3251 AT trixie DOT casa DOT cgf DOT cx> Date: Mon, 12 Jul 2010 09:06:14 +0100 Message-ID: Subject: Re: 1.7.5 cannot bg mintty From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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//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