X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 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=-Bwb7W-nneuxzbjN18MA:9 a=aMXwJDUquqnLYoc19nUqCpJcT-8A:4 a=w_pzkKWiAAAA:8 a=oXmaoYjSu-qdJoM-gu0A:9 a=WC_V3pROructJqcfAqKnm8vNbvcA:4 a=66msUWWtX2wA:10 Date: Sat, 01 Aug 2009 13:17:53 -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=--e0720e72da518633312 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 ----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 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 ----e0720e72da518633312--