[Bug 227693] New: Broken handling of manpages containing ".BI ... \" lines
Eckhart Wörner
ewoerner at kde.org
Fri Feb 19 16:08:39 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=227693
Summary: Broken handling of manpages containing ".BI ... \"
lines
Product: kio
Version: 4.4
Platform: Debian testing
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: man
AssignedTo: unassigned-bugs at kde.org
ReportedBy: ewoerner at kde.org
Version: (using KDE 4.4.0)
Installed from: Debian testing/unstable Packages
This bug has been copied over from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557364 and has been verified
to still exist in KDE SC 4.4.0
The pages from manpages-dev package (sections 2 & 3) have lines starting with
.BI in Synopsis section, used to pretty-format function declarations.
Sometimes these lines are terminated with a backslash, for example in the man
pages for msgsnd, wait, mmap, ipc, setbuf, dbopen, etc. There are 46 files in
section 2, and 169 in section 3 with lines matching the pattern "^.BI.*\\$"
When displaying one of these man pages with KDE Man Page Viewer the function
declaration is corrupted. For example, instead of:
int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);
ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp,
int msgflg);
there is:
int msgsnd(int msqid, const void *msgp, size_t msgszmsgflg);
ssize_t msgrcv(int msqid, void *msgp, size_t msgszmsgtyp,
int msgflg);
More precisely, looking at the man page source one could see that the quoted
string after the \ on the previous line is lost.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list