]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/1/cpu
merge
[plan9front.git] / sys / man / 1 / cpu
index e408683bcb1830e075621dd0e7e0ae90514401f1..046560d88a6d3e74ebb1077f7b60d1e58f3541c1 100644 (file)
@@ -4,6 +4,8 @@ cpu \- connection to CPU server
 .SH SYNOPSIS
 .B cpu
 [
+.B -p
+] [
 .B -h
 .I server
 ] [
@@ -28,11 +30,17 @@ cpu \- connection to CPU server
 .PP
 .B cpu
 [
+.B -n
+] [
+.B -A
+.I address
+] [
 .B -R
-|
-.B -O
 ]
 .SH DESCRIPTION
+This tool is deprecated and has been replaced by
+.IR rcpu (1).
+.PP
 .I Cpu
 starts an
 .IR rc (1)
@@ -122,6 +130,11 @@ back to
 This is used if the local host is in a different protection domain than
 the server or if the user wants to log into the server as a different
 user.
+.TP
+.B none
+This skips authentication. This requires the
+.IR -n
+flag to be specified on the remote side.
 .PD
 .PP
 The
@@ -171,11 +184,28 @@ to run the server (remote) side of the protocol.
 It is run from service files such as
 .BR /bin/service/tcp17010 .
 The
-.B -O
-flag is similar but simulates the pre-9P2000 version
-of the 
-.I cpu
-protocol.
+.B -n
+option allows using the
+.B none
+authentication method for incoming connections and must be
+specified before the
+.B -R
+flag.
+.PP
+The
+.B -p
+flag pushes the
+.IR aan (8)
+filter onto the connection to protect against temporary
+network outages.
+.PP
+The
+.B -A
+flag sets the announce-string
+.I address
+to use for
+.IR aan (8)
+connections, if requested by the initial protocol.
 .SH FILES
 The name space of the terminal side of the
 .I cpu
@@ -189,16 +219,19 @@ are bound to their standard locations from there.
 .SH SOURCE
 .B /sys/src/cmd/cpu.c
 .SH SEE ALSO
+.IR rcpu (1) ,
 .IR rc (1) ,
 .IR rio (1) ,
-.IR exportfs (4)
+.IR exportfs (4) ,
+.IR aan (8)
 .SH BUGS
 Binds and mounts done after the terminal
 .B lib/profile
 is run are not reflected in the new name space.
 .PP
-When using the
-.B -a
-option to `log in' as another user, be aware that
-resources in the local name space will be made
-available to that user.
+By default, the entire namespace of the local system is
+exported to the remote system. Use of the
+.B -P
+option in conjunction with a customized patternfile can
+limit this exposure, but also limits the usefulness of
+.B /mnt/term.