bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 02/40] man/curs_terminfo.3x: Migrate metasyntactic variable: "cap


From: G. Branden Robinson
Subject: [PATCH 02/40] man/curs_terminfo.3x: Migrate metasyntactic variable: "capname" -> "cap-code".
Date: Fri, 12 Jan 2024 13:27:11 -0600

---
 man/curs_terminfo.3x | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index e5affc46f..48f217d92 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -102,9 +102,9 @@ .SH SYNOPSIS
 .PP
 \fBint mvcur(int \fIoldrow\fP, int \fIoldcol\fP, int \fInewrow\fP, int 
\fInewcol\fP);
 .PP
-\fBint tigetflag(const char *\fIcapname\fP);
-\fBint tigetnum(const char *\fIcapname\fP);
-\fBchar *tigetstr(const char *\fIcapname\fP);
+\fBint tigetflag(const char *\fIcap-code\fP);
+\fBint tigetnum(const char *\fIcap-code\fP);
+\fBchar *tigetstr(const char *\fIcap-code\fP);
 .PP
 \fBchar *tiparm(const char *\fIstr\fP, \fR.\|.\|.\fP);
 .PP
@@ -460,16 +460,16 @@ .SS "Terminal Capability Functions"
 The \fBtigetflag\fP, \fBtigetnum\fP and \fBtigetstr\fP routines return
 the value of the capability corresponding to the
 .I \%term\%info
-\fIcapname\fP passed to them, such as \fBxenl\fP.
-The \fIcapname\fP for each capability is given in the table column entitled
-\fIcapname\fP code in the capabilities section of \fB\%terminfo\fP(5).
+\fIcap-code\fP passed to them, such as \fBxenl\fP.
+The \fIcap-code\fP for each capability is given in the table column entitled
+\fIcap-code\fP code in the capabilities section of \fB\%terminfo\fP(5).
 .PP
 These routines return special values to denote errors.
 .PP
 The \fBtigetflag\fP routine returns
 .TP
 \fB\-1\fP
-if \fIcapname\fP is not a Boolean capability,
+if \fIcap-code\fP is not a Boolean capability,
 or
 .TP
 \fB0\fP
@@ -478,7 +478,7 @@ .SS "Terminal Capability Functions"
 The \fBtigetnum\fP routine returns
 .TP
 \fB\-2\fP
-if \fIcapname\fP is not a numeric capability, or
+if \fIcap-code\fP is not a numeric capability, or
 .TP
 \fB\-1\fP
 if it is canceled or absent from the terminal description.
@@ -486,7 +486,7 @@ .SS "Terminal Capability Functions"
 The \fBtigetstr\fP routine returns
 .TP
 \fB(char *)\-1\fP
-if \fIcapname\fP is not a string capability,
+if \fIcap-code\fP is not a string capability,
 or
 .TP
 \fB0\fP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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