bug-bash
[Top][All Lists]
Advanced

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

prompt overwritten after tab completion - possibly fixed in readline 5.2


From: Mikel Ward
Subject: prompt overwritten after tab completion - possibly fixed in readline 5.2
Date: Tue, 19 Aug 2008 18:07:50 +1000

Hi

On my newer systems (e.g. Red Hat Enterprise Linux 5.2), I had noticed
a problem with tab completion.

I can't reproduce it on my system which has readline-5.2-13 (versus
readline-5.1-1.1), so I'm guessing it's fixed in readline-5.2, but the
CHANGES list doesn't explicitly mention anything like this, so I
thought I'd mention it anyway.

> echo $BASH_VERSION
3.2.25(1)-release
> rpm -q bash
bash-3.2-21.el5
> rpm -q readline
readline-5.1-1.1

> mkdir tmp
> mkdir tmp/foo.1
> mkdir tmp/foo.2
> cd tmp/<TAB>
foo.1/ foo.2/
> cd tmp/foo.

The cursor is placed immediately after the prompt (>), rather than at
the end of the completion (.).

Disabling either horizontal-scroll-mode or
print-completions-horizontally in ~/.inputrc makes it work OK.  I
chose to disable horizontal-scroll-mode.




reply via email to

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