Bug 13916

Summary: man outputs footer only page as first page.
Product: Base System Reporter: mori <mori>
Component: confAssignee: mpp
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mori 1999-09-23 12:20:00 UTC
I enter command such as "man -t ppp | lpr" to get hardcopy.
Then, my printer outputs empty page as 1st page. (exactly, the page
has footer only)  Such case is happened some other man pages,
which has field ".Os FreeBSD", ie.  adduser(8), moused(8)... etc.

Fix: apply this patch to "/usr/share/tmac/mdoc/doc-common"
How-To-Repeat: 
In system that /usr/share/tmac/mdoc/doc-common is newer than
'1.13 Thu Feb 18 16:54:24 JST 1999 UTC by fenner',
enter command such as "man -t adduser".
Comment 1 Bill Fenner 1999-09-23 17:16:59 UTC
Oops, that's pretty nasty.  I can't say that I completely understand
groff's behavior in this case, but I have a patch that I like better;
it retains the elimination of the duplication of "FreeBSD" and the
version numbers.  Would you mind trying this one and seeing if it
works for you?

  Bill


Index: doc-common
===================================================================
RCS file: /home/ncvs/src/contrib/groff/tmac/doc-common,v
retrieving revision 1.10.2.4
diff -u -r1.10.2.4 doc-common
--- doc-common	1999/09/07 12:58:48	1.10.2.4
+++ doc-common	1999/09/23 16:13:07
@@ -228,31 +228,32 @@
 .	if "\\*(oS"Null" .tm Unknown BSD version ``\\$2'' at line \\n(c.
 .\}
 .if "\\$1"FreeBSD" \{\
-.	if "\\$2"2"      .ds oS FreeBSD 2.0
-.	    ie \\n(.$==1        \c
-.	el .ie "\\$2"1.0"       \c
-.	el .ie "\\$2"1.1"       \c
-.	el .ie "\\$2"1.1.5"     \c
-.	el .ie "\\$2"1.1.5.1"   \c
-.	el .ie "\\$2"2"         \c
-.	el .ie "\\$2"2.0"       \c
-.	el .ie "\\$2"2.0.5"     \c
-.	el .ie "\\$2"2.1"       \c
-.	el .ie "\\$2"2.1.5"     \c
-.	el .ie "\\$2"2.1.6"     \c
-.	el .ie "\\$2"2.1.7"     \c
-.	el .ie "\\$2"2.2"       \c
-.	el .ie "\\$2"2.2.1"     \c
-.	el .ie "\\$2"2.2.2"     \c
-.	el .ie "\\$2"2.2.5"     \c
-.	el .ie "\\$2"2.2.6"     \c
-.	el .ie "\\$2"2.2.7"     \c
-.	el .ie "\\$2"2.2.8"     \c
-.	el .ie "\\$2"3.0"       \c
-.	el .ie "\\$2"3.1"       \c
-.	el .ie "\\$2"3.2"       \c
-.	el .ie "\\$2"3.3"       \c
-.	el .ie "\\$2"4.0"       \c
+.	ie "\\$2"2"      .ds oS FreeBSD 2.0
+.	el               .ds oS FreeBSD \\$2
+.	    ie \\n(.$==1        .
+.	el .ie "\\$2"1.0"       .
+.	el .ie "\\$2"1.1"       .
+.	el .ie "\\$2"1.1.5"     .
+.	el .ie "\\$2"1.1.5.1"   .
+.	el .ie "\\$2"2"         .
+.	el .ie "\\$2"2.0"       .
+.	el .ie "\\$2"2.0.5"     .
+.	el .ie "\\$2"2.1"       .
+.	el .ie "\\$2"2.1.5"     .
+.	el .ie "\\$2"2.1.6"     .
+.	el .ie "\\$2"2.1.7"     .
+.	el .ie "\\$2"2.2"       .
+.	el .ie "\\$2"2.2.1"     .
+.	el .ie "\\$2"2.2.2"     .
+.	el .ie "\\$2"2.2.5"     .
+.	el .ie "\\$2"2.2.6"     .
+.	el .ie "\\$2"2.2.7"     .
+.	el .ie "\\$2"2.2.8"     .
+.	el .ie "\\$2"3.0"       .
+.	el .ie "\\$2"3.1"       .
+.	el .ie "\\$2"3.2"       .
+.	el .ie "\\$2"3.3"       .
+.	el .ie "\\$2"4.0"       .
 .	el .tm Unknown FreeBSD version ``\\$2'' at line \\n(c.
 .\}
 .if "\\*(oS"Null" \{\
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 1999-09-27 07:46:44 UTC
Responsible Changed
From-To: freebsd-bugs->mpp

I'm sure Mike will want to have a look at this one. 
Comment 3 mpp freebsd_committer freebsd_triage 2000-05-05 02:26:25 UTC
State Changed
From-To: open->closed

This was fixed by rev 1.20 of contrib/groff/tmac/doc-common.