text stringlengths 0 99.6k |
|---|
#define CANFDX 01 /* Rx can send and receive true FDX */ |
#define CANOVIO 02 /* Rx can receive data during disk I/O */ |
#define CANBRK 04 /* Rx can send a break signal */ |
#define CANCRY 010 /* Receiver can decrypt */ |
#define CANLZW 020 /* Receiver can uncompress */ |
#define CANFC32 040 /* Receiver can use 32 bit Frame Check */ |
#define ESCCTL 0100 /* Receiver expects ctl chars to be escaped |
*/ |
#define ESC8 0200 /* Receiver expects 8th bit to be escaped */ |
ZP0 and ZP1 contain the size of the receiver's buffer in bytes, or 0 |
if nonstop I/O is allowed. |
11.3 ZZZZSSSSIIIINNNNIIIITTTT |
The Sender sends flags followed by a binary data subpacket terminated |
with ZZZZCCCCRRRRCCCCWWWW. |
/* Bit Masks for ZSINIT flags byte ZF0 */ |
#define TESCCTL 0100 /* Transmitter expects ctl chars to be escaped |
*/ |
#define TESC8 0200 /* Transmitter expects 8th bit to be escaped |
Chapter 11 Rev 10-27-87 Typeset 10-27-87 25 |
Chapter 11 ZMODEM Protocol 26 |
*/ |
The data subpacket contains the null terminated AAAAttttttttnnnn sequence, |
maximum length 32 bytes including the terminating null. |
11.4 ZZZZAAAACCCCKKKK |
Acknowledgment to a ZZZZSSSSIIIINNNNIIIITTTT frame, ZZZZCCCCHHHHAAAALLLLLLLLEEEENNNNGGGGEEEE header, ZZZZCCCCRRRRCCCCQQQQ or ZZZZCCCCRRRRCCCCWWWW |
data subpacket. ZP0 to ZP3 contain file offset. The response to |
ZCHALLENGE contains the same 32 bit number received in the ZCHALLENGE |
header. |
11.5 ZZZZFFFFIIIILLLLEEEE |
This frame denotes the beginning of a file transmission attempt. |
ZF0, ZF1, and ZF2 may contain options. A value of 0 in each of these |
bytes implies no special treatment. Options specified to the |
receiver override options specified to the sender with the exception |
of ZZZZCCCCBBBBIIIINNNN which overrides any other Conversion Option given to the |
sender or receiver. |
11.5.1 ZZZZFFFF0000:::: CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn OOOOppppttttiiiioooonnnn |
If the receiver does not recognize the Conversion Option, an |
application dependent default conversion may apply. |
ZZZZCCCCBBBBIIIINNNN "Binary" transfer - inhibit conversion unconditionally |
ZZZZCCCCNNNNLLLL Convert received end of line to local end of line |
convention. The supported end of line conventions are |
CR/LF (most ASCII based operating systems except Unix |
and Macintosh), and NL (Unix). Either of these two end |
of line conventions meet the permissible ASCII |
definitions for Carriage Return and Line Feed/New Line. |
Neither the ASCII code nor ZMODEM ZCNL encompass lines |
separated only by carriage returns. Other processing |
appropriate to ASCII text files and the local operating |
system may also be applied by the receiver.[1] |
ZZZZCCCCRRRREEEECCCCOOOOVVVV Recover/Resume interrupted file transfer. ZCREVOV is |
also useful for updating a remote copy of a file that |
grows without resending of old data. If the destination |
file exists and is no longer than the source, append to |
the destination file and start transfer at the offset |
corresponding to the receiver's end of file. This |
__________ |
1. Filtering RUBOUT, NULL, Ctrl-Z, etc. |
Chapter 11 Rev 10-27-87 Typeset 10-27-87 26 |
Chapter 11 ZMODEM Protocol 27 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.