delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/15/01:10:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+igS0eOLFxEatTZWjbHuLH
Date: Sat, 15 Dec 2012 01:09:42 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mintty deadlocks when pasting very long lines of text
Message-ID: <20121215060942.GA2444@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <50CB8313 DOT 3010604 AT cs DOT utoronto DOT ca>
MIME-Version: 1.0
In-Reply-To: <50CB8313.3010604@cs.utoronto.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Fri, Dec 14, 2012 at 02:50:43PM -0500, Ryan Johnson wrote:
>Hi all,
>
>I just tried to paste a rather large snippet of text into mintty (320kB) 
>that turns out to contain no newlines. The mintty window is completely 
>locked now, and the Windows clipboard is unusable.
>
>The command was simple:
>
>$ cat > foo.txt
>
>Inserting a few thousand line endings at regular intervals allows the 
>operation to complete in about a second. I suspect bash caused the 
>problem (attempting to buffer up a whole line befor sending it on?), but 
>I don't think it should be able to bring down the terminal like that.
>
>Thoughts?

Yep.  "That's the way it works"

Someone reports something like this every few months.  You undoubtedly
hit a limitation of Cygwin's pty handling.

cgf

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