Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180880 - Move PAGER and LESSOPEN from /etc/env.d/00basic to an env.d file installed by less
Summary: Move PAGER and LESSOPEN from /etc/env.d/00basic to an env.d file installed by...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-04 17:31 UTC by Harald van Dijk (RETIRED)
Modified: 2007-08-25 18:48 UTC (History)
0 users

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 Harald van Dijk (RETIRED) gentoo-dev 2007-06-04 17:31:30 UTC
Hi,

baselayout installs /etc/env.d/00basic, which contains
PAGER="/usr/bin/less"
LESSOPEN="|lesspipe.sh %s"

Could this please be moved to an env.d file installed by less? less is not a system package (virtual/pager is, less is merely the default provider for this virtual) and baselayout does not depend on less.
Comment 1 SpanKY gentoo-dev 2007-06-11 05:19:19 UTC
there is no $LESS here ... and PAGER is in the same category as EDITOR ...

so perhaps PAGER should be moved to /etc/rc.conf ...
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2007-06-11 16:28:41 UTC
Of course, that was a silly mistake.

Moving it to rc.conf (or anywhere else that's not in CONFIG_PROTECT_MASK) would be fine with me, even if the default then remains less without a dependency on it.
Comment 3 SpanKY gentoo-dev 2007-06-13 23:13:45 UTC
ive moved $LESSOPEN to the less package since it's already installing an env.d file for $LESS
Comment 4 SpanKY gentoo-dev 2007-08-25 18:48:33 UTC
EDITOR and PAGER have been punted completely from baselayout

users need to configure it themselves ... if they want a global default, they can add it to /etc/profile.d/

a new bug has been opened for eselect modules for PAGER/EDITOR maintenance