Bug 17914 - Paging output garbled in pkg-config(1)
Summary: Paging output garbled in pkg-config(1)
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: PowerPC AIX
: low minor
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 09:15 UTC by Jorn Amundsen
Modified: 2010-05-09 00:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jorn Amundsen 2008-10-05 09:15:19 UTC
At line 150 of pkg-config.1 there is a macro inappropriately starting in column 1:

    150 \fI.pc\fP files. Most packages define the variable "prefix", for

This is garbling subsequent page headers:

friggms:src$ nroff -man pkg-config.1 | egrep 'Page|1\).\).\).\)$'
     pkg-config(1)                                       pkg-config(1)
     Page 1                                          (printed 10/5/08)
     pkg-config(1)                                       pkg-config(1)
     Page 2                                          (printed 10/5/08)
     pkg-config(1)                                       pkg-config(1)
     Page %                                          (printed 10/5/08)
     pkg-con4ig(1)                                       pkg-con4ig(1)
     Page %                                          (printed 10/5/08)
     pkg-con5ig(1)                                       pkg-con5ig(1)
<snip>

This is easily fixed by avoiding the \fI in column 1, for instance by moving the last any from line 149 to line 150:

This sets a global value for a variable, overriding the value in
any \fI.pc\fP files. Most packages define the variable "prefix", for
Comment 1 Tollef Fog Heen 2010-05-09 00:04:00 UTC
This is now fixed in git fbc4f8e.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.