X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=wfsiH7T6X7YA:10 a=tlGsljkdg-MZsXchFUYA:9 a=_FTNEdY_9sOw3tld75GBsAglpFkA:4 a=w_pzkKWiAAAA:8 a=nCumd8Dbnyd6Th4m_goA:9 a=zXUjo5d7Sk7wyKjuu9JNTOGZTqQA:4 a=66msUWWtX2wA:10 Date: Sat, 01 Aug 2009 18:21:35 -0600 From: ERIC HO Subject: Fwd: [1.7] bash loop and mintty hung issue To: cygwin AT cygwin DOT com Message-id: MIME-version: 1.0 Content-type: multipart/mixed; boundary=--eae3377e20e955c325e1 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 ----eae3377e20e955c325e1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi Andy, FYI. I have tested out on my Linux machine running bash 3.2.48 (instead of 3.2.49 as on cygwin). I don't have this problem with bash under xterm with set -o vi and pressing shift PF key. Does this problem happen to you with set -o vi and pressing shift PF key when using mintty in cygwin? Thanks. Eric. ----eae3377e20e955c325e1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: from [10.0.144.232] (Forwarded-For: [10.0.146.232]) by pd7ims2.prod.shaw.ca (mshttpd); Sat, 01 Aug 2009 13:17:53 -0600 From: ERIC HO To: cygwin AT cygwin DOT com Message-ID: Date: Sat, 01 Aug 2009 13:17:53 -0600 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) MIME-Version: 1.0 Content-Language: en Subject: Fwd: [1.7] bash loop and mintty hung issue X-Accept-Language: en Priority: normal Content-Type: multipart/mixed; boundary="--e0720e72da518633312" This is a multi-part message in MIME format. ----e0720e72da518633312 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi Andy, yes the same happens in xterm. I found out the cause of the problem. I have the following statement in my .bashrc: set -o vi Not sure why this would casue the problem of using shift PF key and causing terminal hung and bash looping. Thanks Eric. ----e0720e72da518633312 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: from [10.0.144.234] (Forwarded-For: [10.0.146.234]) by pd7ims2.prod.shaw.ca (mshttpd); Sat, 01 Aug 2009 08:51:13 -0600 From: ERIC HO To: cygwin AT cygwin DOT com Message-ID: Date: Sat, 01 Aug 2009 08:51:13 -0600 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) MIME-Version: 1.0 Content-Language: en Subject: Fwd: [1.7] bash loop and mintty hung issue X-Accept-Language: en Priority: normal Content-Type: multipart/mixed; boundary="--d2ea027e29a739125fe1" This is a multi-part message in MIME format. ----d2ea027e29a739125fe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit I did some more testing. When in mintty, if I press shift and any PF key, the bash process will go to 50 % CPU. Thanks. ----d2ea027e29a739125fe1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: from [10.0.144.233] (Forwarded-For: [10.0.146.233]) by pd7ims2.prod.shaw.ca (mshttpd); Fri, 31 Jul 2009 18:34:24 -0600 From: ERIC HO To: cygwin AT cygwin DOT com Message-ID: Date: Fri, 31 Jul 2009 18:34:24 -0600 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) MIME-Version: 1.0 Content-Language: en Subject: [1.7] bash loop and mintty hung issue X-Accept-Language: en Priority: normal Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit I'm running cygwin 1.7.0(0.212/5/3), bash 3.2.49(23), mintty 0.4.4. I use C:\cygwin\bin\mintty.exe - and get a terminal session. I then press shift F12. The window just lock up and the Windows Task Manager shows bash.exe using 50% of cpu. When I close the hung window, bash.exe task is gone and cpu usage back to normal. When I use the cygwin console, this problem does not happen. Not sure whether this problem has been reported yet. Thanks. Eric. ----d2ea027e29a739125fe1-- ----e0720e72da518633312-- ----eae3377e20e955c325e1 Content-Type: text/plain; charset=us-ascii -- 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 ----eae3377e20e955c325e1--