Comment 11 for bug 213718

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I just learned of bzr-pager.

In the mean time, I had searched for this functionality in bzr (looking for a plugin package with apt-cache search), and came up empty handed.

So I wrote a utility I called "bzrp", which is bzr-with-a-pager. Any time I run 'bzrp', I get the paged bzr type output. The command is a very simple shell script that does:

#!/bin/sh
cmd=$(shift)
opts="-F -R -X"
exec bzr $cmd $@ | sensible-pager $opts

For the time being, I have packaged 'bzrp' in a catch-all package/project called 'bikeshed', already uploaded to Natty. If you would like this very simple tool in bzr core, I'll be happy to turn it over to you.

What I like about 'bzrp' is that I can consciously use 'bzr' when I don't want paged output, or just use 'bzrp' when I do.

:-Dustin