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

Re: Question



I wrote:

> Oliver Kiddle wrote:
> 
> > Sven Wischnowsky wrote:
> > > 
> > > Andrej Borsenkow wrote:
> > > 
> > > > Is there any way to scroll/page output? It would be even more
> > > > interesting ...
> > > 
> > > No there isn't. I have a very faint memory of this question having
> > > come up before. I think the discussion stopped when we were thinking
> > > about everybody wanting her/his favourite pager key bindings being
> > > supported.
> > 
> > I would have thought it would be far better to allow people to use their
> > favourite pager (as taken from $PAGER) instead of trying to write a
> > simple pager. How compilcated would it be to make the listing code
> > output to a pipe instead. There is actually a few times when I would
> > have liked to pipe completion listings through a command so if this
> > implemented, it would be useful to be able to specify another command
> > (such as grep) to pipe the listing into.
> 
> A matter of replacing `shout' in several places with the pipe. But
> then there is the issue of starting the external command... And what
> to do with menu-selection? And the terminal codes used by complist?
> 
> Oh my, and I only asked if it would be better to mention the number of 
> lines needed for the list when asking if it should be displayed... ;-)
> 
> And noone has answered that yet (unless Andrej meant that it would be
> better).

Err, wait. You almost certainly want to use different commands for
different lists, so we would have to read the command line to use for
piping first. Isn't that getting a bit too complicated?

Hm, make isearch work in menu-selection and the (proposed,
vapour-warish) pager? Ouch.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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