bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 02/34] man/clear.1: Fix style and formatting nits.


From: G. Branden Robinson
Subject: [PATCH 02/34] man/clear.1: Fix style and formatting nits.
Date: Fri, 6 Oct 2023 00:12:45 -0500

* Properly end a sentence instead of using a displayed example to dodge
  that responsibility.
* Use `PP` instead of `IP` to inset the example, and do so within in the
  `RS`/`RE` region instead of outside it.  With no paragraph tag, it can
  be difficult to reason about how `RS` and `IP` interact.
---
 man/clear.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man/clear.1 b/man/clear.1
index 0d8c59af..70169c01 100644
--- a/man/clear.1
+++ b/man/clear.1
@@ -122,21 +122,22 @@ .SH HISTORY
 In June 1999, \fIxterm\fP provided an extension to the standard control
 sequence for clearing the screen.
 Rather than clearing just the visible part of the screen using
-.IP
 .RS 8
+.PP
 .EX
 printf \*'\e033[2J\*'
 .EE
 .RE
 .IP
 one could clear the scrollback buffer using
-.IP
 .RS 8
+.PP
 .EX
 printf \*'\e033[\fB3\fPJ\*'
 .EE
 .RE
 .IP
+instead.
 \*(``XTerm Control Sequences\fP\*('' documents this feature as
 originating with \fIxterm\fP.
 .bP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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