From danny@ns.hilink.com.au  Sun Feb 15 03:47:48 1998
Received: from ns.hilink.com.au (ns.hilink.com.au [203.29.224.20])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA23463
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Feb 1998 03:47:44 -0800 (PST)
          (envelope-from danny@ns.hilink.com.au)
Received: (from danny@localhost)
	by ns.hilink.com.au (8.8.5/8.8.5) id WAA06056;
	Sun, 15 Feb 1998 22:47:37 +1100 (EST)
Message-Id: <199802151147.WAA06056@ns.hilink.com.au>
Date: Sun, 15 Feb 1998 22:47:37 +1100 (EST)
From: danny@FreeBSD.ORG
Reply-To: danny@FreeBSD.ORG
To: FreeBSD-gnats-submit@freebsd.org
Subject: nroff fails to render .Fn properly
X-Send-Pr-Version: 3.2

>Number:         5751
>Category:       gnu
>Synopsis:       Applying the patch below to dialog.3 breaks nroff display
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 15 03:50:00 PST 1998
>Closed-Date:    Sun Feb 15 13:38:17 PST 1998
>Last-Modified:  Sun Feb 15 13:39:29 PST 1998
>Originator:     Daniel O'Callaghan
>Release:        FreeBSD 2.2.5-RELEASE
>Organization:
HiLink Internet
>Environment:
cons25 terminal

>Description:

Applying the patch below causes the listed .Fn declaration, and all subsequent
.Fn declarations in the same document to be invisible.  This seems to point
to a problem in *roff, unless I'm missing something in how .Fn is to be
used.

--- dialog.3.orig	Sun Feb 15 22:35:37 1998
+++ dialog.3	Sun Feb 15 22:36:24 1998
@@ -115,7 +115,7 @@
 object.
 
 .Ft "int"
-.Fn line_edit "WINDOW *dialog" "int box_y" "int box_x" "int flen" "int box_width" "chtype attrs" "int first" "u_char *result"
+.Fn line_edit "WINDOW *dialog" "int box_y" "int box_x" "int flen" "int box_width" "chtype attrs" "int first" "u_char *result" "int attr_mask"
 
 Invoke a simple line editor with an edit box of dimensions \fBbox_x,
 box_y\fR and \fBbox_width\fR.  The field length is constrained by

>How-To-Repeat:


>Fix:
	

>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: danny@FreeBSD.ORG, FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: Re: gnu/5751: nroff fails to render .Fn properly
Date: Mon, 16 Feb 1998 05:17:33 +1100

 >Applying the patch below causes the listed .Fn declaration, and all subsequent
 >.Fn declarations in the same document to be invisible.  This seems to point
 >to a problem in *roff, unless I'm missing something in how .Fn is to be
 >used.
 >
 >--- dialog.3.orig	Sun Feb 15 22:35:37 1998
 >+++ dialog.3	Sun Feb 15 22:36:24 1998
 >@@ -115,7 +115,7 @@
 > object.
 > 
 > .Ft "int"
 >-.Fn line_edit "WINDOW *dialog" "int box_y" "int box_x" "int flen" "int box_width" "chtype attrs" "int first" "u_char *result"
 >+.Fn line_edit "WINDOW *dialog" "int box_y" "int box_x" "int flen" "int box_width" "chtype attrs" "int first" "u_char *result" "int attr_mask"
 
 Both.  From mdoc.samples.7:
 
 "In general, troff(1) macros accept up to nine arguments, any extra arguments
 are ignored.
 ...
 For functions that have more than eight parameters (and this is rare), the
 macros `.Fo' (function open) and `.Fc' (function close) may be used with
 `.Fa' (function argument) to get around the limitation. For example: ..."
 
 Bruce
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Feb 15 13:38:17 PST 1998 
State-Changed-Why:  
As Bruce pointed out the fix is use .Fo .Fa and .Fc when the list 
of arguments is greater than eight. 
>Unformatted:
