Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384663 - etc-update and dispatch-conf ignore the PAGER variable
Summary: etc-update and dispatch-conf ignore the PAGER variable
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 384573 (view as bug list)
Depends on:
Blocks: 406003 381649 384979
  Show dependency tree
 
Reported: 2011-09-27 14:18 UTC by Ulrich Müller
Modified: 2012-02-27 09:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2011-09-27 14:18:12 UTC
The system wide setting of PAGER is ignored by etc-update and dispatch-conf. Instead, the pager is set by private config variables "pager" and "diff", respectively.

Suggestion (for etc-update, similar for dispatch-conf):
1. Use "pager" from etc-update.conf, if it is set.
   The default etc-update.conf that is shipped with portage should _not_ set
   this variable, though.
2. Fall back to ${PAGER}.
3. Fall back to cat.

Also, sys-apps/less should be removed from Portage's PDEPEND.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-09-27 19:12:33 UTC
*** Bug 384573 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2011-09-29 18:49:36 UTC
This is fixed in 2.1.10.20 and 2.2.0_alpha60.