delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/01/20:21:51

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 <ericmho AT shaw DOT ca>
Subject: Fwd: [1.7] bash loop and mintty hung issue
To: cygwin AT cygwin DOT com
Message-id: <d167a87f51e2.4a7487af@shaw.ca>
MIME-version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <ericmho AT shaw DOT ca>
To: cygwin AT cygwin DOT com
Message-ID: <d3feb29f3b34 DOT 4a744081 AT shaw DOT ca>
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 <ericmho AT shaw DOT ca>
To: cygwin AT cygwin DOT com
Message-ID: <f324e70568e6 DOT 4a740201 AT shaw DOT ca>
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 <ericmho AT shaw DOT ca>
To: cygwin AT cygwin DOT com
Message-ID: <d17ec3307f6f DOT 4a733930 AT shaw DOT ca>
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019