Date: Sun, 15 Feb 1998 10:30:02 -0800 (PST) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: gnu/5751: nroff fails to render .Fn properly Message-ID: <199802151830.KAA03769@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/5751; it has been noted by GNATS. 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 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?199802151830.KAA03769>