bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH v2 15/18] man/curs_terminfo.3x: Revise tables.


From: G. Branden Robinson
Subject: [PATCH v2 15/18] man/curs_terminfo.3x: Revise tables.
Date: Sat, 23 Sep 2023 06:59:32 -0500

* Consistently use `PP` to put a blank line before each table, making
  it more like a display.
* Fix sentence fragments introducing table.
* Use `x` modifiers on each "Description" column, which needs a lot of
  room.  This lets the column expand to whatever width is available.
* Set columns containing literals in bold.
* ...except where this would result in a nearly completely bold table.
  There, use roman, with "N/A" converted to lowercase italics.
* Use '_' in table data instead of repeated '_' column descriptions.
* Set "termcap" in italics.
---
 man/curs_terminfo.3x | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index f6a9940a..6f2da7a5 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -516,13 +516,13 @@ .SS Compatibility macros
 as macros for BSD compatibility,
 .\" ***************************************************************************
 .SH HISTORY
-SVr2 introduced the terminfo feature.
 SVr2 introduced the \fIterminfo\fP feature.
-Its programming manual mentioned these low-level functions:
+Its programming manual mentioned the following low-level functions.
 .PP
 .TS
-l l.
-\fBFunction\fP \fBDescription\fP
+lB lB
+lB lx.
+Function       Description
 _
 fixterm        restore tty to \*(``in \fIcurses\fP\*('' state
 gettmode       establish current tty modes
@@ -546,14 +546,14 @@ .SH HISTORY
 .PP
 The programming manual also mentioned
 functions provided for \fItermcap\fP compatibility
-(commenting that they \*(``may go away at a later date\*(''):
+(commenting that they \*(``may go away at a later date\*('').
 .PP
 .TS
-l l
-_ _
-l l.
-\fBFunction\fP \fBDescription\fP
-tgetent        look up termcap entry for given \fIname\fP
+lB lB
+lB lx.
+Function       Description
+_
+tgetent        look up \fItermcap\fP entry for given \fIname\fP
 tgetflag       get boolean entry for given \fIid\fP
 tgetnum        get numeric entry for given \fIid\fP
 tgetstr        get string entry for given \fIid\fP
@@ -571,10 +571,10 @@ .SH HISTORY
 and reusing \fB\%tgoto\fP and \fB\%tputs\fP:
 .PP
 .TS
-l l
-_ _
-l l.
-\fBFunction\fP \fBDescription\fP
+lB lB
+lB lx.
+Function       Description
+_
 tigetflag      get boolean entry for given \fIid\fP
 tigetnum       get numeric entry for given \fIid\fP
 tigetstr       get string entry for given \fIid\fP
@@ -582,15 +582,16 @@ .SH HISTORY
 .PP
 SVr3 also replaced several of the SVr2 \fIterminfo\fP functions
 which had no counterpart in the \fItermcap\fP interface,
-documenting them as obsolete:
+documenting them as obsolete.
+.PP
 .TS
-l l
-_ _
-l l.
-\fBFunction\fP \fBReplaced by\fP
+lB lB
+l  lx.
+Function       Replaced by
+_
 crmode cbreak
 fixterm        reset_prog_mode
-gettmode       N/A
+gettmode       \fIn/a\fP
 nocrmode       nocbreak
 resetterm      reset_shell_mode
 saveterm       def_prog_mode
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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