[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Bug: horizontal-scroll-mode on
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] Bug: horizontal-scroll-mode on |
Date: |
Sat, 03 Jan 2015 12:11:12 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 1/3/15 3:23 AM, Devin Homan wrote:
> There seems to be a bug in sys-libs/readline.
>
> In my .inputrc file, when I have
> *Code:*
> set horizontal-scroll-mode on
>
>
> History tab completion (that is Ctrl-r <some text> [tab]) does not flow the
> text correctly.
> So for example, if I have
> *Code:*
> eix readline
>
> in my history and do "Ctrl-r l [tab]", I get
> *Code:*
> eix read lineline
>
> .
> Pressing enter issues the "eix readline" command.
I can't reproduce this. The potential redisplay issues aside, if you
have a file named `readline' in the current directory, or if the
completion for `eix' returns `readline' as the only alternative, the
word should expand to readlineline (or readline/line if readline is a
directory). Completion always takes place at the current cursor
position, and the reverse history search leaves the cursor before the
character found (`l'). When I replace `eix' with `echo', I see
`readlineline' displayed as output.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/