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

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



I can reproduce this.  The garbage characters are predominantly NULs
with a \022 thrown in.

----- Forwarded message from Rene Reusner <rr13@xxxxxxxxxxxxxxxxxxxxxx> -----

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.

Example:

ls
<tab> .. to get the list, this works
<tab> .. normaly to scroll through the list, but the new zsh print some
weird characters and i cant use tab anymore.

copy from the terminal
neodym% ^@^@^@
interactive: []
0307.pdf                        < first selected item.
113240-10.jar
115738-03.zip
3com_manage.pdf


A work around is, to press some cursor keys to move around in this menu, but
the resulting completion is wrong.  ^@^ is inserted before the filename
and the resulting filename is wrong.

I also deleted the .zcompdump and started a new shell and also emptied
my .zsenv only for the important settings.
My terminal is a normal xterm.

My .zshenv is:

autoload -U compinit
compinit -C # don't perform security check
compinit -u 
zstyle ':completion:*' menu select interactive


nothing more

On the old shell on woody, Version is 4.07 the menu completion works
fine.
This bug makes the new zsh with interactive menucompletion 
nearby unusually for me.

----- End forwarded message -----



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