Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 1999 19:49:31 +0900 (JST)
From:      mori@tri.asanuma.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/13916: man outputs footer only page as first page
Message-ID:  <199909231049.TAA02984@yakumo.noe.mcu.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         13916
>Category:       conf
>Synopsis:       man outputs footer only page as first page.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 23 04:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mori Kouji
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Technical Research Institute, Asanuma Corp., Takatsuki, Japan
>Environment:

FreeBSD yakumo.noe.mcu.or.jp 3.3-STABLE
FreeBSD 3.3-STABLE #11: Sat Sep 18 14:58:36 JST 1999
moriko@yakumo.noe.mcu.or.jp:/usr/src/sys/compile/CUSTOM  i386

>Description:

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.

>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".

>Fix:

apply this patch to "/usr/share/tmac/mdoc/doc-common"

--- doc-common	Thu Sep 23 17:59:12 1999
+++ doc-common.new	Thu Sep 23 17:54:52 1999
@@ -213,32 +213,31 @@
 .	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
-.	el .tm Unknown FreeBSD version ``\\$2'' at line \\n(c.
+.	if "\\$2""        .ds oS FreeBSD
+.	if "\\$2"1.0"     .ds oS FreeBSD 1.0
+.	if "\\$2"1.1"     .ds oS FreeBSD 1.1
+.	if "\\$2"1.1.5"   .ds oS FreeBSD 1.1.5
+.	if "\\$2"1.1.5.1" .ds oS FreeBSD 1.1.5.1
+.	if "\\$2"2"       .ds oS FreeBSD 2
+.	if "\\$2"2.0"     .ds oS FreeBSD 2.0
+.	if "\\$2"2.0.5"   .ds oS FreeBSD 2.0.5
+.	if "\\$2"2.1"     .ds oS FreeBSD 2.1
+.	if "\\$2"2.1.5"   .ds oS FreeBSD 2.1.5
+.	if "\\$2"2.1.6"   .ds oS FreeBSD 2.1.6
+.	if "\\$2"2.1.7"   .ds oS FreeBSD 2.1.7
+.	if "\\$2"2.2"     .ds oS FreeBSD 2.2
+.	if "\\$2"2.2.1"   .ds oS FreeBSD 2.2.1
+.	if "\\$2"2.2.2"   .ds oS FreeBSD 2.2.2
+.	if "\\$2"2.2.5"   .ds oS FreeBSD 2.2.5
+.	if "\\$2"2.2.6"   .ds oS FreeBSD 2.2.6
+.	if "\\$2"2.2.7"   .ds oS FreeBSD 2.2.7
+.	if "\\$2"2.2.8"   .ds oS FreeBSD 2.2.8
+.	if "\\$2"3.0"     .ds oS FreeBSD 3.0
+.	if "\\$2"3.1"     .ds oS FreeBSD 3.1
+.	if "\\$2"3.2"     .ds oS FreeBSD 3.2
+.	if "\\$2"3.3"     .ds oS FreeBSD 3.3
+.	if "\\$2"4.0"     .ds oS FreeBSD 4.0
+.	if "\\*(oS"Null" .tm Unknown FreeBSD version ``\\$2'' at line \\n(c.
 .\}
 .if "\\*(oS"Null" \{\
 .	ds oS \&\\$1



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909231049.TAA02984>