[RFC MERGE] Pipe long winded commands through a pager

Robert Collins robertc at robertcollins.net
Fri Dec 23 07:41:10 GMT 2005


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?

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051223/a319430d/attachment.pgp 


More information about the bazaar mailing list