[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/45] man/curs_inopts.3x: Refer to elemental function `wgetch()`
From: |
G. Branden Robinson |
Subject: |
[PATCH 15/45] man/curs_inopts.3x: Refer to elemental function `wgetch()` instead of `getch()` macro. |
Date: |
Sat, 25 May 2024 12:40:27 -0500 |
---
man/curs_inopts.3x | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/man/curs_inopts.3x b/man/curs_inopts.3x
index 03a410942..fa663edb0 100644
--- a/man/curs_inopts.3x
+++ b/man/curs_inopts.3x
@@ -134,20 +134,20 @@ .SS "cbreak, nocbreak"
.I curses
set the \fB\%cbreak\fP mode.
Note that \fB\%cbreak\fP overrides \fBraw\fP.
-[See \fB\%curs_getch\fP(3X) for a discussion of how these routines
+[See \fB\%wgetch\fP(3X) for a discussion of how these routines
interact with \fBecho\fP and \fB\%noecho\fP.]
.\"
.SS "echo, noecho"
The \fBecho\fP and \fB\%noecho\fP routines control whether characters
-typed by the user are echoed by \fB\%getch\fP(3X) as they are typed.
+typed by the user are echoed by \fB\%wgetch\fP(3X) as they are typed.
Echoing by the terminal driver is always disabled,
-but initially \fB\%getch\fP is in echo mode,
+but initially \fB\%wgetch\fP is in echo mode,
so characters typed are echoed.
Authors of most interactive programs prefer to do
their own echoing in a controlled area of the screen,
or not to echo at all,
so they disable echoing by calling \fB\%noecho\fP.
-[See \fB\%curs_getch\fP(3X) for a
+[See \fB\%wgetch\fP(3X) for a
discussion of how these routines interact with \fB\%cbreak\fP and
\fB\%nocbreak\fP.]
.\"
@@ -237,15 +237,15 @@ .SS "nl, nonl"
display device translates the return key into newline on input.
.\"
.SS nodelay
-The \fB\%nodelay\fP option causes \fB\%getch\fP to be a non-blocking
+The \fB\%nodelay\fP option causes \fB\%wgetch\fP to be a non-blocking
call.
If no input is ready,
-\fB\%getch\fP returns \fBERR\fP.
+\fB\%wgetch\fP returns \fBERR\fP.
If disabled
.RI ( bf
is
.BR FALSE ),
-\fB\%getch\fP waits until a key is pressed.
+\fB\%wgetch\fP waits until a key is pressed.
.SS notimeout
When interpreting an escape sequence,
\fB\%wgetch\fP(3X) sets a timer
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 15/45] man/curs_inopts.3x: Refer to elemental function `wgetch()` instead of `getch()` macro.,
G. Branden Robinson <=