Package: man-db
Version: 2.5.2-3
Severity: minor

How to reproduce: set your terminal width to 81+ lines, then compare
formatting in outputs of commands

'man dpkg'

and

'zcat /usr/share/man/man1/dpkg.1.gz | man -l -'.

Latter command doesn't use
all terminal width despite output is tty and other interactive command
(e.g. search) work.

Debug info:

-8<-
$ zcat /usr/share/man/man1/dpkg.1.gz | man --debug -l -
ruid=1000, euid=1000
++priv_drop_count = 1
>From the config file /etc/manpath.config:

Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/local/share/man'.
Path `/bin' mapped to mandir `/usr/share/man'.
Path `/usr/bin' mapped to mandir `/usr/share/man'.
Path `/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'.
Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'.
Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'.
Path `/usr/games' mapped to mandir `/usr/share/man'.
Path `/opt/bin' mapped to mandir `/opt/man'.
Path `/opt/sbin' mapped to mandir `/opt/man'.
Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'.
Global mandir `/usr/share/man', catdir `/var/cache/man'.
Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'.
Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'.
Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'.
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `3'.
Added section `2'.
Added section `3posix'.
Added section `3pm'.
Added section `3perl'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/usr/man'      `'      `1'
`/usr/share/man'        `'      `1'
`/usr/local/share/man'  `'      `1'
`/bin'  `/usr/share/man'        `0'
`/usr/bin'      `/usr/share/man'        `0'
`/sbin' `/usr/share/man'        `0'
`/usr/sbin'     `/usr/share/man'        `0'
`/usr/local/bin'        `/usr/local/man'        `0'
`/usr/local/bin'        `/usr/local/share/man'  `0'
`/usr/local/sbin'       `/usr/local/man'        `0'
`/usr/local/sbin'       `/usr/local/share/man'  `0'
`/usr/X11R6/bin'        `/usr/X11R6/man'        `0'
`/usr/bin/X11'  `/usr/X11R6/man'        `0'
`/usr/games'    `/usr/share/man'        `0'
`/opt/bin'      `/opt/man'      `0'
`/opt/sbin'     `/opt/man'      `0'
`/usr/man'      `/var/cache/man/fsstnd' `-1'
`/usr/share/man'        `/var/cache/man'        `-1'
`/usr/local/man'        `/var/cache/man/oldlocal'       `-1'
`/usr/local/share/man'  `/var/cache/man/local'  `-1'
`/usr/X11R6/man'        `/var/cache/man/X11R6'  `-1'
`/opt/man'      `/var/cache/man/opt'    `-1'
`1'     `'      `-5'
`n'     `'      `-5'
`l'     `'      `-5'
`8'     `'      `-5'
`3'     `'      `-5'
`2'     `'      `-5'
`3posix'        `'      `-5'
`3pm'   `'      `-5'
`3perl' `'      `-5'
`5'     `'      `-5'
`4'     `'      `-5'
`9'     `'      `-5'
`6'     `'      `-5'
`7'     `'      `-5'
is a tty
real user = 1000; effective user = 1000

using pager -s as pager
++priv_drop_count = 2
Starting pipeline: zcat [input: {3, NULL}, output: {-1, NULL}]
Started "zcat", pid 21445
pre-processors `t' from default
page_encoding = UTF-8
source_encoding = ISO-8859-1
cat_charset = UTF-8
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
less_charset = utf-8
format: 1, save_cat: 0, found: 1
Setting LESS to -ix8RmPm Manual page (stdin) ?ltline %lt?L/%L.:byte
%bB?s/%s..?e (END):?pB %pB\%..$PM Manual page (stdin) ?ltline
%%lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%..$
Setting MAN_PN to (stdin)
++priv_drop_count = 3
Starting pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f UTF-8
-t ISO-8859-1//IGNORE | tbl | nroff -mandoc -Tutf8 [input: {-1, NULL},
output: {-1, NULL}]
Started "/usr/bin/zsoelim", pid 21446
Started "/usr/lib/man-db/manconv", pid 21448
Started "tbl", pid 21450
Started "nroff", pid 21451
Starting pipeline: pager -s [input: {-1, NULL}, output: {0, NULL}]
Started "pager", pid 21452
source pipeline 0 returned error or EOF
Active processes (1):
  "pager" (21452) -> 0
--priv_drop_count = 2
--priv_drop_count = 1
->8-


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-rc7jackyf (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages man-db depends on:
ii  bsdmainutils           6.1.10            collection of more utilities from 
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  dpkg                   1.14.24           Debian package management system
ii  groff-base             1.18.1.1-21       GNU troff text-formatting system (
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libgdbm3               1.8.3-4           GNU dbm database routines (runtime
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

man-db recommends no packages.

Versions of packages man-db suggests:
ii  groff                    1.18.1.1-21     GNU troff text-formatting system
ii  iceweasel [www-browser]  3.0.5-1         lightweight web browser based on M
ii  konqueror [www-browser]  4:4.1.3-1       KDE 4's advanced file manager, web
ii  less                     418-1           Pager program similar to more
ii  lynx-cur [www-browser]   2.8.7dev12-1    Text-mode WWW Browser with NLS sup
ii  opera [www-browser]      9.50-20080422.2 The Opera Web Browser

-- debconf information:
  man-db/build-database: true
  man-db/rebuild-database: true
  man-db/install-setuid: false



-- 
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