bzr should default to 'less' when output > $LINES

Bug #404016 reported by Paul Sladen
This bug report is a duplicate of:  Bug #213718: Use bzr-pager by default. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Ideally bzr should measure the size of the output produced by a command (eg. blame, diff, log...) and use the default PAGER or 'less -S' if the output is going to be longer than the number of lines on the terminal (env('LINES')) minus the number of lines in the default prompt (assume 1-2 for ease of implementation).

When you've just waited 26.6 seconds (genuine example) for bzr to finish thinking about some diff you requested, it wastes *another* 30 seconds to have to then append '| less -S' and start the command all over again.

Ideally bzr should default to piping to a pager when connected to a terminal and when the output is longer than a page of the display terminal.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.