.gitignore: Ignore `auto-version' script.
[u/mdw/catacomb] / pixie.1
diff --git a/pixie.1 b/pixie.1
index 1b73db9..c83b013 100644 (file)
--- a/pixie.1
+++ b/pixie.1
@@ -26,6 +26,12 @@ pixie \- Catacomb passphrase pixie
 .IR socket ]
 .B \-C
 .RI [ "request args" ...]
 .IR socket ]
 .B \-C
 .RI [ "request args" ...]
+.br
+.B pixie
+.RB [ \-s
+.IR socket ]
+.BR \-P [ P ]
+.I tag
 .SH "DESCRIPTION"
 The passphrase pixie manages passphrases.  When it starts up, it creates
 a Unix-domain socket in a private directory.  Clients may connect to it
 .SH "DESCRIPTION"
 The passphrase pixie manages passphrases.  When it starts up, it creates
 a Unix-domain socket in a private directory.  Clients may connect to it
@@ -58,10 +64,24 @@ Print a terse usage summary and exit successfully.
 .B "\-C, \-\-client"
 Connect to a running pixie as a client.  If command-line arguments are
 supplied, they are concatenated with spaces between them and submitted
 .B "\-C, \-\-client"
 Connect to a running pixie as a client.  If command-line arguments are
 supplied, they are concatenated with spaces between them and submitted
-to the pixie as a request; a reply is read from the pixie and printed
-on stdout.  If no command-line arguments are given, requestss are read
-interactively from stdin and sent to the pixie; the pixie's responses
-are printed on stdout.
+to the pixie as a request; a reply is read from the pixie and formatted:
+information is written to standard output; errors are reported via
+standard error and the exit status.  If no command-line arguments are
+given, requestss are read interactively from stdin and sent to the
+pixie; the pixie's responses are printed on stdout uninterpreted.
+.TP
+.B "\-P, \-\-passphrase"
+Connect to a running pixie and request the passphrase with tag
+.IR tag .
+If no pixie is running then request the passphrase from the terminal.
+Print the result on standard output, followed by a newline.
+.TP
+.B "\-PP, \-\-verify-passphrase"
+Connect to a running pixie and request verification of the passphrase
+with tag
+.IR tag .
+If no pixie is running, request the passphrase from the terminal.  Print
+the result on standard output, followed by a newline.
 .TP
 .B "\-q, \-\-quiet"
 Causes the pixie to emit fewer log messages.
 .TP
 .B "\-q, \-\-quiet"
 Causes the pixie to emit fewer log messages.
@@ -94,7 +114,7 @@ or
 .RB ` d '
 can be added to specify minutes, hours or days respectively.  A timeout
 of zero means that the pixie will never time out a passphrase.  The
 .RB ` d '
 can be added to specify minutes, hours or days respectively.  A timeout
 of zero means that the pixie will never time out a passphrase.  The
-default is to time out a passphrase after 5 minutes.
+default is to time out a passphrase after 15 minutes.
 .TP
 .B "\-d, \-\-daemon"
 Fork into the background and disassociate from the terminal after
 .TP
 .B "\-d, \-\-daemon"
 Fork into the background and disassociate from the terminal after
@@ -222,7 +242,7 @@ using the same syntax as the
 .B \-t
 command-line option.
 .TP
 .B \-t
 command-line option.
 .TP
-.B VERIFY " tag \fR[\fIexpire\fR]"
+.BI VERIFY " tag \fR[\fIexpire\fR]"
 Requests a new passphrase named
 .IR tag .
 If the pixie is capable of fetching passphrases, it should ask the user
 Requests a new passphrase named
 .IR tag .
 If the pixie is capable of fetching passphrases, it should ask the user
@@ -231,7 +251,7 @@ the
 .B PASS
 request.
 .TP
 .B PASS
 request.
 .TP
-.BI SET "tag \fR[\fIexpire\fR] " \-\- " phrase"
+.BI SET " tag \fR[\fIexpire\fR] " \-\- " phrase"
 Sets the value of the passphrase named
 .I tag
 to be
 Sets the value of the passphrase named
 .I tag
 to be
@@ -287,7 +307,7 @@ sent a passphrase over a hostile or potentially hostile network.  Don't
 do anything else stupid.
 .SH "OTHER CAVEATS"
 The pixie's preinitialization checking doesn't do a thorough audit of a
 do anything else stupid.
 .SH "OTHER CAVEATS"
 The pixie's preinitialization checking doesn't do a thorough audit of a
-directory, in the way that, say
+directory, in the way that, say,
 .BR chkpath (1)
 does.  It's your responsibility to make sure that the full path is
 relatively safe.
 .BR chkpath (1)
 does.  It's your responsibility to make sure that the full path is
 relatively safe.
@@ -307,4 +327,4 @@ noted in the
 .B auto-pgp
 documentation.
 .SH "AUTHOR"
 .B auto-pgp
 documentation.
 .SH "AUTHOR"
-Mark Wooding, <mdw@nsict.org>
+Mark Wooding, <mdw@distorted.org.uk>