delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/25/09:22:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <5061AFFF.6080902@towo.net>
Date: Tue, 25 Sep 2012 15:22:07 +0200
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: mintty: Ctrl-Q does not work?
References: <op DOT wk6rn9deofd6j1 AT nebbiolo>
In-Reply-To: <op.wk6rn9deofd6j1@nebbiolo>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 25.09.2012 12:05, Helmut Karlowski wrote:
> I type
>
> cat [some long ascii-file]
>
> then Ctrl-S (output stops), then Ctrl-Q (terminal hangs, can only be 
> terminated by closing the window).
>
> Using minty 1.1.2 and  1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin
>
> Can anybody reproduce this?
>
Yes, and it seems to be an issue with cat, not mintty:

cat x           hangs
grep . x        works
cat x | grep .  works
grep . x | cat  hangs for seconds repeatedly even without ^S

Killing the cat process sometimes works (releasing mintty),
sometimes it claims "No such process" although it's in the task table (ps).

------
Thomas

--
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