| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
protocol string
Specifies which protocols to use for the other system, and in which order to use them. This would not normally be used. For example, `protocol tfg'.
The default depends on the characteristics of the port and the dialer,
as specified by the seven-bit and reliable commands. If
neither the port nor the dialer use either of these commands, the
default is to assume an eight-bit reliable connection. The commands
`seven-bit true' or `reliable false' might be used in either
the port or the dialer to change this. Each protocol has particular
requirements that must be met before it will be considered during
negotiation with the remote side.
The `t' and `e' protocols are intended for use over TCP or some other communication path with end to end reliability, as they do no checking of the data at all. They will only be considered on a TCP port which is both reliable and eight bit. For technical details, see 6.8 UUCP `t' Protocol, and 6.9 UUCP `e' Protocol.
The `i' protocol is a bidirectional protocol. It requires an
eight-bit connection. It will run over a half-duplex link, such as
Telebit modems in PEP mode, but for efficient use of such a connection
you must use the half-duplex command (see section 5.8 The Port Configuration File).
See section 6.11 UUCP `i' Protocol.
The `g' protocol is robust, but requires an eight-bit connection. See section 6.6 UUCP `g' Protocol.
The `G' protocol is the System V Release 4 version of the `g' protocol. See section 6.10 UUCP `G' Protocol.
The `a' protocol is a Zmodem like protocol, contributed by Doug Evans. It requires an eight-bit connection, but unlike the `g' or `i' protocol it will work if certain control characters may not be transmitted.
The `j' protocol is a variant of the `i' protocol which can avoid certain control characters. The set of characters it avoids can be set by a parameter. While it technically does not require an eight bit connection (it could be configured to avoid all characters with the high bit set) it would be very inefficient to use it over one. It is useful over a eight-bit connection that will not transmit certain control characters. See section 6.12 UUCP `j' Protocol.
The `f' protocol is intended for use with X.25 connections; it checksums each file as a whole, so any error causes the entire file to be retransmitted. It requires a reliable connection, but only uses seven-bit transmissions. It is a streaming protocol, so, while it can be used on a serial port, the port must be completely reliable and flow controlled; many aren't. See section 6.7 UUCP `f' Protocol.
The `v' protocol is the `g' protocol as used by the DOS program UUPC/Extended. It is provided only so that UUPC/Extended users can use it; there is no particular reason to select it. See section 6.17 UUCP `v' Protocol.
The `y' protocol is an efficient streaming protocol. It does error checking, but when it detects an error it immediately aborts the connection. This requires a reliable, flow controlled, eight-bit connection. In practice, it is only useful on a connection that is nearly always error-free. Unlike the `t' and `e' protocols, the connection need not be entirely error-free, so the `y' protocol can be used on a serial port. See section 6.14 UUCP `y' Protocol.
The protocols will be considered in the order shown above. This means
that if neither the seven-bit nor the reliable command are
used, the `t' protocol will be used over a TCP connection and the
`i' protocol will be used over any other type of connection
(subject, of course, to what is supported by the remote system; it may
be assumed that all systems support the `g' protocol).
Note that currently specifying both `seven-bit true' and
`reliable false' will not match any protocol. If this occurs
through a combination of port and dialer specifications, you will have
to use the protocol command for the system or no protocol will be
selected at all (the only reasonable choice would be `protocol f').
A protocol list may also be specified for a port (see section 5.8 The Port Configuration File), but, if there is a list for the system, the list for the port is ignored.
protocol-parameter character string ...
character is a single character specifying a protocol. The remaining strings are a command specific to that protocol which will be executed if that protocol is used. A typical command is something like `window 7'. The particular commands are protocol specific.
The `i' protocol supports the following commands, all of which take numeric arguments:
window
packet-size
remote-packet-size
sync-timeout
sync-retries
timeout
retries
errors
error-decay
errors.
The default is 10.
ack-frequency
The `g', `G' and `v' protocols support the following
commands, all of which take numeric arguments, except
short-packets which takes a boolean argument:
window
packet-size
startup-retries
init-retries
init-timeout
retries
timeout
garbage
errors
error-decay
errors.
The default is 10.
remote-window
remote-packet-size
short-packets
The `a' protocol is a Zmodem like protocol contributed by Doug
Evans. It supports the following commands, all of which take numeric
arguments except for escape-control, which takes a boolean
argument:
timeout
retries
startup-retries
garbage
send-window
escape-control
XON or XOFF. The connection must
still transmit eight bit characters other than control characters. The
default is false.
The `j' protocol can be used over an eight bit connection that will not transmit certain control characters. It accepts the same protocol parameters that the `i' protocol accepts, as well as one more:
avoid
XON and XOFF, which many connections use for
flow control. If the package is configured to use HAVE_BSD_TTY,
then on some versions of Unix you may have to avoid `\377' as well,
due to the way some implementations of the BSD terminal driver handle
signals.
The `f' protocol is intended for use with error-correcting modems only; it checksums each file as a whole, so any error causes the entire file to be retransmitted. It supports the following commands, both of which take numeric arguments:
timeout
retries
The `t' and `e' protocols are intended for use over TCP or some other communication path with end to end reliability, as they do no checking of the data at all. They both support a single command, which takes a numeric argument:
timeout
The `y' protocol is a streaming protocol contributed by Jorge Cwik. It supports the following commands, both of which take numeric arguments:
timeout
packet-size
The protocol parameters are reset to their default values after each call.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |