X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <50CB8313.3010604@cs.utoronto.ca> Date: Fri, 14 Dec 2012 14:50:43 -0500 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: mintty deadlocks when pasting very long lines of text Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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? Ryan -- 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