Package: man-db
Version: 2.6.3-1
Severity: normal
Tags: upstream
Hi,
The last table (decimal) rendering of ascii(7) is weird: the 3 and 6
lines not aligned correctly:
v v
3: # 3 C S c s 3: ! + 5 ? I S ] g q {
4: $ 4 D T d t 4: " , 6 @ J T ^ h r |
5: % 5 E U e u 5: # - 7 A K U _ i s }
6: & 6 F V f v 6: $ . 8 B L V ` j t ~
^
instead of:
3: # 3 C S c s 3: ! + 5 ? I S ] g q {
4: $ 4 D T d t 4: " , 6 @ J T ^ h r |
5: % 5 E U e u 5: # - 7 A K U _ i s }
6: & 6 F V f v 6: $ . 8 B L V ` j t ~
I can reproduce it on Wheezy and Sid for the French (from manpages-fr)
and German (from manpages-de) translations of ascii(7). The layout is
also broken when displaying it from its full path
(/usr/share/man/fr/man7/ascii.7.gz), but it displays fine after copying
the page to another place (e.g. to /tmp). Please find attach the diff
between the two debug output in case you notice something interesting
(I'd bet on the page_encoding, but am not aware of man internals).
Regards
David
# Weird layout
man --debug /usr/share/man/fr/man7/ascii.7.gz 2>/tmp/deb
# Make the layout OK
cp /usr/share/man/fr/man7/ascii.7.gz /tmp/
man --debug /tmp/ascii.7.gz 2>/tmp/deb.loc
# Diff between debug output
diff -ur /tmp/deb /tmp/deb.loc > /tmp/diff
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.5-trunk-amd64 (SMP w/1 CPU core)
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.9
ii groff-base 1.21-9
ii libc6 2.13-36
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 elinks [www-browser] 0.12~pre5-9
ii epiphany-browser [www-browser] 3.4.2-2
ii groff 1.21-9
ii iceweasel [www-browser] 16.0.2-1
ii konqueror [www-browser] 4:4.8.4-2
ii less 451-1
ii w3m [www-browser] 0.5.3-8
-- debconf information:
* man-db/install-setuid: false
man-db/auto-update: true
--- /tmp/deb 2012-11-08 12:36:42.000000000 -0400
+++ /tmp/deb.loc 2012-11-08 12:36:52.000000000 -0400
@@ -119,11 +119,8 @@
--priv_drop_count = 0
++priv_drop_count = 1
chdir /tmp
-found lang dir element fr
-found lang dir element fr
-Macro language fr; hyphenation language fr
pre-processors `t' from default
-page_encoding = ISO-8859-1
+page_encoding = UTF-8
source_encoding = ISO-8859-1
locale_charset = UTF-8
roff_device (locale) = utf8