From owner-freebsd-bugs Sun Feb 15 10:30:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA03797 for freebsd-bugs-outgoing; Sun, 15 Feb 1998 10:30:06 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA03769; Sun, 15 Feb 1998 10:30:02 -0800 (PST) (envelope-from gnats) Date: Sun, 15 Feb 1998 10:30:02 -0800 (PST) Message-Id: <199802151830.KAA03769@hub.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: gnu/5751: nroff fails to render .Fn properly Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/5751; it has been noted by GNATS. From: Bruce Evans 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message