--- Begin Message ---
Subject: |
23.1.92; man page header ugly on narrow terminals |
Date: |
Fri, 12 Feb 2010 02:49:00 +0800 |
X-debbugs-cc: address@hidden, address@hidden
Here is a complicated bug that involves several packages, and produces
"WWW::Facebook::API::^HUI^Hsn^Het^Hr..." (^H's visible too)
on one's emacs screen.
# su - nobody #(LC_ALL=C etc. too.)
$ HOME=/tmp emacs-snapshot -nw
M-x man WWW::Facebook::API::Intl (from libwww-facebook-api-perl package)
on a wide enough terminal, gives a nice
WWW::Facebook::API::Intl(3pm) User Contributed Perl Documentation
WWW::Facebook::API::Intl(3pm)
however, if the screen is only as wide as the below, this is what one sees:
WWW::Facebook::API::^HUI^Hsn^Het^Hrl(^HC3^Hop^Hnm^Ht)^Hributed Perl Docu^H
Similarly under X-windows. If one just uses xterm and no emacs, one gets
WWW::Facebook::API:UserlContributed Perl DoWWW::Facebook::API::Intl(3pm)
which at least doesn't have the visible ^H stuff.
$ man -w WWW::Facebook::API::Friends
/usr/share/man/man3/WWW::Facebook::API::Friends.3pm.gz
where we see the line at question...
.TH WWW::Facebook::API::Friends 3pm "2009-11-26" "perl v5.10.1" "User
Contributed Perl Documentation"
In GNU Emacs 23.1.92.1 (i486-pc-linux-gnu, GTK+ Version 2.18.6)
of 2010-02-10 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20100209-1)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#5566: 23.1.92; man page header ugly on narrow terminals |
Date: |
Sun, 14 Feb 2010 02:23:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (x86_64-pc-linux-gnu) |
>> From your explanation I gather that for legacy reasons it's unlikely
>> that the groff's output will be fixed any time soon. So below is
>> a patch for man.el that removes these ^H:
>
> Looks OK to me.
Done.
--
Juri Linkov
http://www.jurta.org/emacs/
--- End Message ---