bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH v2 14/18] man/curs_util.3x: Revise table.


From: G. Branden Robinson
Subject: [PATCH v2 14/18] man/curs_util.3x: Revise table.
Date: Sat, 23 Sep 2023 06:59:21 -0500

* Fix sentence fragment introducing table.
* Set table in an indented paragraph instead of centering it; centering
  doesn't make much sense since it requires a great deal of horizontal
  space.
* Use tabs for entry separation, for consistency with other tables in
  the ncurses man pages.
* Drop explicit column width specifications in favor of using `x`
  modifier on the "Summary" column, which needs a lot of room.  This
  lets the column expand to whatever width is available instead of
  maxing out at 40 ens.
* Set columns containing literals in bold.
* Use '_' in table data instead of repeated '_' column descriptions.
* Denote environment variables in bold instead of using shell script
  syntax.
* Slightly recast.
---
 man/curs_util.3x | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/man/curs_util.3x b/man/curs_util.3x
index 35916aad..d5e975c9 100644
--- a/man/curs_util.3x
+++ b/man/curs_util.3x
@@ -198,28 +198,28 @@ .SS use_tioctl
 \fIncurses\fP re-fetches the value of the environment variables so that
 it is still the environment variables which set the screen size.
 .PP
-The \fB\%use_env\fP and \fB\%use_tioctl\fP routines combine as
-summarized here:
-.PP
+The \fB\%use_env\fP and \fB\%use_tioctl\fP routines combine as follows.
+.IP
 .TS
-center tab(/);
-l l l
-_ _ _
-lw7 lw7 lw40.
-\fBuse_env\fP/\fBuse_tioctl\fP/\fBSummary\fP
-TRUE/FALSE/T{
-This is the default behavior.
+lB lB lB
+lB lB lx.
+use_env        use_tioctl      Summary
+_
+TRUE   FALSE   T{
 \fIncurses\fP uses operating system calls
-unless overridden by $LINES or $COLUMNS environment variables.
+unless overridden by \fBLINES\fP or \fB\%COLUMNS\fP environment
+variables;
+default.
 T}
-TRUE/TRUE/T{
-\fIncurses\fP updates $LINES and $COLUMNS based on operating system calls.
+TRUE   TRUE    T{
+\fIncurses\fP updates \fBLINES\fP and \fB\%COLUMNS\fP based on operating
+system calls.
 T}
-FALSE/TRUE/T{
-\fIncurses\fP ignores $LINES and $COLUMNS,
-uses operating system calls to obtain size.
+FALSE  TRUE    T{
+\fIncurses\fP ignores \fBLINES\fP and \fB\%COLUMNS\fP,
+using operating system calls to obtain size.
 T}
-FALSE/FALSE/T{
+FALSE  FALSE   T{
 \fIncurses\fP relies on the terminal database to determine size.
 T}
 .TE
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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