9srv Manual Collection/plan9/9pcon(8) | 9srv Manual Collection/plan9/9pcon(8) |
---|
Once the connection is established, 9pcon prints R-messages as they arrive from the server, and sends T-messages as they are typed on standard input. There is no prompt. Lines beginning with # are ignored. The syntax for T-messages is one of:
See
intro(5)
for a description of the fields in each message.
For the most part, the syntax mirrors the description
of the messages in section 5.
The exceptions are that
the tags on the T-messages are added automatically;
Twalk's
nwname
count is inferred from the number of
wnames
given;
and
Twstat's
dir
is in expanded form rather than being an opaque byte sequence.
Note that since commands are parsed with
tokenize
(see
getfields(2)),
it is easy to pass empty strings for absent
name,
uid,
and
gid
fields.
To ease specifying default integer fields, the
Twstat
message recognizes
~0
in the
mode,
mtime,
and
length
arguments.
For example,
9srv Manual Collection/plan9/9pcon(8) | Rev: Sun Dec 02 23:42:26 GMT 2007 |