Zsh Mailing List Archive
Messages sorted by:
Re: Tip of the day: previous command output
- X-seq: zsh-users 7905
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Tip of the day: previous command output
- Date: Mon, 23 Aug 2004 15:00:43 +0200
- In-reply-to: <Pine.LNX.4.61.0408221538560.5997@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040819085812.GL22962@localhost> <Pine.LNX.4.61.0408190748530.9464@xxxxxxxxxxxxxxxxxx> <20040819164250.GA21575@xxxxxxxxx> <Pine.LNX.4.61.0408190956440.9464@xxxxxxxxxxxxxxxxxx> <20040820121202.GA31466@xxxxxxxxx> <20040820145032.GH13530@xxxxxxxxxxxxx> <Pine.LNX.4.61.0408200905300.27591@xxxxxxxxxxxxxxxxxx> <20040822212126.GN7841@xxxxxxxxxxxxx> <Pine.LNX.4.61.0408221538560.5997@xxxxxxxxxxxxxxxxxx>
- Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
On 2004-08-22 16:03:23 -0700, Bart Schaefer wrote:
> How is does this differ from menu selection?
It seems that I need to reread all the documentation concerning the
The date of the Zsh user guide is 1999/06/02; is it really that old?
It seems to have been rewritten since.
> Numbering the possible matches is difficult, if not impossible,
> without changing the guts of the completion C code, because the
> labels that may be shown along with each match are assigned to the
> _possible_ matches, not to the _actual_ matches. E.g. when
> completing files, compadd may be given the name of every file in the
> directory, and then the completion internals winnows them down to
> the names that actually fit the prefix or suffix that's already on
> the line. So the numbers to show cannot be known until immediately
> before the list is displayed, and hence can't be passed to compadd
> by user-definable functions.
I see. And is it possible to have some kind of realtime filtering in
a menu selection, like interactive search but reducing the displayed
matches at the same time?
> However, someone more ambitious than I might alter the complist
> module to provide this display and some corresponding menuselect
> keymap bindings. A question would be, what do you expect to happen
> when the list is too long to fit on one screen?
Being able to scroll would be sufficient IMHO.
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by: