can't scroll up in help, PAGER not set to less
Bug #71532 reported by
sam tygier
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=/
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
To post a comment you must log in.
more(1) clearly states that 'b' is used to skip backward.