Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Eric Blake <ebb9@byu.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.4070107@edgedynamics.com> <1iwqivjhclfnd.6v1kcb258ulp$.dlg@40tude.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
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/

