--- Begin Message ---
Subject: |
Man pages truncated, repeated |
Date: |
Mon, 12 Mar 2018 22:24:46 +0100 |
User-agent: |
Roundcube Webmail |
Guix,
Perhaps he's just getting old, but our man has a tendency to forget
where he was, start over from the beginning, and repeat himself several
times:
$ guix package -i knot rofi
$ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
NAME
DESCRIPTION
NAME
DESCRIPTION
NAME
DESCRIPTION
NAME
DESCRIPTION
NAME
$
There's also some stderr...
<standard input>:25: error: end of file while defining macro
`UNINDENT'
...but I think that's just a symptom of the input being cut short; man
rofi(1) prints no such error yet suffers the same fate.
The affected man pages themselves are not truncated, nor do they repeat:
$ zgrep '\.SH' `man -w knot.conf`
.SH NAME
.SH DESCRIPTION
.SH COMMENTS
.SH INCLUDES
.SH MODULE SECTION
.SH SERVER SECTION
.SH KEY SECTION
.SH ACL SECTION
.SH CONTROL SECTION
.SH STATISTICS SECTION
.SH KEYSTORE SECTION
.SH SUBMISSION SECTION
.SH POLICY SECTION
.SH REMOTE SECTION
.SH TEMPLATE SECTION
.SH ZONE SECTION
.SH LOGGING SECTION
.SH AUTHOR
.SH COPYRIGHT
$
However, even longer man pages such as bash(1) render without fail, so
there might be something special about the two examples above that
triggers this behaviour.
Kind regards,
T G-R
Sent from a Web browser. Excuse or enjoy my brevity.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#30785: Man pages truncated, repeated |
Date: |
Sun, 06 May 2018 15:53:59 +0200 |
User-agent: |
Notmuch/0.26.1 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) |
Marius Bakke <address@hidden> writes:
> Marius Bakke <address@hidden> writes:
>
>> Tobias Geerinckx-Rice <address@hidden> writes:
>>
>>> Guix,
>>>
>>> Perhaps he's just getting old, but our man has a tendency to forget
>>> where he was, start over from the beginning, and repeat himself several
>>> times:
>>>
>>> $ guix package -i knot rofi
>>> $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>>> NAME
>>> DESCRIPTION
>>> NAME
>>> DESCRIPTION
>>> NAME
>>> DESCRIPTION
>>> NAME
>>> DESCRIPTION
>>> NAME
>>> $
>>
>> One thing rofi.1 and knot.conf.5 have in common is that they are both
>> unicode. Whereas working pages are ASCII.
>
> This ultimately turned out to be due to man-db not finding "preconv".
>
> The attached patches fixes it.
I pushed the fix as 296551a2e9310d4a030ee49530e9367e73aaeecf.
signature.asc
Description: PGP signature
--- End Message ---