bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse i-search is broken?


From: Ismail Dönmez
Subject: Re: Reverse i-search is broken?
Date: Wed, 21 Mar 2007 21:49:49 +0200
User-agent: KMail/1.9.6

On Wednesday 21 March 2007 21:36:59 Chet Ramey wrote:
> Ismail Dönmez wrote:
> > Hi,
> >
> > [~]> bash --version
> > GNU bash, version 3.2.15(1)-release (i686-pc-linux-gnu)
> > Copyright (C) 2005 Free Software Foundation, Inc.
> >
> > [cartman@southpark][17:44:49]
> > (reverse-i-search)`ls': : 1174491813:0;ls
> >
> >
> > Trying to do a reverse i-search puts a long number between the search and
> > result, "1174491813:0" in this case. Anyone see this before? Seems like a
> > new bug.
>
> What do you have PS1 and PROMPT_COMMAND set to?  I suspect you're writing
> something to the title bar and it's not being handled well.

Here they are:

[~]> echo $PROMPT_COMMAND
echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"

[~]> echo $PS1
\[\e[32m\][\u@\h]\[\e[0m\]\[\e[37m\][\t]\[\e[0m\]\n\[\e[34m\][\w]\[\e[0m\]>


Regards.
-- 
Happiness in intelligent people is the rarest thing I know. (Ernest Hemingway)

Ismail Donmez ismail (at) pardus.org.tr
GPG Fingerprint: 7ACD 5836 7827 5598 D721 DF0D 1A9D 257A 5B88 F54C
Pardus Linux / KDE developer

Attachment: pgpRoVOKYbrGV.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]