summaryrefslogtreecommitdiffstats
path: root/lib/libcurses
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-02-28 22:58:52 +0000
committermillert <millert@openbsd.org>2001-02-28 22:58:52 +0000
commit2f4721ffe8ce7219cc370658e4fed9a6d10a04f9 (patch)
tree2b7f981985b467f2674d446359251724bef33b47 /lib/libcurses
parenttypo (diff)
downloadwireguard-openbsd-2f4721ffe8ce7219cc370658e4fed9a6d10a04f9.tar.xz
wireguard-openbsd-2f4721ffe8ce7219cc370658e4fed9a6d10a04f9.zip
ncurses-5.2-20010224
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/curs_getch.3tbl13
-rw-r--r--lib/libcurses/curses.h4
2 files changed, 13 insertions, 4 deletions
diff --git a/lib/libcurses/curs_getch.3tbl b/lib/libcurses/curs_getch.3tbl
index 8cb9a9f3a73..631538c2096 100644
--- a/lib/libcurses/curs_getch.3tbl
+++ b/lib/libcurses/curs_getch.3tbl
@@ -1,5 +1,5 @@
'\" t
-.\" $OpenBSD: curs_getch.3tbl,v 1.9 2000/07/10 03:06:06 millert Exp $
+.\" $OpenBSD: curs_getch.3tbl,v 1.10 2001/02/28 22:58:53 millert Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -29,7 +29,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $From: curs_getch.3x,v 1.17 2000/07/01 16:45:36 tom Exp $
+.\" $From: curs_getch.3x,v 1.18 2001/02/25 00:20:30 tom Exp $
.TH curs_getch 3 ""
.SH NAME
\fBgetch\fR,
@@ -225,6 +225,15 @@ Use of the escape key by a programmer for a single character function is
discouraged, as it will cause a delay of up to one second while the
keypad code looks for a following function-key sequence.
+Note that some keys may be the same as commonly used control
+keys, e.g., KEY_ENTER versus control/M, KEY_BACKSPACE versus control/H.
+Some curses implementations may differ according to whether they
+treat these control keys specially (and ignore the terminfo), or
+use the terminfo definitions.
+\fBNcurses\fR uses the terminfo definition.
+If it says that KEY_ENTER is control/M, \fBgetch\fR, will return KEY_ENTER
+when you press control/M.
+
When using \fBgetch\fR, \fBwgetch\fR, \fBmvgetch\fR, or
\fBmvwgetch\fR, nocbreak mode (\fBnocbreak\fR) and echo mode
(\fBecho\fR) should not be used at the same time. Depending on the
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h
index 275d36a9b36..d632b4eb468 100644
--- a/lib/libcurses/curses.h
+++ b/lib/libcurses/curses.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: curses.h,v 1.58 2001/02/22 04:16:34 millert Exp $ */
+/* $OpenBSD: curses.h,v 1.59 2001/02/28 22:58:53 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998,1999,2000 Free Software Foundation, Inc. *
@@ -50,7 +50,7 @@
/* These are defined only in curses.h, and are used for conditional compiles */
#define NCURSES_VERSION_MAJOR 5
#define NCURSES_VERSION_MINOR 2
-#define NCURSES_VERSION_PATCH 20010210
+#define NCURSES_VERSION_PATCH 20010224
/* This is defined in more than one ncurses header, for identification */
#undef NCURSES_VERSION