This is the mail archive of the cygwin@cygwin.com 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: CVS head bash problem


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/


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