home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / BEEHIVE / COMMS / MEX4BEE.ARC / READ-114.MEX < prev    next >
Text File  |  1990-09-20  |  6KB  |  111 lines

  1.  
  2. MEX 1.14 update documentation
  3. 20 July 1985  Ron Fowler
  4. NightOwl Software, Inc.
  5.  
  6. ------------------------------------------------------------
  7.  
  8. This is release 1.14 of the MEX Modem EXecutive communications program.
  9. This release repairs several bugs reported in version 1.12, and adds
  10. support for 1k XMODEM file transfer packets (this modification has also
  11. been made to all of the commercial versions of MEX-PC and MexPlus, with
  12. release numbers of 1.40 and higher).
  13.  
  14. ------------------------------------------------------------
  15.  
  16. Why 1k packets?
  17.  
  18. With the current proliferation of 2400 baud modems, it has become obvious
  19. that throughput (i.e., efficiency) of file transfers could be higher if
  20. more data could be added to the fundamental unit of exchange (i.e., the
  21. "packet").  The reason for this is essentially the "stop and wait" nature
  22. of the Christensen protocol: send a packet, wait for an acknowledgement,
  23. send a packet, wait, etc.  When the packet size is relatively small, as
  24. it has always been with Christensen protocol, this "turn-around" time be-
  25. comes a significant portion of the total time necessary to transfer a file.
  26. If the medium through which the transfer is taking place exhibits its own
  27. delay, the problem is compounded (all transfer media -- even hardwired
  28. RS232 connections -- have some media delay; this delay is much more pro-
  29. nounced in satellite telephone connections and packet-switched networks,
  30. such as Arpanet and Compuserve).
  31.  
  32. Conversely, using a large packet size with an inherently noisy medium can
  33. not only destroy any gains realized by using a the larger packet, but can
  34. actually increase file transfer time, because retransmission of a large
  35. packet takes longer than retransmission of a small packet.
  36.  
  37. So it seems logical that any large-packet protocol must also have the
  38. ability to "fall back", in the face of line noise, to the small packets
  39. that are so much more efficient in the noisy environment.
  40.  
  41. MEX 1.14 implements this fallback feature; it uses nearly the same al-vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvX 1.14.  In fact, you can make this change permanent by
  42. entering the command "GLOBAL K", then using the CLONE command to save
  43. your modified MEX 1.14 to disk (be advised, however, that if you do this,
  44. you run the risk of not being able to exchange files with versions of
  45. XMODEM or MEX that do not have the 1k packet capability, without expressly
  46. turning off the GLOBAL K).
  47.  
  48. MEX 1.14, when receiving, is always prepared to receive 1k packets, in
  49. any mixture with 128-byte packets.  Thus, when you're preparing MEX 1.14
  50. to receive a file, you need take no special action (in fact, the 'K'
  51. option, while accepted, is ignored in a file receive).
  52.  
  53. MEX, when transmitting, will adjust for line noise; after the third
  54. (not necessarily consecutive) error has occurred, MEX will calculate the
  55. ratio of errors to "virtual" 128-byte packets.  If this ratio exceeds
  56. 1 error per each six 128-byte "virtual" packets, MEX will switch to
  57. 128-byte mode.  Note that MEX will NOT switch to 128-byte mode until
  58. the next successive packet, however.  Thus, once a packet has started
  59. as a 1k packet, it must finish as a 1k packet (otherwise, certain
  60. combinations of noise could cause the transfer to appear correct,
  61. but be received incorrectly).  If you're using the batch option, MEX
  62. will always switch back to 1k packets at the beginning of the next file.
  63.  
  64. Note that MEX 1.14 is fully compatible with the emerging YMODEM specif-
  65. ication authored by Chuck Forsberg of Omen Technology, insofar as 1K
  66. blocks are conerned (MEX does not "round up" an outgoing file to 1K,
  67. however -- it switches to 128-byte mode when the remaining outstanding
  68. byte count is less than 1024.  This is permitted by the YMODEM spec-
  69. ification).  
  70.  
  71. Progress reporting
  72.  
  73. You'll notice that while transferring files in 1k mode, MEX will print
  74. "logical" record numbers on the screen (actually the starting and end-
  75. ing record numbers of the 1k packet being sent or received).  Note that
  76. this is the 128-byte record number, and bears to relation to the packet
  77. number, which is part of the packet "envelope", t increments by 1 for
  78. each 1k packet, and is of no consequence to the user.
  79.  
  80. ------------------------------------------------------------
  81.  
  82. Bug fixes for version 1.14:
  83.  
  84. 1) Previously, after opening a terminal file with TERM or TERMA, then
  85.    issuing a CALL command, the caller would be left at command level
  86.    rather than in terminal mode when the remote station was reached.
  87.    This now works as expected.
  88.  
  89. 2) Transferring a file using either Christensen or CIS protocols, with
  90.    a term file open, would usually garbage the term file.  Not any more.
  91.  
  92. 3) Printer-buffering didn't work correctly when the buffer filled.  This
  93.    has been corrected.
  94.  
  95. 4) Long ASCII captures would not be written to disk correctly if the
  96.    capture buffer was greater than 32K (generally, this only happens in
  97.    TurboDOS or CPM+ systems, that have large banked TPA's).  This has
  98.    been fixed.
  99.  
  100. ------------------------------------------------------------
  101.  
  102. Files present in this library:
  103.  
  104.     MEX114.COM    - The newly released Modem EXecutive
  105.     -READ114.ME    - This information file
  106.     MEXOVL06.LQT    - A list of all known MEX overlays
  107.  
  108. (Note that the help file has not been re-issued with this revision).
  109.  
  110. ------------------------------------------------------------
  111.