[Aptitude-devel] Bug#950334: aptitude: Help -> User's Manual contains special characters
Bruno Kleinert
fuddl at debian.org
Fri Jan 31 13:48:20 GMT 2020
Package: aptitude
Version: 0.8.12-1
Severity: minor
Tags: l10n
Hi,
aptitude displays unwanted special characters in the user's manual view in a
German environment (I didn't test if the same happens with different locales).
To reproduce, I use the following locale environment:
fuddl at wurst:~$ locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
Start aptitude in an 80×24 characters terminal, select Hilfe (Help) -> Handbuch
(User's Manual) and press page down once. You should see an output as in the
left terminal window in the attached screenshot.
The terminal on the right of the screenshot is for reference and shows aptitude
with environment LANG=C. With that environment, aptitude displays the user's
manual correctly.
The special characters make the manual difficult to read, especially tables in
the manual.
Cheers
Bruno
-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.8.12
Compiler: g++ 9.2.1 20190821
Compiled against:
apt version 5.0.2
NCurses version 6.1
libsigc++ version: 2.10.1
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.1.20191019
cwidget version: 0.5.18
Apt version: 5.0.2
aptitude linkage:
linux-vdso.so.1 (0x00007ffdbffe1000)
libapt-pkg.so.5.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007f6cff17b000)
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f6cff140000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f6cff111000)
libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f6cff108000)
libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f6cff002000)
libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f6cfeed9000)
libboost_iostreams.so.1.67.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.67.0 (0x00007f6cfeeb9000)
libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f6cfeca0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6cfec7f000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6cfeaa5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6cfe960000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6cfe946000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6cfe784000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f6cfe76c000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6cfe74f000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f6cfe73c000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6cfe713000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6cfe6f1000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6cfe645000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f6cfe61a000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6cfe572000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6cff7c5000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6cfe56d000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6cfe562000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6cfe557000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6cfe43a000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6cfe417000)
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages aptitude depends on:
ii aptitude-common 0.8.12-1
ii libapt-pkg5.0 1.8.4
ii libboost-iostreams1.67.0 1.67.0-17
ii libc6 2.29-9
ii libcwidget4 0.5.18-5
ii libgcc1 1:9.2.1-25
ii libncursesw6 6.1+20191019-1
ii libsigc++-2.0-0v5 2.10.2-1
ii libsqlite3-0 3.31.0+really3.30.1+fossil191229-1
ii libstdc++6 9.2.1-25
ii libtinfo6 6.1+20191019-1
ii libxapian30 1.4.12-1
Versions of packages aptitude recommends:
pn libparse-debianchangelog-perl <none>
ii sensible-utils 0.0.12+nmu1
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
pn aptitude-doc-en | aptitude-doc <none>
pn debtags <none>
ii tasksel 3.58
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aptitude.png
Type: image/png
Size: 70311 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20200131/86ab4b15/attachment-0001.png>
More information about the Aptitude-devel
mailing list