bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 15/20] Capitalize "Boolean".


From: G. Branden Robinson
Subject: [PATCH 15/20] Capitalize "Boolean".
Date: Fri, 29 Dec 2023 21:02:25 -0600

It is a proper adjective named for a person, as with "Newtonian physics"
or "Darwinian selection".

* include/Caps:
* include/Caps.aix4:
* include/Caps.hpux11:
* include/Caps.keys:
* include/Caps.osf1r5:
* include/Caps.uwin:
* man/curs_terminfo.3x:
* man/infocmp.1m:
* man/term.5:
* man/terminfo.head:
* man/terminfo.tail:
* man/tic.1m:
* man/user_caps.5: Do it.
---
 include/Caps         |  4 ++--
 include/Caps.aix4    |  4 ++--
 include/Caps.hpux11  |  6 +++---
 include/Caps.keys    |  4 ++--
 include/Caps.osf1r5  |  4 ++--
 include/Caps.uwin    |  4 ++--
 man/curs_terminfo.3x | 10 +++++-----
 man/infocmp.1m       |  4 ++--
 man/term.5           | 24 ++++++++++++------------
 man/terminfo.head    |  4 ++--
 man/terminfo.tail    | 14 +++++++-------
 man/tic.1m           |  2 +-
 man/user_caps.5      | 12 ++++++------
 13 files changed, 48 insertions(+), 48 deletions(-)

diff --git a/include/Caps b/include/Caps
index ceff65af0..f1ceb89a8 100644
--- a/include/Caps
+++ b/include/Caps
@@ -48,7 +48,7 @@
 #
 # Column 1: terminfo variable name
 # Column 2: terminfo capability name
-# Column 3: capability type (boolean, numeric, or string)
+# Column 3: capability type (Boolean, numeric, or string)
 # Column 4: termcap capability name
 # Column 5: KEY_xxx name, if any, `-' otherwise
 # Column 6: value for KEY_xxx name, if any, `-' otherwise
@@ -206,7 +206,7 @@
 #%indicates the \fIi\fP\uth\d parameter.
 #%
 #%.PP
-#% These are the boolean capabilities:
+#% These are the Boolean capabilities:
 #%
 #%.na
 #%.TS H
diff --git a/include/Caps.aix4 b/include/Caps.aix4
index ce6069f0b..4da6ea9e2 100644
--- a/include/Caps.aix4
+++ b/include/Caps.aix4
@@ -48,7 +48,7 @@
 #
 # Column 1: terminfo variable name
 # Column 2: terminfo capability name
-# Column 3: capability type (boolean, numeric, or string)
+# Column 3: capability type (Boolean, numeric, or string)
 # Column 4: termcap capability name
 # Column 5: KEY_xxx name, if any, `-' otherwise
 # Column 6: value for KEY_xxx name, if any, `-' otherwise
@@ -206,7 +206,7 @@
 #%indicates the \fIi\fP\uth\d parameter.
 #%
 #%.PP
-#% These are the boolean capabilities:
+#% These are the Boolean capabilities:
 #%
 #%.na
 #%.TS H
diff --git a/include/Caps.hpux11 b/include/Caps.hpux11
index 4d61364df..ecb98b1fc 100644
--- a/include/Caps.hpux11
+++ b/include/Caps.hpux11
@@ -48,7 +48,7 @@
 #
 # Column 1: terminfo variable name
 # Column 2: terminfo capability name
-# Column 3: capability type (boolean, numeric, or string)
+# Column 3: capability type (Boolean, numeric, or string)
 # Column 4: termcap capability name
 # Column 5: KEY_xxx name, if any, `-' otherwise
 # Column 6: value for KEY_xxx name, if any, `-' otherwise
@@ -206,7 +206,7 @@
 #%indicates the \fIi\fP\uth\d parameter.
 #%
 #%.PP
-#% These are the boolean capabilities:
+#% These are the Boolean capabilities:
 #%
 #%.na
 #%.TS H
@@ -237,7 +237,7 @@ dest_tabs_magic_smso                xt      bool    xt      
-       -       YBCGE   tabs destructive, magic so char (t106
 tilde_glitch                   hz      bool    hz      -       -       YB-GE   
cannot print ~'s (Hazeltine)
 transparent_underline          ul      bool    ul      -       -       YBCGE   
underline character overstrikes
 xon_xoff                       xon     bool    xo      -       -       YB---   
terminal uses xon/xoff handshaking
-# end booleans for HPUX 9, 10 (non-color curses)
+# end Booleans for HPUX 9, 10 (non-color curses)
 needs_xon_xoff                 nxon    bool    nx      -       -       -----   
padding will not work, xon/xoff required
 prtr_silent                    mc5i    bool    5i      -       -       -----   
printer will not echo on screen
 hard_cursor                    chts    bool    HC      -       -       -----   
cursor is hard to see
diff --git a/include/Caps.keys b/include/Caps.keys
index f3e6dc3bd..979b6e16f 100644
--- a/include/Caps.keys
+++ b/include/Caps.keys
@@ -50,7 +50,7 @@
 #
 # Column 1: terminfo variable name
 # Column 2: terminfo capability name
-# Column 3: capability type (boolean, numeric, or string)
+# Column 3: capability type (Boolean, numeric, or string)
 # Column 4: termcap capability name
 # Column 5: KEY_xxx name, if any, `-' otherwise
 # Column 6: value for KEY_xxx name, if any, `-' otherwise
@@ -208,7 +208,7 @@
 #%indicates the \fIi\fP\uth\d parameter.
 #%
 #%.PP
-#% These are the boolean capabilities:
+#% These are the Boolean capabilities:
 #%
 #%.na
 #%.TS H
diff --git a/include/Caps.osf1r5 b/include/Caps.osf1r5
index 30e350a24..0454f714c 100644
--- a/include/Caps.osf1r5
+++ b/include/Caps.osf1r5
@@ -48,7 +48,7 @@
 #
 # Column 1: terminfo variable name
 # Column 2: terminfo capability name
-# Column 3: capability type (boolean, numeric, or string)
+# Column 3: capability type (Boolean, numeric, or string)
 # Column 4: termcap capability name
 # Column 5: KEY_xxx name, if any, `-' otherwise
 # Column 6: value for KEY_xxx name, if any, `-' otherwise
@@ -206,7 +206,7 @@
 #%indicates the \fIi\fP\uth\d parameter.
 #%
 #%.PP
-#% These are the boolean capabilities:
+#% These are the Boolean capabilities:
 #%
 #%.na
 #%.TS H
diff --git a/include/Caps.uwin b/include/Caps.uwin
index 59332c4e6..e29a0a81a 100644
--- a/include/Caps.uwin
+++ b/include/Caps.uwin
@@ -48,7 +48,7 @@
 #
 # Column 1: terminfo variable name
 # Column 2: terminfo capability name
-# Column 3: capability type (boolean, numeric, or string)
+# Column 3: capability type (Boolean, numeric, or string)
 # Column 4: termcap capability name
 # Column 5: KEY_xxx name, if any, `-' otherwise
 # Column 6: value for KEY_xxx name, if any, `-' otherwise
@@ -206,7 +206,7 @@
 #%indicates the \fIi\fP\uth\d parameter.
 #%
 #%.PP
-#% These are the boolean capabilities:
+#% These are the Boolean capabilities:
 #%
 #%.na
 #%.TS H
diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index 5edbfebb8..ae557576b 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -260,7 +260,7 @@ .SS "The Terminal State"
 \fBsetupterm\fP allocates new storage for each set of terminal capabilities.
 .PP
 The \fBset_curterm\fP routine sets \fBcur_term\fP to
-\fInterm\fP, and makes all of the \fBterminfo\fP boolean, numeric, and
+\fInterm\fP, and makes all of the \fBterminfo\fP Boolean, numeric, and
 string variables use the values from \fInterm\fP.
 It returns the old value of \fBcur_term\fP.
 .PP
@@ -268,7 +268,7 @@ .SS "The Terminal State"
 \fIoterm\fP and makes it available for further use.
 If \fIoterm\fP is
 the same as \fBcur_term\fP, references to any of the \fBterminfo\fP
-boolean, numeric, and string variables thereafter may refer to invalid
+Boolean, numeric, and string variables thereafter may refer to invalid
 memory locations until another \fBsetupterm\fP has been called.
 .PP
 The \fBrestartterm\fP routine is similar to \fBsetupterm\fP and \fBinitscr\fP,
@@ -404,7 +404,7 @@ .SS "Terminal Capability Functions"
 The \fBtigetflag\fP routine returns
 .TP
 \fB\-1\fP
-if \fIcapname\fP is not a boolean capability,
+if \fIcapname\fP is not a Boolean capability,
 or
 .TP
 \fB0\fP
@@ -734,7 +734,7 @@ .SH HISTORY
 Function       Description
 _
 tgetent        look up \fItermcap\fP entry for given \fIname\fP
-tgetflag       get boolean entry for given \fIid\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
 tgoto  apply parameters to given capability
@@ -755,7 +755,7 @@ .SH HISTORY
 lB lx.
 Function       Description
 _
-tigetflag      get boolean entry for given \fIid\fP
+tigetflag      get Boolean entry for given \fIid\fP
 tigetnum       get numeric entry for given \fIid\fP
 tigetstr       get string entry for given \fIid\fP
 .TE
diff --git a/man/infocmp.1m b/man/infocmp.1m
index 11241bdef..7515acc37 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -87,7 +87,7 @@ .SH DESCRIPTION
 terminfo entries, rewrite a \fBterminfo\fP description to take advantage of the
 \fBuse=\fP terminfo field, or print out a \fBterminfo\fP description from the
 binary file (\fBterm\fP) in a variety of formats.
-In all cases, the boolean
+In all cases, the Boolean
 fields will be printed first, followed by the numeric fields, followed by the
 string fields.
 .SS "Default Options"
@@ -104,7 +104,7 @@ .SS "Comparison Options [\-d] [\-c] [\-n]"
 If a capability is defined for only one of the
 terminals, the value returned depends on the type of the capability:
 .bP
-\fBF\fP for missing boolean variables
+\fBF\fP for missing Boolean variables
 .bP
 \fBNULL\fP for missing integer or string variables
 .PP
diff --git a/man/term.5 b/man/term.5
index ede2eb1c2..e81ee63f2 100644
--- a/man/term.5
+++ b/man/term.5
@@ -111,7 +111,7 @@ .SS "Legacy Storage Format"
 .TP 3
 b) \fIterminal names\fP,
 .TP 3
-c) \fIboolean flags\fP,
+c) \fIBoolean flags\fP,
 .TP 3
 d) \fInumbers\fP,
 .TP 3
@@ -130,7 +130,7 @@ .SS "Legacy Storage Format"
 .TP 5
 (2) the size, in bytes, of the \fIterminal names\fP section;
 .TP 5
-(3) the number of bytes in the \fIboolean flags\fP section;
+(3) the number of bytes in the \fIBoolean flags\fP section;
 .TP 5
 (4) the number of short integers in the \fInumbers\fP section;
 .TP 5
@@ -140,7 +140,7 @@ .SS "Legacy Storage Format"
 .RE
 .PP
 The capabilities in the
-\fIboolean flags\fP,
+\fIBoolean flags\fP,
 \fInumbers\fP, and
 \fIstrings\fP
 sections are in the same order as the file <term.h>.
@@ -168,14 +168,14 @@ .SS "Legacy Storage Format"
 .IP
 The integer value \-1 is represented by two bytes 0377, 0377.
 .br
-Absent boolean values are represented by the byte 0 (false).
+Absent Boolean values are represented by the byte 0 (false).
 .bP
 If a capability has been canceled from this terminal,
 @TIC@ stores a \-2 in the corresponding table.
 .IP
 The integer value \-2 is represented by two bytes 0377, 0376.
 .br
-The boolean value \-2 is represented by the byte 0376.
+The Boolean value \-2 is represented by the byte 0376.
 .br
 .bP
 Other negative values are illegal.
@@ -187,11 +187,11 @@ .SS "Legacy Storage Format"
 The \fIterminal names\fP section is terminated
 with an \s-1ASCII NUL\s+1 character.
 .PP
-The \fIboolean flags\fP section has one byte for each flag.
+The \fIBoolean flags\fP section has one byte for each flag.
 Boolean capabilities are either 1 or 0 (true or false)
 according to whether the terminal supports the given capability or not.
 .PP
-Between the \fIboolean flags\fP section and the \fInumber\fP section,
+Between the \fIBoolean flags\fP section and the \fInumber\fP section,
 a null byte will be inserted, if necessary,
 to ensure that the \fInumber\fP section begins on an even byte
 This is a relic of the PDP\-11's word-addressed architecture,
@@ -199,7 +199,7 @@ .SS "Legacy Storage Format"
 by addressing a word on an odd byte boundary.
 All short integers are aligned on a short word boundary.
 .PP
-The \fInumbers\fP section is similar to the \fIboolean flags\fP section.
+The \fInumbers\fP section is similar to the \fIBoolean flags\fP section.
 Each capability takes up two bytes,
 and is stored as a little-endian short integer.
 .PP
@@ -219,7 +219,7 @@ .SS "Extended Storage Format"
 The previous section describes the conventional terminfo binary format.
 With some minor variations of the offsets (see PORTABILITY),
 the same binary format is used in all modern Unix systems.
-Each system uses a predefined set of boolean, number or string capabilities.
+Each system uses a predefined set of Boolean, number or string capabilities.
 .PP
 The \fI\%ncurses\fP libraries and applications support
 extended terminfo binary format,
@@ -236,7 +236,7 @@ .SS "Extended Storage Format"
 .RS 5
 .TP 5
 (1)
-count of extended boolean capabilities
+count of extended Boolean capabilities
 .TP 5
 (2)
 count of extended numeric capabilities
@@ -261,7 +261,7 @@ .SS "Extended Storage Format"
 .PP
 The extended string table contains values for string capabilities.
 After the end of these values, it contains the names for each of
-the extended capabilities in order, e.g., booleans, then numbers and
+the extended capabilities in order, e.g., Booleans, then numbers and
 finally strings.
 .PP
 By storing terminal descriptions in this way,
@@ -314,7 +314,7 @@ .SS setupterm
 must be prepared for both possibilities \-
 this is why the numbers and sizes are included.
 Also, new capabilities must always be added at the end of the lists
-of boolean, number, and string capabilities.
+of Boolean, number, and string capabilities.
 .SS "Binary Format"
 X/Open Curses does not specify a format for the terminfo database.
 System V curses used a directory-tree of binary files,
diff --git a/man/terminfo.head b/man/terminfo.head
index 712da62c9..fc64597cb 100644
--- a/man/terminfo.head
+++ b/man/terminfo.head
@@ -163,10 +163,10 @@ or methods for exercising the terminal's features.
 .PP
 After the first field (giving the name(s) of the terminal entry),
 there should be one or more \fIcapability\fP fields.
-These are boolean, numeric or string names with corresponding values:
+These are Boolean, numeric or string names with corresponding values:
 .bP
 Boolean capabilities are true when present, false when absent.
-There is no explicit value for boolean capabilities.
+There is no explicit value for Boolean capabilities.
 .bP
 Numeric capabilities have a \*(``#\*('' following the name,
 then an unsigned decimal integer value.
diff --git a/man/terminfo.tail b/man/terminfo.tail
index dc527831a..d615964e8 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -46,7 +46,7 @@ When \fB\-x\fP is set,
 \fB@TIC@\fP treats unknown capabilities as user-defined.
 That is, if \fB@TIC@\fP encounters a capability name
 which it does not recognize,
-it infers its type (boolean, number or string) from the syntax
+it infers its type (Boolean, number or string) from the syntax
 and makes an extended table entry for that capability.
 The \fBuse_extended_names\fP(3X) function makes this information
 conditionally available to applications.
@@ -56,7 +56,7 @@ behavior to applications:
 User-defined capability strings whose name begins
 with \*(``k\*('' are treated as function keys.
 .bP
-The types (boolean, number, string) determined by \fB@TIC@\fP
+The types (Boolean, number, string) determined by \fB@TIC@\fP
 can be inferred by successful calls on \fBtigetflag\fP, etc.
 .bP
 If the capability name happens to be two characters,
@@ -68,7 +68,7 @@ in practice it has been limited to the capabilities defined by
 terminfo implementations.
 As a rule,
 user-defined capabilities intended for use by termcap applications should
-be limited to booleans and numbers to avoid running past the 1023 byte
+be limited to Booleans and numbers to avoid running past the 1023 byte
 limit assumed by termcap implementations and their applications.
 In particular, providing extended sets of function keys (past the 60
 numbered keys and the handful of special named keys) is best done using
@@ -883,7 +883,7 @@ or
 on many terminals without a true insert/delete line,
 and is often faster even on terminals with those features.
 .PP
-The boolean \fBnon_dest_scroll_region\fP should be set if each scrolling
+The Boolean \fBnon_dest_scroll_region\fP should be set if each scrolling
 window is effectively a view port on a screen-sized canvas.
 To test for
 this capability, create a scrolling region in the middle of the screen,
@@ -1536,7 +1536,7 @@ capability \fBwsl\fP.
 .PP
 A command to erase or blank the status line may be specified as \fBdsl\fP.
 .PP
-The boolean capability \fBeslok\fP specifies that escape sequences, tabs,
+The Boolean capability \fBeslok\fP specifies that escape sequences, tabs,
 etc., work ordinarily in the status line.
 .PP
 The \fI\%ncurses\fP implementation does not yet use any of these
@@ -1648,7 +1648,7 @@ The \fBoc\fP string resets all colors or color pairs to
 their default values for the terminal.
 Some terminals (including many PC
 terminal emulators) erase screen areas with the current background color rather
-than the power-up default background; these should have the boolean capability
+than the power-up default background; these should have the Boolean capability
 \fBbce\fP.
 .PP
 While the curses library works with \fIcolor pairs\fP
@@ -1730,7 +1730,7 @@ take a color number (0 to \fBcolors\fP \- 1)and three 
more parameters which
 describe the color.
 These three parameters default to being interpreted as RGB
 (Red, Green, Blue) values.
-If the boolean capability \fBhls\fP is present,
+If the Boolean capability \fBhls\fP is present,
 they are instead as HLS (Hue, Lightness, Saturation) indices.
 The ranges are
 terminal-dependent.
diff --git a/man/tic.1m b/man/tic.1m
index 7471ad8b7..89e1bc29d 100644
--- a/man/tic.1m
+++ b/man/tic.1m
@@ -398,7 +398,7 @@ .SH OPTIONS
 \fB\-x\fP
 Treat unknown capabilities as user-defined (see \fBuser_caps\fP(5)).
 That is, if you supply a capability name which \fB@TIC@\fP does not recognize,
-it will infer its type (boolean, number or string) from the syntax and
+it will infer its type (Boolean, number or string) from the syntax and
 make an extended table entry for that.
 User-defined capability strings
 whose name begins with \*(``k\*('' are treated as function keys.
diff --git a/man/user_caps.5 b/man/user_caps.5
index 978edbc49..a98308121 100644
--- a/man/user_caps.5
+++ b/man/user_caps.5
@@ -61,7 +61,7 @@ .SS Background
 and standardized in the Single Unix Specification beginning in 1995.
 .PP
 Most of the \fIextensions\fP in this fixed repertoire were additions
-to the tables of boolean, numeric and string capabilities.
+to the tables of Boolean, numeric and string capabilities.
 Rather than change the meaning of an existing capability, a new name was added.
 The terminfo database uses a binary format; binary compatibility was
 ensured by using a header which gave the number of items in the
@@ -192,7 +192,7 @@ .SS "Recognized Capabilities"
 .RS 3
 .TP 3
 AX
-\fIboolean\fP, asserts that the terminal interprets SGR 39 and SGR 49
+\fIBoolean\fP, asserts that the terminal interprets SGR 39 and SGR 49
 by resetting the foreground and background color, respectively, to the default.
 .IP
 This is a feature recognized by the \fBscreen\fP program as well.
@@ -205,7 +205,7 @@ .SS "Recognized Capabilities"
 The command \*(``\fBtput clear\fP\*('' does the same thing.
 .TP 3
 NQ
-\fIboolean\fP,
+\fIBoolean\fP,
 used to suppress a consistency check in @TIC@ for the \fI\%ncurses\fP
 capabilities
 in user6 through user9 (u6, u7, u8 and u9)
@@ -213,7 +213,7 @@ .SS "Recognized Capabilities"
 and its device attributes.
 .TP 3
 RGB
-\fIboolean\fP, \fInumber\fP \fBor\fP \fIstring\fP,
+\fIBoolean\fP, \fInumber\fP \fBor\fP \fIstring\fP,
 used to assert that the
 \fBset_a_foreground\fP and
 \fBset_a_background\fP capabilities correspond to \fIdirect colors\fP,
@@ -225,7 +225,7 @@ .SS "Recognized Capabilities"
 The capability type determines the values which \fI\%ncurses\fP sees:
 .RS 3
 .TP 3
-\fIboolean\fP
+\fIBoolean\fP
 implies that the number of bits for red, green and blue are the same.
 Using the maximum number of colors,
 \fI\%ncurses\fP adds two,
@@ -239,7 +239,7 @@ .SS "Recognized Capabilities"
 \fInumber\fP
 tells \fI\%ncurses\fP what result to add to red, green and blue.
 If \fI\%ncurses\fP runs out of bits,
-blue (and green) lose just as in the \fIboolean\fP case.
+blue (and green) lose just as in the \fIBoolean\fP case.
 .TP 3
 \fIstring\fP
 explicitly list the number of bits used for red, green and blue components
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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