X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 20 Oct 2006 15:31:30 +0800 From: "william xue" To: cygwin AT cygwin DOT com Subject: Re: tail after tab completion in prompt In-Reply-To: <442CB135.9000901@byu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <442CB135 DOT 9000901 AT byu DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Hi, I noticed there was a new version of readline. Does it fix this issue? On 3/31/06, Eric Blake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to William Xue on 3/29/2006 11:06 PM: > > Hi, > > Please let me describe the issue for you: > > Issues like this have been reported in the past, but this is the first > report against readline-5.1-5. > > > After set the PS1 in .bashrc to : > > ---8<--------------------------------------------->8--- > > PS1="\[\e]2;\w -- \s\V@\l@\H hangsps:\j \d > > \t\a\]\[\e[31;1m\][\[\e[36;1m\]\u@\h > > \[\e[33;1m\]\W\[\e[31;1m\]]\[\e[34;1m\]\[\e[32;1m\]\$ \[\e[37;1m\]" > > ---8<--------------------------------------------->8--- > > > > If type "ls /usr/src" twice, it will show "ls /usr/src/usr/src". > > OK, I'm seeing some weird behavior as well; readline-5.1-5, $TERM set to > xterm in an rxvt window. This sounds like yet another case of the weird > prompt display when you use a one-line prompt with invisible characters, > and I have not yet been able to track down what is going wrong in > readline. I'll ask upstream to see if Chet has any ideas what is going wrong. > > > > > Is there something wrong in the PS1? And how can I fix this issue? > > As a workaround, avoid invisible characters (but lose all the cool colors > in your prompt), use a prompt that expands to multiple lines (for example, > the default prompt in cygwin's /etc/profile). People have also reported > that recompiling readline to disable multibyte characters will help, > although I am reluctant to do that for the cygwin release because I don't > know what else that would impact. Otherwise, I would certainly appreciate > help from anyone in debugging the issue. > > - -- > Life is short - so eat dessert first! > > Eric Blake ebb9 AT byu DOT net > volunteer cygwin readline maintainer > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.1 (Cygwin) > Comment: Public key at home.comcast.net/~ericblake/eblake.gpg > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFELLE184KuGfSFAYARAhv1AJ9duu2UKM8eFA1Z4YpIwndilO10fwCdGm/o > CpuMjelJmQGJDzED/AWTAXA= > =w1tW > -----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/ > > -- 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/