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

3.1.7-pre-1: Problem with scrolled completion listings



The easiest way to see this is to cd into the Src directory of a zsh build
tree on an 80x24 terminal; make sure .syms .epro and .pro are NOT ignored
(see my options and styles below) and then type

% ls <TAB>

This fills the screen with a listing ending with

  Current position at Top       Continue?

Hit TAB again to get back to the prompt, then again to start menu selection.
Now there's again a screenful, ending with

  Scrolling active: current selection at Top

(in reverse video).  Hit TAB repeatedly (21 times, to be exact) and note
that the selection disappears, and you're now stuck repeatedly selecting
the file name that would be visible if only the status line weren't there.
The status line now says something like

  Scrolling active: current selection at 62%

Pressing one of the arrow keys restores sanity.

Aside: Why is "Current position ... Continue?" NOT in reverse video?  Why
whitespace rather than a colon between "Top" and "Continue" ?  Am I just
being a foolishly consistent hobgoblin to want these to look similar?

---------------------------------------------------------------------------
alwayslastprompt on
alwaystoend on
autolist on
automenu on
autoparamkeys on
autoparamslash on
autoremoveslash on
completealiases off
completeinword on
globcomplete off
listambiguous on
listbeep on
listpacked off
listrowsfirst off
listtypes on
markdirs off
menucomplete off
recexact off

zstyle ':completion:*' completer _oldlist _expand _complete _match _ignored _approximate _prefix
zstyle ':completion:*' file-sort modification reverse
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' ignore-parents parent pwd ..
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' match-original both
zstyle ':completion:*' matcher-list '' 'r:|[._-,]=* r:|=*' 'm:{a-zA-Z}={A-Za-z} r:|[._-,]=* r:|=*' 'r:|[._-,]=* r:|=* l:|=*'
zstyle ':completion:*' max-errors 2 numeric
zstyle ':completion:*' menu 'select=6'
zstyle ':completion:*' original true
zstyle ':completion:*' verbose true

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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