X-Spam-Check-By: sourceware.org Message-ID: <43D7B853.3010203@ukf.net> Date: Wed, 25 Jan 2006 17:41:39 +0000 From: Max Bowsher Reply-To: cygwin AT cygwin DOT com 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: Re: New readline introduces even more prompt-length calculation oddities References: <43D75E84 DOT 1040700 AT ukf DOT net> <43D789A6 DOT 703 AT byu DOT net> In-Reply-To: <43D789A6.703@byu.net> OpenPGP: id=C0F2C580 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Eric Blake wrote: > 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. I experience the same behaviour with all three terminal emulator programs. >>> 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 Yes, that's the issue - thanks for working on it. Max. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) iD8DBQFD17hTfFNSmcDyxYARAi0TAKCpx1BE2y5ybMXmb35M2D4mZUy1qQCdEbsg 5hTeJd7pgWJgMlHv8Bwkqtw= =jHDw -----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/