X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Gb 5FE2tjzM0i28jRkSOr1YeQoRxVZ5bgW5mORRrVb5znZZGproXyT/D+REJEmRvcZk mI1PByVZkVf7nqJKyTHiY++napnfJNYnEt+6DI7BfjkAjJCfVjFlZXELawzzeSyF i9fKU6TuZdAnGK0xWvm4yAh23crmI8OGCHDKTShw4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=Vb6evtLZ Unlt4cD3oT7TneiaOrE=; b=qDKrZqaenEgcrV4n3p6N3LTqFO/T9r57HD0NdHfI kaZFISUZGEiQhtUbeP2l0YOHi6RLJjMRuNg6zr7ktxI2D42NpXURGIbETDZG1wMf S2p7uLz1sZtdX6lN2WpOhGALy2qqqRLBD1pfOwqffWGOL592Vt3I8PW1xwtuH41Y +wY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.194.122.7 with SMTP id lo7mr41857558wjb.48.1366747631746; Tue, 23 Apr 2013 13:07:11 -0700 (PDT) In-Reply-To: <20130423173240.GA447@ednor.casa.cgf.cx> References: <20130423173240 DOT GA447 AT ednor DOT casa DOT cgf DOT cx> Date: Tue, 23 Apr 2013 21:07:11 +0100 Message-ID: Subject: Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 On 23 April 2013 18:32, Christopher Faylor wrote: >>Similar happens when doing: >> >>cat /bin/gdb.exe >> >>for example. Something seems to overflow. I can reproduce that one. 'ps' output shows that 'cat' and 'mintty' are both waiting for output to finish, i.e. they're deadlocked waiting for each other's output to be read. O 8276 6764 8276 3860 pty0 1004 20:52:17 /usr/bin/cat O 3448 1 3448 3448 ? 1004 20:34:15 /usr/bin/mintty > It's a long-standing problem for which there is no easy fix. Yep. This situation also happens if you hit a key that sends something during an ongoing cat command. I think what's happening in this particular case is that the gdb binary contains some control sequence that triggers a response to be sent by the terminal, thus triggering this issue in Cygwin's pty implementation. > For now "Just don't do that". Quite. Or just kill the cat. 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