...and with better style.

* Use `PP` macro, not `sp` request, to vertically space around this
  display.  When typesetting, `sp` puts 1 vee of vertical space on the
  output, whereas `PP` puts the configured inter-paragraph distance.
  (All implementations known to me use 0.4 vees.)
* Bracket unfilled example with `nf` and `fi` to ensure that they are
  not filled on *roff implementations that don't support the man(7)
  package's `EX` and `EE` extension.  (An alternative approach would be
  to define page-local versions of these macros, copying them from
  groff's "an-ext.tmac" file.)
* Refill example at 65 columns in the text editor to keep it from
  oversetting on traditional AT&T troffs (System V, DWB 3.3, Plan 9)
  that use a line length of 65n.
---
 man/curs_addch.3x | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/man/curs_addch.3x b/man/curs_addch.3x
index 73d6b19eb..518844c32 100644
--- a/man/curs_addch.3x
+++ b/man/curs_addch.3x
@@ -444,21 +444,25 @@ .SH EXTENSIONS
 names for the most useful graphic symbols,
 as well as for its own.
 Its header file commented:
-.sp
+.PP
 .EX
+.nf
+.\" Fill at 65 columns in your editor.
 /*
- * Standard alternate character set.  The current ACS world is evolving,
- * so we support only a widely available subset: the line drawing characters
- * from the VT100, plus a few from the Teletype 5410v1.  Eventually there
- * may be support of more sophisticated ACS line drawing, such as that
- * in the Teletype 5410, the HP line drawing set, and the like.  There may
- * be support for some non line oriented characters as well.
+ * Standard alternate character set.  The current ACS world is
+ * evolving, so we support only a widely available subset: the
+ * line drawing characters from the VT100, plus a few from the
+ * Teletype 5410v1.  Eventually there may be support of more
+ * sophisticated ACS line drawing, such as that in the Teletype
+ * 5410, the HP line drawing set, and the like.  There may be
+ * support for some non line oriented characters as well.
  *
- * Line drawing ACS names are of the form ACS_trbl, where t is the top, r
- * is the right, b is the bottom, and l is the left.  t, r, b, and l might
- * be B (blank), S (single), D (double), or T (thick).  The subset defined
- * here only uses B and S.
+ * Line drawing ACS names are of the form ACS_trbl, where t is
+ * the top, r is the right, b is the bottom, and l is the left.
+ * t, r, b, and l might be B (blank), S (single), D (double), or
+ * T (thick).  The subset defined here only uses B and S.
  */
+.fi
 .EE
 .PP
 Although these less-useful graphic symbols were not given names,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to