Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456816 - app-admin/eselect - pager.eselect: add /usr/bin/pg, /usr/bin/w3m, /bin/more and "/usr/bin/tee /var/log/pager"
Summary: app-admin/eselect - pager.eselect: add /usr/bin/pg, /usr/bin/w3m, /bin/more a...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: Low enhancement
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 17:46 UTC by marius.spix
Modified: 2013-02-12 17:03 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 marius.spix 2013-02-11 17:46:31 UTC
Dear Community,

please add the targets /usr/bin/pg (from sys-apps/util-linux), /usr/bin/w3m (from www-clients/w3m) and /bin/cat (from sys-apps/coreutils) to the pagers module of eselect. Currently only /bin/more and /usr/bin/less are available.

/usr/bin/less is normally the best choice. However /usr/bin/pg has some nice functionality. /usr/bin/w3m is famous for its WWW capabilities. /bin/cat is for compatibility reasons (e.g. for ssh connections) and "/usr/bin/tee /var/log/pager" would allow writing a log file, e.g. for debugging reasons.


/usr

mari@spixxi ~ $ eselect pager list
Available targets for the PAGER variable:
  [1]   /bin/more
  [2]   /usr/bin/less *
  [ ]   (free form)

Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2013-02-12 17:03:39 UTC
It's intentional that only the most common values are explicitly listed, see bug 190216 comment #2. You can use "eselect pager set pg" instead:

   # eselect pager set pg
   Setting PAGER to /usr/bin/pg ...
   Run ". /etc/profile" to update the variable in your shell.
   # eselect pager list
   Available targets for the PAGER variable:
     [1]   /bin/more
     [2]   /usr/bin/less
     [3]   /usr/bin/pg *
     [ ]   (free form)