On 1/4/14 8:09 AM, Ernest Adrogué wrote:
> Hi there,
>
> This is not a bug per se, just an idea.
>
> On many occasions I find myself repeatedly typing a character followed by
> TAB in order to narrow down possible completions, until there is just one
> candidate left. This is not efficient, because when there are just 3-4
> possible completions it would be more convienent to simply cycle through all
> completions like menu-completion does. On the other hand, using
> menu-completion is inefficient when the number of possible completions is
> high.
>
> One solution is first use completion to narrow down completions and in the
> end use menu-completion, but I think it would be much better to use just one
> key. In my opinion the best solution would be this: the first TAB does
> completion and successive TABs do menu-completion. Currently I don't think
> it is possible to configure Readline to do this, is it?
Thanks for the suggestion. This is not how readline currently works, but I
will look at ways to do this for a future version.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/