Package: man-db
Version: 2.6.3-1
Severity: wishlist

Hello,

The default less prompt for, say, man man, looks like this:

 Manual page man(1) line 1/815 4% (press h for help or q to quit)

I would like to have a prompt looking like this:

 Manual page man(1) line 1/815 4%

In other words the same prompt without the " (press h for help or q to
quit)" part.

Since I'd like this change to be permanent, I wanted to use the MANLESS
variable but, as said by man man, its value "will be copied verbatim into
$LESS", which among other things means that $MAN_PN will not be
replaced by the manual page and section number.

One solution could be for me to define a shell alias such as
alias man='man -r prompt '
But I'm wonderign whether there could be a better solution to achieve the
desired result.

Thanks.
 
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages man-db depends on:
ii  bsdmainutils           9.0.3
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.8
ii  groff-base             1.21-9
ii  libc6                  2.13-35
ii  libgdbm3               1.8.3-11
ii  libpipeline1           1.2.2-1
ii  zlib1g                 1:1.2.7.dfsg-13

man-db recommends no packages.

Versions of packages man-db suggests:
ii  edbrowse [www-browser]          3.4.8-2
ii  elinks [www-browser]            0.12~pre5-8
ii  epiphany-browser [www-browser]  3.4.2-2
ii  groff                           1.21-9
ii  iceweasel [www-browser]         10.0.8esr-1
ii  less                            444-4
ii  lynx-cur [www-browser]          2.8.8dev.14-1
ii  w3m [www-browser]               0.5.3-8

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to