Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: CVS head bash problem Date: Wed, 23 Apr 2003 20:04:58 -0400 Lines: 32 Message-ID: References: <20030423015402 DOT GB38081907 AT hpn5170x> Reply-To: IDontLikePersonalReplies AT hotmail DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en In-Reply-To: Rolf Campbell wrote: > Rolf Campbell wrote: > I just tried a simple test, created about 100 lines of text, all of them > "cat hhhh". Then copied them into the clipboard and pasted them into an > NT shell running bash. I've appended the important part of the output. > At the end of this, bash is dead (still shows up in ms-task manager, > but doesn't respond to anything (including ^C). I was able to reproduce > this in rxvt as well but it took much longer, and ^C sort-of worked. > After the ^C, I got back to a prompt, but then I tried to run "ps" and > rxvt immediately exited. I have been unable to reproduce using strace. Now that I know about the rxvt paste problem, i went back to working on the NT-console. I can't produce any 'lock-ups' there. Only some very confusing output. It seems that when it decides to run a process in the background, it will still read part of the next line before the background process steals stdin. /home/rcampbell> cat hhhh cat: hhhh: No such file or directory /home/rcampbell> cat hhhh cat: hhhh: No such file or directory /home/rcampbell> cat hhhh /home/rcampbell> cat cat: hhhh: No such file or directory hhhh hhhh cat hhhh cat hhhh cat hhhh cat hhhh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/