This is the mail archive of the
cygwin
mailing list for the Cygwin project.
New readline introduces even more prompt-length calculation oddities
- From: Max Bowsher <maxb1 at ukf dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Jan 2006 11:18:28 +0000
- Subject: New readline introduces even more prompt-length calculation oddities
- Openpgp: id=C0F2C580
-----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/