Skip Menu |

This queue is for tickets about the podlators CPAN distribution.

Report information
The Basics
Id: 75434
Status: resolved
Priority: 0/
Queue: podlators

People
Owner: Nobody in particular
Requestors: bjarniig [...] rhi.hi.is
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.00
Fixed in: 2.4.1



CC: rra [...] stanford.edu
Subject: Man.pm: Eliminate warnings about an undefined register
Date: Wed, 29 Feb 2012 20:19:48 +0000
To: bug-podlators [...] rt.cpan.org
From: Bjarni Ingi Gislason <bjarniig [...] rhi.hi.is>
Eliminate warnings from "groff" about the undefined numeric register "F". This patch could cause other implementations of "*roff" to issue more warnings or they could define a read-only numeric register ".g" with the value of 0. Patch to version 2.25 --- Man.pm 2010-10-11 02:41:40.000000000 +0000 +++ Man_new.pm 2012-02-28 21:21:39.000000000 +0000 @@ -1392,17 +1392,17 @@ .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.ie \nF \{\ +.de IX +.. +.if \(.g .if r F \{\ +.if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} -.el \{\ -. de IX -.. -.\} +.if \(.g .\} Show quoted text
----END OF PREAMBLE---- if ($accents) { -- Bjarni I. Gislason
Subject: Re: [rt.cpan.org #75434] Resolved: Man.pm: Eliminate warnings about an undefined register
Date: Fri, 19 Apr 2019 23:33:50 +0000
To: Russ Allbery via RT <bug-podlators [...] rt.cpan.org>
From: Bjarni Ingi Gislason <bjarniig [...] rhi.hi.is>
On Wed, Jan 02, 2013 at 01:15:11PM -0500, Russ Allbery via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=75434 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
My suggested patch is obsolete as I have found a better way to silence the warnings. This applies to the man in the man-db package. 1) One can use the environmental variable MANROFFOPT and set it to the string "-rF=0" 2) One can use the file ~/.manpath and use for example: DEFINE troff groff -mandoc -rF=0 DEFINE nroff nroff -mandoc -rF=0 The code concerning the variable 'F' should therefore be removed. -- Bjarni I. Gislason