Use bzr-pager by default
Bug #213718 reported by
KarlGoetz
This bug affects 14 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
In Progress
|
Medium
|
veddox | ||
Bazaar Pager Plugin |
Triaged
|
Undecided
|
Unassigned | ||
Breezy |
Triaged
|
Wishlist
|
Unassigned | ||
bzr (Debian) |
Confirmed
|
Unknown
|
Bug Description
when running 'bzr help function' there are some long outputs. it would be great if bzr could have a setting to put all the help into the users pager.
examples of where it could be helpful are:
bzr help merge
bzr help commit
viewing help in screen
laptops without convenient arrow keys (for shift+arrow key scrollback)
My current version:
bzr version
Bazaar (bzr) 1.1.0.candidate.1
Python interpreter: /usr/bin/python 2.4.4.final.0
Python standard library: /usr/lib/python2.4
bzrlib: /usr/lib/
Bazaar configuration: /home/kgoetz/
Bazaar log file: /home/kgoetz/
Related branches
lp://staging/~dvedder95/bzr/pager
Ready for review
for merging
into
lp://staging/bzr
- bzr-core: Pending requested
-
Diff: 1634 lines (+192/-8)6 files modifiedBRANCH.TODO (+6/-2)
bzrlib/config.py (+7/-0)
bzrlib/help_topics/en/configuration.txt (+32/-0)
bzrlib/osutils.py (+74/-0)
bzrlib/ui/text.py (+69/-6)
doc/en/release-notes/bzr-2.7.txt (+4/-0)
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr (Debian): | |
status: | Unknown → New |
summary: |
- automatically run pager for display commands + Use bzr-pager by default |
tags: | added: bzr-easy-fix |
tags: | added: udd |
Changed in bzr (Debian): | |
status: | New → Confirmed |
Changed in bzr: | |
assignee: | Martin Pool (mbp) → nobody |
Changed in bzr-pager: | |
status: | New → Triaged |
Changed in bzr: | |
assignee: | nobody → veddox (dvedder95) |
status: | Confirmed → In Progress |
Changed in brz: | |
milestone: | none → 3.0.0 |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | removed: bzr-easy-fix easy |
tags: | added: sensible-defaults |
Changed in brz: | |
milestone: | 3.0.0 → 3.1.0 |
To post a comment you must log in.
I think there is a general split in the community. There are people who really wish the command would automatically bring up a pager, and then there are people like me who would really hate that. (My terminal has a scrollback, let me use it, most pagers work in bad ways with the terminal's own scrolling.) If it is really long, I probably want 'bzr XXX | gvim -R -' anyway, but I wouldn't want bzr automatically popping up gui windows.
Anyway... long story is, if we do allow this, we also need a way to disable it for people that don't want it. I'm fine going with consensus as to what the 'default' should be.