; * doc/lispref/processes.texi (Network): Fix wording and punctuation.
This commit is contained in:
parent
037d858dc1
commit
12daf386f3
1 changed files with 15 additions and 13 deletions
|
@ -2620,7 +2620,7 @@ and @samp{:capability-command} are supplied, try to upgrade to an encrypted
|
||||||
connection via @acronym{STARTTLS}. If that fails, retain the
|
connection via @acronym{STARTTLS}. If that fails, retain the
|
||||||
unencrypted connection.
|
unencrypted connection.
|
||||||
@item starttls
|
@item starttls
|
||||||
As for @code{nil}, but if @acronym{STARTTLS} fails drop the connection.
|
As for @code{nil}, but if @acronym{STARTTLS} fails, drop the connection.
|
||||||
@item shell
|
@item shell
|
||||||
A shell connection.
|
A shell connection.
|
||||||
@end table
|
@end table
|
||||||
|
@ -2631,9 +2631,9 @@ doing a @samp{plain} connection.
|
||||||
|
|
||||||
@item :capability-command @var{capability-command}
|
@item :capability-command @var{capability-command}
|
||||||
Command to query the host capabilities. This can either be a string
|
Command to query the host capabilities. This can either be a string
|
||||||
(which will then be sent verbatim to the server), or a function
|
(which will then be sent verbatim to the server) or a function
|
||||||
(called with a single parameter; the "greeting" from the server when
|
(called with a single parameter: the ``greeting'' from the server when
|
||||||
connecting), and should return a string.
|
connecting) that should return a string.
|
||||||
|
|
||||||
@item :end-of-command @var{regexp}
|
@item :end-of-command @var{regexp}
|
||||||
@itemx :end-of-capability @var{regexp}
|
@itemx :end-of-capability @var{regexp}
|
||||||
|
@ -2642,8 +2642,8 @@ command @var{capability-command}. The latter defaults to the former.
|
||||||
|
|
||||||
@item :starttls-function @var{function}
|
@item :starttls-function @var{function}
|
||||||
Function of one argument (the response to @var{capability-command}),
|
Function of one argument (the response to @var{capability-command}),
|
||||||
which returns either @code{nil}, or the command to activate @acronym{STARTTLS}
|
which returns either @code{nil} or the command to activate
|
||||||
if supported.
|
@acronym{STARTTLS}, if supported.
|
||||||
|
|
||||||
@item :success @var{regexp}
|
@item :success @var{regexp}
|
||||||
Regular expression matching a successful @acronym{STARTTLS} negotiation.
|
Regular expression matching a successful @acronym{STARTTLS} negotiation.
|
||||||
|
@ -2671,8 +2671,9 @@ enable automatic queries of @code{auth-source} when
|
||||||
|
|
||||||
@item :return-list @var{cons-or-nil}
|
@item :return-list @var{cons-or-nil}
|
||||||
The return value of this function. If omitted or @code{nil}, return a
|
The return value of this function. If omitted or @code{nil}, return a
|
||||||
process object. Otherwise, a cons of the form @code{(@var{process-object}
|
process object. Otherwise, a cons of the form
|
||||||
. @var{plist})}, where @var{plist} has keywords:
|
@w{@code{(@var{process-object} . @var{plist})}}, where @var{plist} can
|
||||||
|
include the following keywords:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item :greeting @var{string-or-nil}
|
@item :greeting @var{string-or-nil}
|
||||||
|
@ -2685,11 +2686,12 @@ The connection type: @samp{plain} or @samp{tls}.
|
||||||
|
|
||||||
@item :shell-command @var{string-or-nil}
|
@item :shell-command @var{string-or-nil}
|
||||||
If the connection @code{type} is @code{shell}, this parameter will be
|
If the connection @code{type} is @code{shell}, this parameter will be
|
||||||
interpreted as a format-spec string that will be executed to make the
|
interpreted as a format-spec string (@pxref{Custom Format Strings})
|
||||||
connection. The specs available are @samp{%s} for the host name and
|
that will be executed to make the connection. The specs available are
|
||||||
@samp{%p} for the port number. For instance, if you want to first ssh
|
@samp{%s} for the host name and @samp{%p} for the port number. For
|
||||||
to @samp{gateway} before making a plain connection, then this
|
instance, if you want to first ssh to @samp{gateway} before making a
|
||||||
parameter could be something like @samp{ssh gateway nc %s %p}.
|
plain connection, then this parameter's value could be something like
|
||||||
|
@samp{ssh gateway nc %s %p}.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue