[RFC MERGE] Pipe long winded commands through a pager

Robey Pointer robey at lag.net
Thu Dec 29 18:18:51 GMT 2005


On 28 Dec 2005, at 11:51, Erik Bågfors wrote:

> 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.

The original message had a list of 3-4 "this doesn't work yet" items,  
pretty much all of which I would want to work before trying it, so I  
haven't tried it yet.  Is there a newer/fixed version of the patch?

robey





More information about the bazaar mailing list