aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-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
-rw-r--r--man/man3/mouse.310
-rw-r--r--man/man3/thread.38
-rw-r--r--man/man4/plumber.49
-rw-r--r--man/man8/vbackup.82
-rw-r--r--man/man8/venti.831
9 files changed, 83 insertions, 32 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),
diff --git a/man/man3/mouse.3 b/man/man3/mouse.3
index 216c72b0..b5061fd9 100644
--- a/man/man3/mouse.3
+++ b/man/man3/mouse.3
@@ -88,15 +88,15 @@ returns a structure through which one may access the mouse:
typedef struct Mousectl Mousectl;
struct Mousectl
{
- Mouse;
- Channel *c; /* chan(Mouse)[16] */
+ Mouse m;
+ Channel *c; /* chan(Mouse)[16] */
Channel *resizec; /* chan(int)[2] */
char *file;
int mfd; /* to mouse file */
int cfd; /* to cursor file */
int pid; /* of slave proc */
- Image* image; /* of associated window/display */
+ Image* image; /* of associated window/display */
};
.EE
.PP
@@ -142,7 +142,9 @@ to reconnect to the window.
.I Readmouse
updates the
.B Mouse
-structure held in the
+structure
+.B m
+held in the
.BR Mousectl ,
blocking if the state has not changed since the last
.I readmouse
diff --git a/man/man3/thread.3 b/man/man3/thread.3
index 0ebbddd0..9088ae2e 100644
--- a/man/man3/thread.3
+++ b/man/man3/thread.3
@@ -169,6 +169,14 @@ initialized to the desired value
.B mainstacksize
.B =
.BR 1024 ).
+When using the
+.I pthread
+library,
+.B mainstacksize
+is ignored, as is the stack size argument to
+.BR proccreate :
+the first thread in each proc
+runs on the native system stack.
.PP
.I Threadcreate
creates a new thread in the calling proc, returning a unique integer
diff --git a/man/man4/plumber.4 b/man/man4/plumber.4
index 0dfe68bb..88801eb4 100644
--- a/man/man4/plumber.4
+++ b/man/man4/plumber.4
@@ -4,6 +4,9 @@ plumber \- file system for interprocess messaging
.SH SYNOPSIS
.B plumber
[
+.B -f
+]
+[
.B -p
.I plumbing
]
@@ -23,7 +26,7 @@ in the format of
Its services are posted via
.IR 9pserve (4)
as
-.BR plumb .
+.BR plumb ,
and consist of two
pre-defined files,
.B plumb/send
@@ -95,6 +98,10 @@ Thus the rule set may be edited dynamically with a traditional text editor.
However, ports are never deleted dynamically; if a new set of rules does not
include a port that was defined in earlier rules, that port will still exist (although
no new messages will be delivered there).
+.PP
+The
+.B -f
+option causes the process to run in the foreground.
.SH FILES
.TF $HOME/lib/plumbing
.TP
diff --git a/man/man8/vbackup.8 b/man/man8/vbackup.8
index 89da1da5..26ab9178 100644
--- a/man/man8/vbackup.8
+++ b/man/man8/vbackup.8
@@ -394,7 +394,7 @@ Mount the backups on a client machine using
.IR vmount :
.IP
.EX
-# vmount udp!yourserver!nfs /dump
+# vmount yourserver /dump
# ls /dump/bob/2005
0510
0511
diff --git a/man/man8/venti.8 b/man/man8/venti.8
index d95edaa9..4fd40df6 100644
--- a/man/man8/venti.8
+++ b/man/man8/venti.8
@@ -272,12 +272,30 @@ Set
to
.IR value .
.TP
-.BI /graph/ name / param / param / \fR...
-A PNG image graphing the named run-time statistic over time.
-The details of names and parameters are undocumented;
-see
+.BI /graph?arg= name [&arg2= name] &graph= type &param= value \fR...
+A PNG image graphing the
+.IT name
+run-time statistic over time.
+The details of names and parameters are mostly undocumented;
+see the
+.BR graphname
+array in
.B httpd.c
-in the venti sources.
+in the venti code for a list of possible statistics. The
+.IR type
+of graph defaults to raw, see the
+.BR xgraph
+function for a list of types. Possible
+.IR param
+include the timeframe
+.BR (t0
+and
+.BR t1)
+, the y limits
+.BR (min
+and
+.BR max)
+ etc.
.TP
.B /log
A list of all debugging logs present in the server's memory.
@@ -376,8 +394,7 @@ network address to announce venti service
.TP
.BI httpaddr " netaddr
network address to announce HTTP service
-(default
-.BR tcp!*!http )
+(default is not to start the service)
.TP
.B queuewrites
queue writes in memory