delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/13/11:26:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Eric Blake <ebb9 AT byu DOT net>
Subject: Re: Bash 2.05 vs. 3.0 Prompt Behavior
Date: Wed, 13 Jul 2005 15:24:58 +0000 (UTC)
Lines: 29
Message-ID: <loom.20050713T172005-223@post.gmane.org>
References: <42CD7838 DOT 4070107 AT edgedynamics DOT com> <1iwqivjhclfnd.6v1kcb258ulp$.dlg AT 40tude DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Andrew Schulman <andrex <at> alumni.utexas.net> writes:

> > I have tried googling 'bash 3.0 prompt' and did not find any obvious
> > help.  Has anybody else seen this behavior?
> 
> The 'extra space in the prompt' bug is well known; see e.g.
> http://sources.redhat.com/ml/cygwin/2005-04/msg00325.html and
> http://sourceware.org/ml/cygwin-apps/2005-04/msg00036.html.
> 
> 

Status update:
The upstream maintainer has been alerted to this issue, and Thomas Dickey has 
provided a more detailed evaluation of the problem: 
http://lists.gnu.org/archive/html/bug-bash/2005-07/msg00112.html.  There is 
apparently some interaction between readline and ncurses insert mode, where 
readline made some invalid assumptions about invisible characters.  And the 
code in readline/display.c is HAIRY - Hans' proposed hack that has been posted 
to this list is not a proper fix, just a workaround that hides the worst of the 
bug.

I'm still working on getting a bash-3.0-8 ready for release (mainly for the 
tilde-expansion bug and the missing .info file).  If upstream provides a patch 
for the prompt bug in a timely manner, it will be included too.

--
Eric Blake
volunteer cygwin bash maintainer



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

- Raw text -


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