[RFC MERGE] Pipe long winded commands through a pager
Erik Bågfors
zindar at gmail.com
Wed Dec 28 19:51:03 GMT 2005
2005/12/23, Robert Collins <robertc at robertcollins.net>:
> On Fri, 2005-12-16 at 01:09 -0600, Michael Ellerman wrote:
> > Heyho,
> >
> > Martin suggested rather than using less(diff|log|status..) plugins, we could
> > send all long winded commands through a pager.
> >
> > I've done a hack job implementation so people can get a feel for it and decide
> > if they like it, check it out:
> >
> > http://michael.ellerman.id.au/files/bzr/pager
> >
> > I've just added a "paged_command" decorator, kinda like "display_command".
> > There's currently 35 or so "display_commands" many of which _don't_ produce a
> > lot of output, so I haven't changed them all to use the new decorator.
>
> Has anyone used this? do they like it? should we make core do the same
> thing?
Yes, Yes and Yes are my answers. I like it.
Trying to understand why this wouldn't be a good idea but can't think of any.
/Erik
More information about the bazaar
mailing list