Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [rr13@xxxxxxxxxxxxxxxxxxxxxx: Bug#276187: zsh: Ineractive menu completion with tab doesnt work.]



> On a sarge box i discovered the following bug with the new zsh.
> I use interactive menu completion and normaly i scroll through
> the items via tab, but this doesnt work on the new zsh anymore.
> 
> Description: 
> I type an command, like ls, type a space
> and then press tab, to get the filelist.
> A menu appears with the files in this directory and the first entry
> is selected.
> Then normaly, i press tab again and again, to cycle through
> these items. But this doesnt work anymore, the shell puts some weird 
> chars in the prompt, like ^@^@^@ and i cant use tab anymore.

I can see the part of the code which is causing this: modline in the function
domenuselect is inconsistently handled.  At one point it gets assigned just
the combined prefix and suffix from the last completion, but everywhere else it's
assumed it's the whole line.

However, I'm not quite sure what this is supposed to do.  Evidently it's supposed to
something special, not simply  normal menu completion, but I don't really know what.
After fixing or blocking out the problem, it just does normal menucompletion, i.e.
the fact you're in ineractive completion doesn't make a difference.

pws

-- 

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm



Messages sorted by: Reverse Date, Date, Thread, Author