summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libcurses/curs_addch.3tbl6
-rw-r--r--lib/libcurses/curs_beep.34
-rw-r--r--lib/libcurses/curs_deleteln.34
-rw-r--r--lib/libcurses/curs_extend.36
-rw-r--r--lib/libcurses/curs_getch.3tbl12
-rw-r--r--lib/libcurses/curs_getstr.34
-rw-r--r--lib/libcurses/curs_getyx.34
-rw-r--r--lib/libcurses/curs_initscr.34
-rw-r--r--lib/libcurses/curs_inopts.38
-rw-r--r--lib/libcurses/curs_insch.34
-rw-r--r--lib/libcurses/curs_outopts.38
11 files changed, 32 insertions, 32 deletions
diff --git a/lib/libcurses/curs_addch.3tbl b/lib/libcurses/curs_addch.3tbl
index e72d93dfc32..4405acbd180 100644
--- a/lib/libcurses/curs_addch.3tbl
+++ b/lib/libcurses/curs_addch.3tbl
@@ -1,5 +1,5 @@
'\" t
-.\" $OpenBSD: curs_addch.3tbl,v 1.9 2000/07/10 03:06:04 millert Exp $
+.\" $OpenBSD: curs_addch.3tbl,v 1.10 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -62,7 +62,7 @@ If \fIch\fR is a tab, newline, or backspace, the cursor is moved appropriately
within the window. Backspace moves the cursor one character left; at the left
edge of a window it does nothing. Newline does a \fBclrtoeol\fR, then moves
the cursor to the window left margin on the next line, scrolling the window if
-on the last line). Tabs are considered to be at every eighth column.
+on the last line. Tabs are considered to be at every eighth column.
If \fIch\fR is any control character other than tab, newline, or backspace, it
is drawn in \fB^\fR\fIX\fR notation. Calling \fBwinch\fR after adding a
@@ -72,7 +72,7 @@ the ^-representation of the control character.
Video attributes can be combined with a character argument passed to
\fBaddch\fR or related functions by logical-ORing them into the character.
(Thus, text, including attributes, can be copied from one place to another
-using \fBinch\fR and \fBaddch\fR.). See the \fBcurs_attr\fR(3) page for
+using \fBinch\fR and \fBaddch\fR.) See the \fBcurs_attr\fR(3) page for
values of predefined video attribute constants that can be usefully OR'ed
into characters.
diff --git a/lib/libcurses/curs_beep.3 b/lib/libcurses/curs_beep.3
index 44582db4f6f..720ef140c81 100644
--- a/lib/libcurses/curs_beep.3
+++ b/lib/libcurses/curs_beep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_beep.3,v 1.5 1998/09/13 19:16:17 millert Exp $
+.\" $OpenBSD: curs_beep.3,v 1.6 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -47,7 +47,7 @@ flashes the screen, and if that is not possible, sounds the alert. If neither
alert is possible, nothing happens. Nearly all terminals have an audible alert
(bell or beep), but only some can flash the screen.
.SH RETURN VALUE
-These routines return \fBOK\fR if they succeed in beeping or flashing,
+These routines return \fBOK\fR if they succeed in beeping or flashing,
\fBERR\fR otherwise.
.SH EXTENSIONS
SVr4's beep and flash routines always returned \fBOK\fR, so it was not
diff --git a/lib/libcurses/curs_deleteln.3 b/lib/libcurses/curs_deleteln.3
index 69699b7d430..26f04cdfff2 100644
--- a/lib/libcurses/curs_deleteln.3
+++ b/lib/libcurses/curs_deleteln.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_deleteln.3,v 1.8 2001/01/22 18:01:33 millert Exp $
+.\" $OpenBSD: curs_deleteln.3,v 1.9 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -63,7 +63,7 @@ bottom lines are lost. For negative \fIn\fR, delete \fIn\fR lines (starting
with the one under the cursor), and move the remaining lines up. The bottom
\fIn\fR lines are cleared. The current cursor position remains the same.
-The \fBinsertln\fR and \fBwinsertln\fR routines, insert a blank line above the
+The \fBinsertln\fR and \fBwinsertln\fR routines insert a blank line above the
current line and the bottom line is lost.
.SH RETURN VALUE
All routines return the integer \fBERR\fR upon failure and an \fBOK\fR (SVr4
diff --git a/lib/libcurses/curs_extend.3 b/lib/libcurses/curs_extend.3
index 83f03f1c8c7..d33fb1ec949 100644
--- a/lib/libcurses/curs_extend.3
+++ b/lib/libcurses/curs_extend.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_extend.3,v 1.4 2003/03/07 06:30:38 david Exp $
+.\" $OpenBSD: curs_extend.3,v 1.5 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1999,2000 Free Software Foundation, Inc. *
@@ -59,11 +59,11 @@ function controls whether the calling application
is able to use user-defined or nonstandard names
which may be compiled into the terminfo
description, i.e., via the terminfo or termcap interfaces.
-Normally these names are available for use, since the essential descision
+Normally these names are available for use, since the essential decision
is made by using the \fB-x\fP option of \fItic\fP to compile
extended terminal definitions.
However you can disable this feature
-to ensure compatibility with other implementations of curses
+to ensure compatibility with other implementations of curses.
..
.SH PORTABILITY
These routines are specific to ncurses. They were not supported on
diff --git a/lib/libcurses/curs_getch.3tbl b/lib/libcurses/curs_getch.3tbl
index 631538c2096..978b261e616 100644
--- a/lib/libcurses/curs_getch.3tbl
+++ b/lib/libcurses/curs_getch.3tbl
@@ -1,5 +1,5 @@
'\" t
-.\" $OpenBSD: curs_getch.3tbl,v 1.10 2001/02/28 22:58:53 millert Exp $
+.\" $OpenBSD: curs_getch.3tbl,v 1.11 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -78,7 +78,7 @@ is read.
If \fBkeypad\fR is \fBTRUE\fR, and a function key is pressed, the token for
that function key is returned instead of the raw characters. Possible function
keys are defined in \fB<curses.h>\fR as macros with values outside the range
-of 8-bit characters whose names begin with \fBKEY_.\fR Thus, a variable
+of 8-bit characters whose names begin with \fBKEY_\fR. Thus, a variable
intended to hold the return value of a function key must be of short size or
larger.
@@ -136,7 +136,7 @@ KEY_ENTER/Enter or send
KEY_SRESET/Soft (partial) reset
KEY_RESET/Reset or hard reset
KEY_PRINT/Print or copy
-KEY_LL/Home down or bottom (lower left).
+KEY_LL/Home down or bottom (lower left)
KEY_A1/Upper left of keypad
KEY_A3/Upper right of keypad
KEY_B2/Center of keypad
@@ -213,8 +213,8 @@ c c c .
.TE
.sp
The \fBhas_key\fR routine takes a key value from the above list, and
-returns TRUE or FALSE according as the current terminal type recognizes
-a key with that value.
+returns TRUE or FALSE according to whether the current terminal type
+recognizes a key with that value.
.SH RETURN VALUE
All routines return the integer \fBERR\fR upon failure and an integer value
@@ -231,7 +231,7 @@ 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
+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
diff --git a/lib/libcurses/curs_getstr.3 b/lib/libcurses/curs_getstr.3
index 514e68277df..2b082892fbd 100644
--- a/lib/libcurses/curs_getstr.3
+++ b/lib/libcurses/curs_getstr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_getstr.3,v 1.7 2000/07/10 03:06:06 millert Exp $
+.\" $OpenBSD: curs_getstr.3,v 1.8 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -92,7 +92,7 @@ multi-byte characters is not yet present).
SVr3 and early SVr4 curses implementations did not reject function keys;
the SVr4.0 documentation claimed that "special keys" (such as function
-keys, "home" key, "clear" key, \fIetc\fR.) are interpreted" without
+keys, "home" key, "clear" key, etc.) are "interpreted", without
giving details. It lied. In fact, the `character' value appended to the
string by those implementations was predictable but not useful
(being, in fact, the low-order eight bits of the key's KEY_ value).
diff --git a/lib/libcurses/curs_getyx.3 b/lib/libcurses/curs_getyx.3
index 41c6f5eb2ca..95921476314 100644
--- a/lib/libcurses/curs_getyx.3
+++ b/lib/libcurses/curs_getyx.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_getyx.3,v 1.5 1998/09/13 19:16:19 millert Exp $
+.\" $OpenBSD: curs_getyx.3,v 1.6 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -56,7 +56,7 @@ variables \fIy\fR and \fIx\fR. Otherwise, \fB-1\fR is placed into \fIy\fR and
Like \fBgetyx\fR, the \fBgetbegyx\fR and \fBgetmaxyx\fR macros store
the current beginning coordinates and size of the specified window.
.SH RETURN VALUE
-The return values of these macros are undefined (\fIi\fR.\fIe\fR.,
+The return values of these macros are undefined (i.e.,
they should not be used as the right-hand side of assignment
statements).
.SH NOTES
diff --git a/lib/libcurses/curs_initscr.3 b/lib/libcurses/curs_initscr.3
index e818e920a08..fb57f12a83e 100644
--- a/lib/libcurses/curs_initscr.3
+++ b/lib/libcurses/curs_initscr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_initscr.3,v 1.7 2000/07/10 03:06:07 millert Exp $
+.\" $OpenBSD: curs_initscr.3,v 1.8 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -113,7 +113,7 @@ once.
Old versions of curses, e.g., BSD 4.4, may have returned a null pointer
from \fBinitscr\fR when an error is detected, rather than exiting.
-It is safe but redundant to check the return value of \fBinitscr\fR
+It is safe but redundant to check the return value of \fBinitscr\fR
in XSI Curses.
.SH SEE ALSO
\fBcurses\fR(3), \fBcurs_kernel\fR(3), \fBcurs_refresh\fR(3),
diff --git a/lib/libcurses/curs_inopts.3 b/lib/libcurses/curs_inopts.3
index 1f7c303c5e5..05fe55c9815 100644
--- a/lib/libcurses/curs_inopts.3
+++ b/lib/libcurses/curs_inopts.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_inopts.3,v 1.6 1998/09/13 19:16:19 millert Exp $
+.\" $OpenBSD: curs_inopts.3,v 1.7 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -165,9 +165,9 @@ had not occurred, after the handler exits.
The \fBtimeout\fR and \fBwtimeout\fR routines set blocking or
non-blocking read for a given window. If \fIdelay\fR is negative,
-blocking read is used (\fIi\fR.\fIe\fR., waits indefinitely for
+blocking read is used (i.e., waits indefinitely for
input). If \fIdelay\fR is zero, then non-blocking read is used
-(\fIi\fR.\fIe\fR., read returns \fBERR\fR if no input is waiting). If
+(i.e., read returns \fBERR\fR if no input is waiting). If
\fIdelay\fR is positive, then read blocks for \fIdelay\fR
milliseconds, and returns \fBERR\fR if there is still no input.
Hence, these routines provide the same functionality as \fBnodelay\fR,
@@ -195,7 +195,7 @@ The ncurses library obeys the XPG4 standard and the historical practice of the
AT&T curses implementations, in that the echo bit is cleared when curses
initializes the terminal state. BSD curses differed from this slightly; it
left the echo bit on at initialization, but the BSD \fBraw\fR call turned it
-off as a side-effect. For best portability, set echo or noecho explicitly
+off as a side-effect. For best portability, set echo or noecho explicitly
just after initialization, even if your program remains in cooked mode.
.SH NOTES
Note that \fBecho\fR, \fBnoecho\fR, \fBhalfdelay\fR, \fBintrflush\fR,
diff --git a/lib/libcurses/curs_insch.3 b/lib/libcurses/curs_insch.3
index 73f8e2f8e44..57099f36dbe 100644
--- a/lib/libcurses/curs_insch.3
+++ b/lib/libcurses/curs_insch.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_insch.3,v 1.6 2000/07/10 03:06:07 millert Exp $
+.\" $OpenBSD: curs_insch.3,v 1.7 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -47,7 +47,7 @@
\fBint mvwinsch(WINDOW *win, int y, int x, chtype ch);\fR
.br
.SH DESCRIPTION
-These routines, insert the character \fIch\fR before the character under the
+These routines insert the character \fIch\fR before the character under the
cursor. All characters to the right of the cursor are moved one space to the
right, with the possibility of the rightmost character on the line being lost.
The insertion operation does not change the cursor position.
diff --git a/lib/libcurses/curs_outopts.3 b/lib/libcurses/curs_outopts.3
index df04819cce9..f4067e387f9 100644
--- a/lib/libcurses/curs_outopts.3
+++ b/lib/libcurses/curs_outopts.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: curs_outopts.3,v 1.10 2001/02/25 18:32:34 millert Exp $
+.\" $OpenBSD: curs_outopts.3,v 1.11 2003/05/12 11:06:49 jmc Exp $
.\"
.\"***************************************************************************
.\" Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -85,9 +85,9 @@ terminals so equipped. Use of character insert/delete is enabled by default.
Calling \fBidcok\fR with \fBTRUE\fR as second argument re-enables use
of character insertion and deletion.
-If \fBimmedok\fR is called with \fBTRUE as argument\fR, any change
+If \fBimmedok\fR is called with \fBTRUE\fR as argument, any change
in the window image, such as the ones caused by \fBwaddch, wclrtobot, wscrl\fR,
-\fIetc\fR., automatically cause a call to \fBwrefresh\fR. However, it may
+etc., automatically cause a call to \fBwrefresh\fR. However, it may
degrade performance considerably, due to repeated calls to \fBwrefresh\fR.
It is disabled by default.
@@ -144,7 +144,7 @@ ability to do the equivalent of \fBclearok(..., 1)\fR by saying
\fBtouchwin(stdscr)\fR or \fBclear(stdscr)\fR. This will not work under
ncurses.
-Earlier System V curses implementations specified that with \fBscrollok\fR
+Earlier System V curses implementations specified that with \fBscrollok\fR
enabled, any window modification triggering a scroll also forced a physical
refresh. XSI Curses does not require this, and \fBncurses\fR avoids doing
it in order to perform better vertical-motion optimization at \fBwrefresh\fR