home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / dcom / modems / 13352 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  2.4 KB

  1. Xref: sparky comp.dcom.modems:13352 comp.unix.sysv386:14435 comp.protocols.misc:701
  2. Path: sparky!uunet!ogicse!reed!omen!caf
  3. From: caf@omen.UUCP (Chuck Forsberg WA7KGX)
  4. Newsgroups: comp.dcom.modems,comp.unix.sysv386,comp.protocols.misc
  5. Subject: Re: uucico w/v32bis vs zmodem w/v32bis
  6. Message-ID: <1992Sep14.035320.5368@omen.UUCP>
  7. Date: 14 Sep 92 03:53:20 GMT
  8. Article-I.D.: omen.1992Sep14.035320.5368
  9. References: <Bu40L8.47w@gator.rn.com> <5N6oqB3w165w@zswamp.UUCP> <H.RRvhLAl&jVQ@mips.ruessel.sub.org>
  10. Organization: Omen Technology INC, Portland Rain Forest
  11. Lines: 43
  12.  
  13. In article <H.RRvhLAl&jVQ@mips.ruessel.sub.org> naddy@mips.ruessel.sub.org writes:
  14. >In <5N6oqB3w165w@zswamp.UUCP>, Geoffrey Welsh writes:
  15. >
  16. >>    I believe that the difference in throughput is about 5%, resulting from 
  17. >
  18. >YModem-g has a consistent overhead of 5 chars per 1k block, that's less
  19. >than 0.5%. For ZModem, see below.
  20. >
  21. >>    Perhaps, if Chuck is reading this, he could remind us of ZMODEM's subpacket 
  22. >> overhead... and of how many bytes are circumvented with escape codes in 
  23. >> vanilla ZMODEM.
  24. >
  25. >(I'm not Chuck, but according to his documentation:)
  26. >
  27. >Plain ZModem escapes <can>, <xon>, <xoff>, M-<can>, M-<xon>, M-<xoff>
  28. >("M-" means upper bit set) and the <cr>@<cr> sequence. Escaping is done
  29. >by prefixing ZDLE (<can>) and XORing the character with 0x40.
  30. >
  31. >ZModem offers three types of headers/frames: hex, binary (CRC-16),
  32. >binary (CRC-32). I assume the latter is used most when transferring
  33. >binary data:
  34. >
  35. >        ZPAD                    ; '*'                   1
  36. >        ZDLE                    ; <can>                 1
  37. >        'C'                                             1
  38. >        <type>                                          1
  39. >        <flag/position>         ; 32 bit value          4
  40. >        ...                     ; data                  max. 1024
  41. >        <CRC>                   ; 32 bit CRC            4
  42. >
  43.  
  44. This is incorrect, and represents confusion between "frame" and "subpacket".
  45.  
  46. A subpacket consists of up to 1024 bytes data, a flag byte, and the CRC.
  47.  
  48. The other stuff mentioned above normally is sent once, only, per file.
  49. The folks that bleed about the 1k SUBpacket length do not understand ZMODEM.
  50.  
  51. -- 
  52. Chuck Forsberg WA7KGX          ...!tektronix!reed!omen!caf 
  53. Author of YMODEM, ZMODEM, Professional-YAM, ZCOMM, and DSZ
  54.   Omen Technology Inc    "The High Reliability Software"
  55. 17505-V NW Sauvie IS RD   Portland OR 97231   503-621-3406
  56.