Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.bin/window Pull up revision 1.8 (requested by wiz):
details: https://anonhg.NetBSD.org/src/rev/bf6e8a954362
branches: netbsd-1-5
changeset: 491404:bf6e8a954362
user: he <he%NetBSD.org@localhost>
date: Thu Apr 26 08:53:43 2001 +0000
description:
Pull up revision 1.8 (requested by wiz):
Correct environ reference to environ(7). Improve some cross
references. Whitespace fixes.
diffstat:
usr.bin/window/window.1 | 72 ++++++++++++++++++++++++------------------------
1 files changed, 36 insertions(+), 36 deletions(-)
diffs (232 lines):
diff -r 67ae1ba14420 -r bf6e8a954362 usr.bin/window/window.1
--- a/usr.bin/window/window.1 Thu Apr 26 08:51:06 2001 +0000
+++ b/usr.bin/window/window.1 Thu Apr 26 08:53:43 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: window.1,v 1.7 1999/03/22 18:16:47 garbled Exp $
+.\" $NetBSD: window.1,v 1.7.10.1 2001/04/26 08:53:43 he Exp $
.\"
.\" Copyright (c) 1985, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -88,7 +88,7 @@
.Pa .windowrc
and create the two default
windows instead.
-.It Fl e Ar escape-char
+.It Fl e Ar escape-char
Set the escape character to
.Ar escape-char .
.Ar Escape-char
@@ -97,8 +97,8 @@
where
.Ar X
is any character, meaning
-.No control\- Ns Ar X .
-.It Fl c Ar command
+.No control\- Ns Ar X .
+.It Fl c Ar command
Execute the string
.Ar command
as a long command (see below)
@@ -130,12 +130,12 @@
With each newly created window, a shell program is spawned with its
process environment tailored to that window. Its standard input,
output, and diagnostic file descriptors are bound to one end of either
-a pseudo-terminal
-.Xr (pty 4 )
+a pseudo-terminal (see
+.Xr pty 4 )
or a
.Ux
-domain socket
-.Xr (socketpair 4 ) .
+domain socket (see
+.Xr socketpair 2 ) .
If a pseudo-terminal is used, then its special
characters and modes (see
.Xr stty 1 )
@@ -143,8 +143,8 @@
terminal. A
.Xr termcap 5
entry tailored to this window is created
-and passed as environment
-.Xr (environ 5 )
+and passed as environment (see
+.Xr environ 7 )
variable
.Ev TERMCAP .
The termcap entry contains the window's size and
@@ -169,7 +169,7 @@
it is set apart by highlighting its identifier and label in reverse video.
.Pp
Typing
-.Nm "" Ns 's
+.Nm "" Ns 's
escape character (normally
.Ic ^P )
in conversation
@@ -192,7 +192,7 @@
corresponding to the windows 1 to 9.
.Ic ^X
means
-.No control\- Ns Ar X ,
+.No control\- Ns Ar X ,
where
.Ar X
is any character. In particular,
@@ -208,7 +208,7 @@
.Ar #
as the current window
and return to conversation mode.
-.It Ic \&% Ns Ar #
+.It Ic \&% Ns Ar #
Select window
.Ar #
but stay in command mode.
@@ -264,16 +264,16 @@
command below).
.Pp
Only fully visible windows can be created this way.
-.It Ic c Ns Ar #
+.It Ic c Ns Ar #
Close window
.Ar # .
The process in the window is sent
the hangup signal (see
.Xr kill 1 ) .
-.Xr Csh 1
+.Xr csh 1
should
handle this signal correctly and cause no problems.
-.It Ic m Ns Ar #
+.It Ic m Ns Ar #
Move window
.Ar #
to another location. A box in the shape
@@ -283,11 +283,11 @@
.Ic w
command are used to position the box. The
window can be moved partially off-screen.
-.It Ic M Ns Ar #
+.It Ic M Ns Ar #
Move window
.Ar #
to its previous position.
-.It Ic s Ns Ar #
+.It Ic s Ns Ar #
Change the size of window
.Ar # .
The user is prompted
@@ -298,7 +298,7 @@
and
.Ic m
are used to enter the position.
-.It Ic S Ns Ar #
+.It Ic S Ns Ar #
Change window
.Ar #
to its previous size.
@@ -416,12 +416,12 @@
.Aq Va expr2
.Xc
Assignment. The variable of name
-.Aq Va expr1 ,
+.Aq Va expr1 ,
which must be string valued,
is assigned the result of
-.Aq Va expr2 .
+.Aq Va expr2 .
Returns the value of
-.Aq Va expr2 .
+.Aq Va expr2 .
.It Xo
.Aq Va expr1
.Ic ?
@@ -430,19 +430,19 @@
.Aq Va expr3
.Xc
Returns the value of
-.Aq Va expr2
+.Aq Va expr2
if
-.Aq Va expr1
+.Aq Va expr1
evaluates true
(non-zero numeric value); returns the value of
-.Aq Va expr3
+.Aq Va expr3
otherwise. Only
one of
-.Aq Va expr2
+.Aq Va expr2
and
-.Aq Va expr3
+.Aq Va expr3
is evaluated.
-.Aq Va Expr1
+.Aq Va Expr1
must
be numeric.
.It Xo
@@ -452,9 +452,9 @@
.Xc
Logical or. Numeric values only. Short circuit evaluation is supported
(i.e., if
-.Aq Va expr1
+.Aq Va expr1
evaluates true, then
-.Aq Va expr2
+.Aq Va expr2
is not evaluated).
.It Xo
.Aq Va expr1
@@ -642,7 +642,7 @@
.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
@@ -737,7 +737,7 @@
.No control\- Ns Ar X .
.It Xo
.Ic foreground Ns ( Bq Ar window ,
-.Bq Ar flag )
+.Bq Ar flag )
.Xc
Move
.Nm
@@ -752,7 +752,7 @@
is no change.
.It Xo
.Ic label Ns ( Bq Ar window ,
-.Bq Ar label )
+.Bq Ar label )
.Xc
Set the label of
.Nm
@@ -813,12 +813,12 @@
.Bq Ar ncol ,
.Bq Ar nline ,
.Bq Ar label ,
-.Bq Ar pty ,
+.Bq Ar pty ,
.Bq Ar frame ,
.Bq Ar mapnl ,
.Bq Ar keepopen ,
.Bq Ar smooth ,
-.Bq Ar shell ) .
+.Bq Ar shell ) .
.Xc
Open a window with upper left corner at
.Ar row ,
@@ -938,7 +938,7 @@
.Bl -tag -width /dev/[pt]ty[pq]? -compact
.It Pa ~/.windowrc
startup command file.
-.It Pa /dev/[pt]ty[pq]?
+.It Pa /dev/[pt]ty[pq]?
pseudo-terminal devices.
.El
.Sh HISTORY
Home |
Main Index |
Thread Index |
Old Index