Re: old-menu-complete behavior in bash v4 / readline v6

2012-05-25 Thread Alan
By the way, if anyone wants a fix for this bug, here it is: In lib/readline/funmap.c, around line 107, make "menu-complete" map to rl_old_menu_complete: { "menu-complete", rl_old_menu_complete }, In lib/readline/complete.c, around line 2443, comment out the if-loop: /*if (match_list_size > 1 &&

Re: old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Chet Ramey
On 3/15/11 11:13 AM, Alan wrote: > Thanks for the response! > > The problem is, if I turn off 'show-all-if-ambiguous', hitting tab > won't display all the possible completions. I like the old behavior of > 'menu-complete' because if I wanted to display the completions, I > could always hit tab bef

Re: old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Alan
Thanks for the response! The problem is, if I turn off 'show-all-if-ambiguous', hitting tab won't display all the possible completions. I like the old behavior of 'menu-complete' because if I wanted to display the completions, I could always hit tab before purely cycling through the choices with '

Re: old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Chet Ramey
On 3/14/11 3:20 PM, Alan wrote: > Hi, > > I prefer the pre-readline-6.0 version of menu completion, so I tried > using the "old-menu-complete" option in bash v4 / readline v6. > > However, "old-menu-complete" doesn't behave exactly like > "menu-complete" did in bash v3 / readline v5. > > For exa

old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Alan
Hi, I prefer the pre-readline-6.0 version of menu completion, so I tried using the "old-menu-complete" option in bash v4 / readline v6. However, "old-menu-complete" doesn't behave exactly like "menu-complete" did in bash v3 / readline v5. For example, in bash v3: $ mkdir directory $ touch direc