delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/02/04:48:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <d167a87f51e2.4a7487af@shaw.ca>
References: <d167a87f51e2 DOT 4a7487af AT shaw DOT ca>
Date: Sun, 2 Aug 2009 09:48:08 +0100
Message-ID: <416096c60908020148n6fc39e63h8e03f7ee5e24f58d@mail.gmail.com>
Subject: Re: [1.7] bash loop and mintty hung issue
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

2009/8/2 ERIC HO:
> Hi Andy, FYI. I have tested =C2=A0out 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 hap=
pen to you with set -o vi and pressing shift PF key when using mintty in cy=
gwin?

Yep, both in mintty and xterm. And actually I can reproduce it in the
Cygwin console too, by entering the offending keycode manually. After
pressing 'Escape [ 2 4', the prompt looks like this:

(arg: 24)

Pressing ';' at this point causes bash to hang.

The issue only shows up on Cygwin 1.7, not 1.5. Since their bash
versions are almost identical, I'd suspect it's to do with the newer
readline on 1.7.

Andy

--
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

- Raw text -


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