This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mintty deadlocks when pasting very long lines of text


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]