summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/window/window.147
-rw-r--r--usr.bin/x99token/x99token.110
-rw-r--r--usr.bin/ypwhich/ypwhich.16
3 files changed, 35 insertions, 28 deletions
diff --git a/usr.bin/window/window.1 b/usr.bin/window/window.1
index 6268641f539..4809d2d7af9 100644
--- a/usr.bin/window/window.1
+++ b/usr.bin/window/window.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: window.1,v 1.12 2000/11/09 17:52:49 aaron Exp $
+.\" $OpenBSD: window.1,v 1.13 2003/01/16 18:28:10 millert Exp $
.\" $NetBSD: window.1,v 1.3 1995/09/28 10:35:05 tls Exp $
.\"
.\" Copyright (c) 1985, 1990, 1993
@@ -84,7 +84,7 @@ the terminal screen are created by default.
The options are as follows:
.Bl -tag -width Ds
.It Fl t
-Turn on terse mode (see
+Turn on terse mode (see the
.Ic terse
command below).
.It Fl f
@@ -182,7 +182,7 @@ terminal's real cursor is placed at the cursor position of a particular
window--called the current window--and input from the keyboard is sent
to the process in that window.
The current window is always
-on top of all other windows, except those in foreground.
+on top of all other windows, except those in the foreground.
In addition,
it is set apart by highlighting its identifier and label in reverse video.
.Pp
@@ -296,7 +296,7 @@ Typing escape at any point cancels this command.
.Pp
This window becomes the current window,
and is given the first available ID.
-The default buffer size is used (see
+The default buffer size is used (see the
.Ar default_nline
command below).
.Pp
@@ -468,7 +468,7 @@ after evaluation.
Therefore, only expressions with side
effects (assignments and function calls) are useful as statements.
.Pp
-Single valued (no arrays) variables are supported, of both
+Single valued (non-array) variables are supported, of both
numeric and string values.
Some variables are predefined.
They are listed below.
@@ -564,7 +564,7 @@ The boolean
result (either 1 or 0) of the comparison is returned.
The operands can be numeric or string valued.
One string operand
-forces the other to be converted to a string in necessary.
+forces the other to be converted to a string if necessary.
.It Xo
.Aq Va expr1
.Ic <
@@ -572,9 +572,14 @@ forces the other to be converted to a string in necessary.
.Aq Va expr1
.Ic >
.Aq Va expr2 ,
+.Xc
+.It Xo
.Aq Va expr1
.Ic <=
.Aq Va expr2 ,
+.Aq Va expr1
+.Ic >=
+.Aq Va expr2
.Xc
Less than, greater than, less than or equal to,
greater than or equal to.
@@ -599,7 +604,7 @@ is
a string, then its first (or last)
.Aq Va expr2
characters are
-returns (if
+returned (if
.Aq Va expr2
is also a string, then its length is used
in place of its value).
@@ -639,8 +644,8 @@ Numbers only.
.Xc
The first three are unary minus, bitwise complement and logical complement
on numbers only.
-The operator,
-.Ql $ ,
+The operator
+.Ql $
takes
.Aq Va expr
and returns
@@ -724,8 +729,10 @@ obvious meanings, or it can be a numeric expression,
in which case a non-zero value is true.
.Bl -tag -width Fl
.It Xo
-.Ic alias Ns Po Bq Aq Ar string ,
-.Bq Aq Ar string\-list Pc
+.Sm off
+.Ic alias Po Bo Ao Ar string Ac Bc ,
+.No \ Bo Ao Ar string-list Ac Bc Pc
+.Sm on
.Xc
If no argument is given, all currently defined alias macros are
listed.
@@ -733,18 +740,18 @@ Otherwise,
.Aq Ar string
is defined as an alias,
with expansion
-.Aq Ar string\-list > .
+.Aq Ar string-list .
The previous definition of
.Aq Ar string ,
if any, is returned.
Default for
-.Aq Ar string\-list
+.Aq Ar string-list
is no change.
-.It Ic close Ns Pq Aq Ar window\-list
+.It Ic close Ns Pq Aq Ar window-list
Close the windows specified in
-.Aq Ar window\-list .
+.Aq Ar window-list .
If
-.Aq Ar window\-list
+.Aq Ar window-list
is the word
.Ar all ,
than all windows are closed.
@@ -777,9 +784,9 @@ Initially, it is 48 lines.
Returns the old default buffer size.
Default is no change.
Using a very large buffer can slow the program down considerably.
-.It Ic default_shell Ns Pq Bq Aq Ar string\-list
+.It Ic default_shell Ns Pq Bq Aq Ar string-list
Set the default window shell program to
-.Aq Ar string\-list .
+.Aq Ar string-list .
Returns the first string in the old shell setting.
Default is no change.
Initially, the default shell is taken from the environment variable
@@ -805,7 +812,7 @@ The old value (as a number) is returned.
The initial value is 1 (true).
.It Xo
.Ic echo Ns ( Op Ar window ,
-.Bq Aq Ar string\-list )
+.Bq Aq Ar string-list )
.Xc
Write the list of strings,
.Aq Ar string-list ,
@@ -980,7 +987,7 @@ see above).
The created window's identifier is returned as a number.
.It Xo
.Ic write Ns ( Bq Ar window ,
-.Bq Aq Ar string\-list )
+.Bq Aq Ar string-list )
.Xc
Send the list of strings,
.Aq Ar string-list ,
diff --git a/usr.bin/x99token/x99token.1 b/usr.bin/x99token/x99token.1
index 24136504050..7b2c782bc01 100644
--- a/usr.bin/x99token/x99token.1
+++ b/usr.bin/x99token/x99token.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: x99token.1,v 1.4 2001/08/14 23:07:58 espie Exp $
+.\" $OpenBSD: x99token.1,v 1.5 2003/01/16 18:28:10 millert Exp $
.\"
.Dd August 1, 2001
.Dt X99TOKEN 1
@@ -25,7 +25,7 @@ requests a key.
The key consists of 8 bytes encoded in either hex or octal.
When encoded in hex the key must consist of 16 hex digits,
no spaces (e.g., "0123456789abcdef").
-When encoded in octal the key must consist of 8 3 digit octets,
+When encoded in octal the key must consist of 8 3-digit octets,
each separated by exactly one space
(e.g., "001 010 100 002 020 200 003 030").
Once the key is entered, a PIN number is requested.
@@ -40,11 +40,11 @@ is not specified,
.Nm
is in calculator mode.
In this mode you must enter the same PIN as used in the initialization step.
-The PIN is used decode the the key read from the keyfile.
+The PIN is used to decode the key read from the keyfile.
Next you enter the challenge you have been presented with.
The
.Nm
-program will provide you a response to the challenge.
+program will provide you with a response to the challenge.
If the
.Fl d
option is used, the response will fold any hex digits to decimal.
@@ -83,7 +83,7 @@ default keyfile
.Sh AUTHORS
Paul Borman <prb@krystal.com>
.Sh CAVEATS
-This is a very simple minded program.
+This is a very simple-minded program.
The keyfile should be placed on a floppy disk which is kept physically secure.
.Pp
Having not read the X9.9 standard, this may not be a complete or accurate
diff --git a/usr.bin/ypwhich/ypwhich.1 b/usr.bin/ypwhich/ypwhich.1
index 16bb805ce56..17e44661533 100644
--- a/usr.bin/ypwhich/ypwhich.1
+++ b/usr.bin/ypwhich/ypwhich.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ypwhich.1,v 1.11 2000/11/10 05:10:43 aaron Exp $
+.\" $OpenBSD: ypwhich.1,v 1.12 2003/01/16 18:28:10 millert Exp $
.\" $NetBSD: ypwhich.1,v 1.3 1996/05/13 02:43:46 thorpej Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
@@ -29,14 +29,14 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: ypwhich.1,v 1.11 2000/11/10 05:10:43 aaron Exp $
+.\" $Id: ypwhich.1,v 1.12 2003/01/16 18:28:10 millert Exp $
.\"
.Dd February 23, 1994
.Dt YPWHICH 1
.Os
.Sh NAME
.Nm ypwhich
-.Nd return hostname of YP server of map master
+.Nd return hostname of YP server or map master
.Sh SYNOPSIS
.Nm ypwhich
.Op Fl d Ar domain