can't scroll up in help, PAGER not set to less

Bug #71532 reported by sam tygier
4
Affects Status Importance Assigned to Milestone
units (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: units

in the program units i can't scroll up in the help files.

step to reproduce.

$ units
2438 units, 71 prefixes, 32 nonlinear units
You have: help metre

it is possible to scroll down with the space bar but not up.

this seems to be because units is using more as the pager. if less were used then the up and down key could be used for scrolling.

if units is started with
$ PAGER=less units
or
PAGER=/usr/bin/pager units
then the help can be scrolled both ways.

either PAGER should be set in /etc/environment

or units should be patched to use less or /usr/bin/pager by default

Revision history for this message
Daniel T Chen (crimsun) wrote :

more(1) clearly states that 'b' is used to skip backward.

Changed in units:
status: Unconfirmed → Rejected
Revision history for this message
sam tygier (samtygier) wrote :

ok, my bad.

still is there any good reason to still use more.

more(1) also says
     This
     version is especially primitve. Users should realize that less(1) pro‐
     vides more(1) emulation and extensive enhancements.

Revision history for this message
Áron Sisak (asisak) wrote :

Thanks for your comment. The changes you are requesting require more
discussion and should rather be done on an appropriate mailing list or
forum.

http://www.ubuntu.com/community/forums/ might be a good start.

The pager can be either set by "sudo update-alternatives --config pager" or by setting the PAGER environment variable.

Changed in units:
status: Unconfirmed → Rejected
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.