diff --git a/debian/changelog b/debian/changelog index 38d6f6b..4e9a42f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,9 @@ (Closes: #658846) - No more swallows all exceptions (Closes: #654458) - Correctly handle alternative dependencies (Closes: #516904) + * [debmany] + - Replace less by sensible-pager, remove dependency on less. (Closes: + #610563) * [bash_completion] - Install debmany bash completion file to /etc/bash_completion.d instead of as example. Rename it for easier use of dh_install. diff --git a/debian/control b/debian/control index 2f2e315..9ff5a5f 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Package: debian-goodies Architecture: all -Depends: dctrl-tools | grep-dctrl, perl, curl, python (>= 2.4), whiptail | dialog, less, ${misc:Depends} +Depends: dctrl-tools | grep-dctrl, perl, curl, python (>= 2.4), whiptail | dialog, ${misc:Depends} Recommends: lsof Suggests: popularity-contest, xdg-utils, zenity Conflicts: debget diff --git a/debmany/debmany b/debmany/debmany index 3714399..406ea53 100755 --- a/debmany/debmany +++ b/debmany/debmany @@ -4,7 +4,7 @@ # description: select manpages+docs of any [not] installed debian package # comment: debmany is based on the work of debman and debget # gui uses: whiptail (preferred), dialog or zenity as well -# other uses: curl, less (can be overwritten: -o) +# other uses: curl, $PAGER or sensible-pager (can be overwritten: -o) # optional: -k -g -x: kfmexec gnome-open xdg-open (xdg-utils) # This is free software. You may redistribute copies of it under the terms of # the GNU General Public License . @@ -24,8 +24,8 @@ LC_ALL=C # defaults -mancmdline="man %s" # manpageviewer -othercmdline="less %s" # viewer for other files +mancmdline="man %s" # man page viewer +othercmdline="sensible-pager %s" # viewer for other files curdir=`pwd` @@ -53,7 +53,7 @@ The list of files is displayed in a dialog. Supported locations for debian packages are: Local .deb-file, a package in the repository or an installed package. - The default for manpages is man - less is used for other files. + The default for manpages is man - sensible-pager is used for other files. Default can be overwritten with -k|-g|-x and -m -o. Syntax1 : debmany [-?|-h|--help] Syntax2 : debmany [-v[v]] [-k|-g|-x] [-m manviewer] [-o otherviewer] [-L limit] [-l lang1[,...]] package[.deb]