delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/25/09:22:56

X-Spam-Check-By: sourceware.org
Message-ID: <43D789A6.703@byu.net>
Date: Wed, 25 Jan 2006 07:22:30 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Max Bowsher <maxb1 AT ukf DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: New readline introduces even more prompt-length calculation oddities
References: <43D75E84 DOT 1040700 AT ukf DOT net>
In-Reply-To: <43D75E84.1040700@ukf.net>
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Max Bowsher on 1/25/2006 4:18 AM:
> The readline 5.1 update has brought with it increased bugs in bash's
> prompt length calculation when nonprinting characters are used.
> 
> My PS1:
> PS1='\[\e[32;1m\]\u@\h \[\e[0m\][\w] \$ '
> 
> with latest bash and readline, bash positions the cursor 1 position to
> the right of where it should be when cd-ed to the ~ directory.

Are you running cmd.com, rxvt, or xterm, and what is $TERM?  If it comes
down to a bug in the terminfo database being tickled by readline, this
extra information would be helpful.

> 
> 
> Is there any ETA when the more severe length calculation bugs that have
> existed since bash 3 will be fixed?

I'm trying to find some free time to investigate.  Getting readline-5.1-2
out the door is now my highest priority, but it may be a few more days.

http://cygwin.com/ml/cygwin/2006-01/msg01164.html

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD14ml84KuGfSFAYARAqciAJoDM+XZUN+rJp5I6jXki5/Lq7gymQCcDJoB
Hk2jIo9tyTwldwtZOO7pm50=
=MjJW
-----END PGP SIGNATURE-----

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