bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: man(7) syntax error in ncurses-5.7/man/form_field_opts.3x


From: Ingo Schwarze
Subject: patch: man(7) syntax error in ncurses-5.7/man/form_field_opts.3x
Date: Thu, 18 Feb 2010 00:51:23 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Thomas,
dear colleagues,

the file man/form_field_opts.3x in the latest ncurses release (5.7)
contains a syntax error:  According to groff_man(7), the .TP macro
must be followed by a line of text, to be used as a label, so
putting it right before .SH is wrong.

While groff(1) just ignores the problem, mandoc(1) aborts compilation
and prints an error message, so i needed to fix this in the OpenBSD
tree.

Certainly not a big deal, but it would be nice if we could keep in sync.

Thank you for maintaining ncurses!

Yours,
  Ingo


Index: form_field_opts.3
===================================================================
RCS file: /cvs/src/lib/libform/form_field_opts.3,v
retrieving revision 1.10
diff -u -r1.10 form_field_opts.3
--- form_field_opts.3   12 Jan 2010 23:22:07 -0000      1.10
+++ form_field_opts.3   17 Feb 2010 23:29:39 -0000
@@ -108,7 +108,6 @@
 System error occurred (see \fBerrno\fR).
 .SH SEE ALSO
 \fBcurses\fR(3), \fBform\fR(3).
-.TP 5
 .SH NOTES
 The header file \fB<form.h>\fR automatically includes the header file
 \fB<curses.h>\fR.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]