bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 32/42] Prefer "bit mask" to "bit-mask" in usage.


From: G. Branden Robinson
Subject: [PATCH 32/42] Prefer "bit mask" to "bit-mask" in usage.
Date: Sat, 16 Dec 2023 11:47:29 -0600

Existing usage in ncurses favored the latter, but both appeared.  I
claim that the same reasoning that led to "color pair"'s hyphenless
statistical victory militates for this reform.

* man/curs_inch.3x:
* man/curs_mouse.3x:
* man/terminfo.tail: Do it.
---
 man/curs_inch.3x  | 8 ++++----
 man/curs_mouse.3x | 2 +-
 man/terminfo.tail | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/man/curs_inch.3x b/man/curs_inch.3x
index 7bf685682..b53a03886 100644
--- a/man/curs_inch.3x
+++ b/man/curs_inch.3x
@@ -71,13 +71,13 @@ .SH DESCRIPTION
 extract the character or attributes alone.
 .
 .SS Attributes
-The following bit-masks may be AND-ed with characters returned by \fBwinch\fP.
+The following bit masks may be AND-ed with characters returned by \fBwinch\fP.
 .PP
 .TS
 l l .
-\fBA_CHARTEXT\fP       Bit-mask to extract character
-\fBA_ATTRIBUTES\fP     Bit-mask to extract attributes
-\fBA_COLOR\fP  Bit-mask to extract color pair field information
+\fBA_CHARTEXT\fP       Bit mask to extract character
+\fBA_ATTRIBUTES\fP     Bit mask to extract attributes
+\fBA_COLOR\fP  Bit mask to extract color pair field information
 .TE
 .SH RETURN VALUE
 Functions with a \*(``mv\*('' prefix first perform a cursor movement using
diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x
index e800496dc..b6a46bb08 100644
--- a/man/curs_mouse.3x
+++ b/man/curs_mouse.3x
@@ -368,7 +368,7 @@ .SH PORTABILITY
 For instance
 the SVr4 \fIcurses\fP library used the \fB\%get_mouse\fP capability to tell the
 terminal which mouse button events it should send,
-passing the mouse-button bit-mask to the terminal.
+passing the mouse-button bit mask to the terminal.
 Also, it could ask the terminal
 where the mouse was using the \fB\%req_mouse_pos\fP capability.
 .IP
diff --git a/man/terminfo.tail b/man/terminfo.tail
index 094c931e0..beaf51035 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -1746,7 +1746,7 @@ These parameters must be (Red, Green, Blue) or
 On some color terminals, colors collide with highlights.
 You can register
 these collisions with the \fBncv\fP capability.
-This is a bit-mask of
+This is a bit mask of
 attributes not to be used when colors are enabled.
 The correspondence with the
 attributes understood by \fBcurses\fP is as follows:
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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