Replace less by sensible-pager, remove dependency on less. (Closes: #610563)
Axel Beckert
11 years ago
11 | 11 |
(Closes: #658846)
|
12 | 12 |
- No more swallows all exceptions (Closes: #654458)
|
13 | 13 |
- Correctly handle alternative dependencies (Closes: #516904)
|
|
14 |
* [debmany]
|
|
15 |
- Replace less by sensible-pager, remove dependency on less. (Closes:
|
|
16 |
#610563)
|
14 | 17 |
* [bash_completion]
|
15 | 18 |
- Install debmany bash completion file to /etc/bash_completion.d
|
16 | 19 |
instead of as example. Rename it for easier use of dh_install.
|
9 | 9 |
|
10 | 10 |
Package: debian-goodies
|
11 | 11 |
Architecture: all
|
12 | |
Depends: dctrl-tools | grep-dctrl, perl, curl, python (>= 2.4), whiptail | dialog, less, ${misc:Depends}
|
|
12 |
Depends: dctrl-tools | grep-dctrl, perl, curl, python (>= 2.4), whiptail | dialog, ${misc:Depends}
|
13 | 13 |
Recommends: lsof
|
14 | 14 |
Suggests: popularity-contest, xdg-utils, zenity
|
15 | 15 |
Conflicts: debget
|
3 | 3 |
# description: select manpages+docs of any [not] installed debian package
|
4 | 4 |
# comment: debmany is based on the work of debman and debget
|
5 | 5 |
# gui uses: whiptail (preferred), dialog or zenity as well
|
6 | |
# other uses: curl, less (can be overwritten: -o)
|
|
6 |
# other uses: curl, $PAGER or sensible-pager (can be overwritten: -o)
|
7 | 7 |
# optional: -k -g -x: kfmexec gnome-open xdg-open (xdg-utils)
|
8 | 8 |
# This is free software. You may redistribute copies of it under the terms of
|
9 | 9 |
# the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
|
|
23 | 23 |
LC_ALL=C
|
24 | 24 |
|
25 | 25 |
# defaults
|
26 | |
mancmdline="man %s" # manpageviewer
|
27 | |
othercmdline="less %s" # viewer for other files
|
|
26 |
mancmdline="man %s" # man page viewer
|
|
27 |
othercmdline="sensible-pager %s" # viewer for other files
|
28 | 28 |
|
29 | 29 |
curdir=`pwd`
|
30 | 30 |
|
|
52 | 52 |
The list of files is displayed in a dialog.
|
53 | 53 |
Supported locations for debian packages are: Local .deb-file,
|
54 | 54 |
a package in the repository or an installed package.
|
55 | |
The default for manpages is man - less is used for other files.
|
|
55 |
The default for manpages is man - sensible-pager is used for other files.
|
56 | 56 |
Default can be overwritten with -k|-g|-x and -m -o.
|
57 | 57 |
Syntax1 : debmany [-?|-h|--help]
|
58 | 58 |
Syntax2 : debmany [-v[v]] [-k|-g|-x] [-m manviewer] [-o otherviewer] [-L limit] [-l lang1[,...]] package[.deb]
|