Public bug reported:
I'm using less as my pager. PAGER env variable, `pager` and `sensible-pager`
commands also points to less.
When I execute `apt show <package>`, the pager is invoked by apt, it's less (I
can go up, different than more), but it doesn't use the configuration I had set
with the LESS env variable, so things like scrolling with the mouse wheel are
not possible.
If I execute `apt changelog <package>`, it did work since the command downloads
the changelog file in /tmp and opens it with the pager.
`apt show <package>|less` also works.
I found a $PAGER_ENV set in the file CMakeLists.txt in the apt's source, and it
sets some options for LESS env variable. I don't know if these values are being
used just during the compilation for the tests, or the value is kept forever,
which maybe isn't correct since it should respect the configurations defined by
the user in LESS env variable.
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103921
Title:
APT doesn't respect pager's configuration with apt show
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2103921/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs