aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/9term.17
-rw-r--r--man/man1/acme.117
-rw-r--r--man/man1/date.113
-rw-r--r--man/man1/wintext.118
4 files changed, 36 insertions, 19 deletions
diff --git a/man/man1/9term.1 b/man/man1/9term.1
index e0e5aad7..b0706139 100644
--- a/man/man1/9term.1
+++ b/man/man1/9term.1
@@ -285,6 +285,13 @@ containing the selection (typing cursor).
A typical use of this feature is to tell the editor to find the source of an error
by plumbing the file and line information in a compiler's diagnostic.
.PP
+The
+.B look
+menu item searches forward for the contents of the selection within
+the window. If a match is found, it becomes the new selection and the
+window scrolls to display it. The search wraps around to the beginning
+of the windows if the end of the window is reached.
+.PP
For systems without a three-button mouse, the keyboard modifier
keys can be used to modify the effect of the main mouse button.
On Unix systems, the Control key changes the main button to button 2,
diff --git a/man/man1/acme.1 b/man/man1/acme.1
index b3266595..182bcc7b 100644
--- a/man/man1/acme.1
+++ b/man/man1/acme.1
@@ -129,7 +129,7 @@ hold button 3 down near the top of the scroll bar. Moving the mouse
down the scroll bar speeds up the rate of scrolling.
(The experimental option
.B -r
-reverses the scrolling behavior of buttons 1 and 3, to behave
+reverses the scrolling behavior of buttons 1 and 3, to behave
more like
.IR xterm (1).)
.SS Layout
@@ -193,10 +193,15 @@ When a window is in autoindent mode
(see the
.B Indent
command below) and a newline character is typed,
-acme copies leading white space on the current line to the new line.
+.I acme
+copies leading white space on the current line to the new line,
+and when a window is
+.BR Put ,
+.I acme
+removes all trailing end-of-line white space before writing the file.
The option
.B -a
-causes each window to start in
+causes each window to start in
autoindent mode.
.SS "Directory context
Each window's tag names a directory: explicitly if the window
@@ -406,7 +411,7 @@ command.
.B Local
In the Plan 9
.IR acme ,
-this prefix causes a command to be run in
+this prefix causes a command to be run in
.IR acme 's own
file name space and environment variable group.
On Unix this is impossible.
@@ -540,7 +545,7 @@ The environment variable
.B $acmeshell
determines which shell is used to execute such commands; the
.IR rc (1)
-shell is used by default.
+shell is used by default.
.SS "Mouse button 3
Pointing at text with button 3 instructs
.I acme
@@ -658,7 +663,7 @@ button and then typing Option without letting go of the button will
cause a 1-2 chord, cutting the selection.
On Mac systems, the usual keyboard shortcuts
Command-C, -V, -X, and -Z invoke
-copy, paste, cut, and undo,
+copy, paste, cut, and undo,
and Command-Shift-Z invokes redo,
as in other programs.
Especially on Mac laptops, these keyboard shortcuts are
diff --git a/man/man1/date.1 b/man/man1/date.1
index 1ce96f38..10db8dfe 100644
--- a/man/man1/date.1
+++ b/man/man1/date.1
@@ -1,6 +1,6 @@
.TH DATE 1
.SH NAME
-date \- date and time
+date, clock \- date and time
.SH SYNOPSIS
.B date
[
@@ -8,8 +8,8 @@ date \- date and time
] [
.I seconds
]
-.\" .br
-.\" .B clock
+.br
+.B clock
.SH DESCRIPTION
Print the date, in the format
.PP
@@ -34,6 +34,9 @@ If the optional argument
.I seconds
is present, it is used as the time to convert rather than
the real time.
+.PP
+.I Clock
+draws a simple analog clock in its window.
.\" .SH FILES
.\" .TF /adm/timezone/local
.\" .TP
@@ -54,5 +57,5 @@ the real time.
.\" draws a simple analog clock in its window.
.SH SOURCE
.B \*9/src/cmd/date.c
-.\" .br
-.\" .B \*9/src/cmd/draw/clock.c
+.br
+.B \*9/src/cmd/draw/clock.c
diff --git a/man/man1/wintext.1 b/man/man1/wintext.1
index 12859f25..966b307b 100644
--- a/man/man1/wintext.1
+++ b/man/man1/wintext.1
@@ -3,17 +3,17 @@
wintext, ", "" \- access text in current window
.ds x \C'"'
.ds xx \C'"'\^\^\^\^\C'"'
-.ds y \*x\
-.ds yy \*(xx\
+.ds y \*x\^
+.ds yy \*(xx\^
.SH SYNOPSIS
.B wintext
.br
-.B \*x\
+.B \*y
[
.I prefix
]
.br
-.B \*(xx\
+.B \*(yy
[
.I prefix
]
@@ -22,9 +22,11 @@ wintext, ", "" \- access text in current window
prints the text of the current
.I win
(see
-.IR acme (1))
+.IR acme (1)),
+.IR 9term (1),
or
-.IR 9term (1)
+(Unix's)
+.IR tmux (1)
window to standard output.
.PP
.I \*y
@@ -40,7 +42,7 @@ prints the last command executed.
.I \*(yy
prints the last command that
.I \*y
-would print and then executes it by piping it into
+would print and then executes it by piping it into
.IR rc (1).
.PP
Both
@@ -82,7 +84,7 @@ command again:
% \*(xx lc
% lc r*
ramfs rc read rio rm
-%
+%
.EE
.SH SEE ALSO
.IR 9term (1),