delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/25/06:19:19

X-Spam-Check-By: sourceware.org
Message-ID: <43D75E84.1040700@ukf.net>
Date: Wed, 25 Jan 2006 11:18:28 +0000
From: Max Bowsher <maxb1 AT ukf DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050923 Thunderbird/1.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: New readline introduces even more prompt-length calculation oddities
OpenPGP: id=C0F2C580
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

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.


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

Thanks,

Max.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFD116EfFNSmcDyxYARAjdWAJ0cIStCwVHxs4mmE2pAXEfenOhRCACgz/HS
cyE4iWR7iyJL+Qf5RZsmlgA=
=0Rrd
-----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