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 / IMP245.ARC / IMP.INF < prev    next >
Text File  |  1990-09-20  |  16KB  |  337 lines

  1. SUBJECT :  New IMP features
  2.  
  3. FROM    :  Irv Hoff
  4.  
  5. DATE    :  01 June 87
  6.  
  7.  
  8.  
  9.         IMP was the first program known to
  10.         utilize the automatic stepdown feature
  11.         offered by new 2400 bps modems.  It
  12.         also It also was the first (and with
  13.         TERM3, a commercial program) the only
  14.         program that has automatic 1k protocol
  15.         for faster file transfers at either
  16.         1200 or 2400 bps.  All KMD pgms as well
  17.         as XMODEM 112 and later support auto-
  18.         matic 1k protocol.  Both KMD/YMODEM and
  19.         MODEM7 types of batch mode are offered.
  20.  
  21.  
  22. INTRODUCTION
  23. ------------
  24.     This is a partial list of some of the features offered by IMP.
  25. It was developed for the new 2400 bps modems, but also fully supports
  26. older 300/1200 bps modems that use either the Racal-Vadic or the 'AT'
  27. protocol developed by Hayes.  IMP also supports the extended Prometheus
  28. protocol for the ProModem 1200.
  29.  
  30.  
  31. AUTO STEPDOWN
  32. -------------
  33.     New modems offer automatic stepdown.  If not familiar with this
  34. feature, they first attempt to connect at 2400 bps, then at 1200, then
  35. at 300.  (The US Robotics Courier only steps from 2400 to 1200, this is
  36. no limitation as few people using a 2400 bps modem would likely call a
  37. 300 bps system on a regular basis.)
  38.  
  39.     When a connection is made, the modem returns the result code
  40. at the last speed originally selected (2400 at power up) and then
  41. switches to match the speed of the other unit.    For instance if calling
  42. a 1200 bps system, it will give a "5" result code for 1200 bps, but
  43. at the last speed you used (normally 2400 by default) and then change
  44. to 1200.
  45.  
  46.     IMP was the first and is currently one of the few free modem
  47. programs that utilize this information to automatically set the I/O
  48. baudrate on the computer to match the modem speed.
  49.  
  50.     Thus the user can dial any number in his phone library, or even
  51. a hand-entered number, without knowing (or caring) in advance what speed
  52. the other system can accomodate.  (He may have just added 2400 bps with
  53. a new modem you do not even know about.)
  54.  
  55.     One of the biggest advantages to having automatic setting of the
  56. computer involves linking several numbers for continuous dialing.  IMP
  57. allows numbers to be dialed where some are known to use 2400, some 1200
  58. and perhaps a few even at 300 only.
  59.  
  60.  
  61. GENERAL IMP FEATURES
  62. --------------------
  63.     IMP shows the current modem baudrate quite often.  If for any
  64. reason you leave the modem program while still online, to check on some
  65. disk or otherwise use the editor or assembler, etc. quickly, IMP stores
  66. the current baudrate.  When calling it up again, it resets to that same
  67. baudrate.  This is not unusual, but other programs that do this require
  68. the use of the "carrier detect" pin to see if still connected, and just
  69. ignore any initialization in that case.  IMP never needs carrier detect
  70. and that pin does not even need to be wired to the computer.
  71.  
  72.     You can clear the screen at any time, CTL-Z when in command mode
  73. or ESC-z (or ESC-Z) when in the terminal mode, assuming you retain the
  74. "ESC" character as the lead-in character for local command.
  75.  
  76.     Any CTL-character typed while in the terminal mode goes out the
  77. modem.    (Which is why you need to use ESC-Z to clear the screen, as a
  78. local command!)  This permits using remote editors such as WordStar.
  79. (You need to also use ESC-p to control the printer, allowing a CTL-P
  80. to go out the modem for remote control purposes.)
  81.  
  82.     In the termianl mode, typing 'ESC Q' will send a break.  This is
  83. used to reset some mainframe computers and is handy on PC Pursuit for
  84. use in disabling the '<ret> @ <ret>' disconnect combination that some-
  85. times causes problems when sending file transfers.  (New for IMP245.)
  86.  
  87.     In the command mode, typing '? <ret>' shows all the current
  88. parameters.  Typing an ESC <ret> shows the function key assignements
  89. (unless the user has selected a different character than ESC for that
  90. purpose.)  Typing a "M" shows the menu.  (Three pages, total.)
  91.  
  92.     In the command mode, while dialing a number, a CTL-X aborts
  93. back to the command mode (as always), but a CTL-K aborts the current
  94. attempt and starts the next one.  This saves time if you hear a phone
  95. ring with no answer and don't want to wait until the modem tires of
  96. trying for a "no answer" (usually takes 30 seconds or more).  At times,
  97. an older switching office never does seem to place the call, and CTL-K
  98. expedites another try.    Nice feature, try it 1-2 times to see how it
  99. works.
  100.  
  101.     In the terminal mode, when sending a pretyped ASCII file will
  102. automatically activate the X-off, X-on mode, which the user has to man-
  103. ually select on many other modem programs.  The delays between characters
  104. and/or between lines are only take effect after the I/O buffer is empty,
  105. not after you send a character to the holding buffer in the I/O.  This
  106. gives substantially more accurate timing delays than those provided by
  107. most other modem programs.
  108.  
  109.     IMP has excellent progress reports while autodialing.  It num-
  110. bers each attempt.  Many older 1200 bps modems (such as the Smartmodem
  111. Hayes) do not give a result code for busy.  The newer 2400 bps modems
  112. have such a result code.  IMP uses this to immediately start a redial.
  113. The Racal-Vadic modems also return a "ring" report for each ring not
  114. answered.  This is displayed.  Other reports such as "no dial tone",
  115. "no answer", "failed", etc. are displayed by IMP for those modems with
  116. extended result codes.
  117.  
  118.     (IMP has a special byte at 0C00H-2  (0BFEH) which can be easily
  119. changed with DDT, etc.    This byte delays the time from receiving a busy
  120. signal until a redial is attempted.  Obviously most people want a redial
  121. as soon as is convenient.  Having this byte available allows the casual
  122. user who needs a longer time (he might be going through the company's
  123. switchboard, etc.) to adjust the delay suitably.  The telephone overlay
  124. I2NM-2.ASM also includes this byte.)
  125.  
  126.     IMP also displays the modem speed when a connect is made.  With
  127. the automatic stepdown units, that is normally the only way you would
  128. find out, unless you started a file transfer where it could display the
  129. time it would take at the current modem speed.
  130.  
  131.     You can select a new baudrate on the command line now.    If you
  132. select an improper number it will display those availble and wait for a
  133. correct response.  This opens the avenue for customization by asking for
  134. "SET <ret>".
  135.  
  136.     Unless you do select a new speed manually via the SET command,
  137. the modem thinks you want to accept the fastest speed it finds available.
  138. You may prefer a slower speed.    Just use SET 300, for example and this
  139. limits the modem to connecting at that speed.  Using SET 2400 resets to
  140. fully automatic operation once more.  (You may want to call Compuserve,
  141. for example, where you cannot type even 300 bps to answer messages and
  142. 1200 bps would be far more expensive.)
  143.  
  144.     None of the currently available or planned overlays require any
  145. specific information buried in the main program.  Thus any subsequent
  146. release should support any of those overlays.
  147.  
  148.     IMP turns off the auto-answer feature whenever a number has been
  149. dialed, using DSC to disconnect or BYE to leave the program.  This in-
  150. sures the modem will not try to answer the phone the next time it rings.
  151. Some modems such as the Robotics Courier 2400 and Hayes 1200 Smartmodem
  152. have manual switches that can be set for autoanswer.  Most users disable
  153. those switches, so the phone can be used in a normal manner.
  154.  
  155.  
  156. 1k PROTOCOL
  157. -----------
  158.     At the faster baudrate, the efficiency drops rapidly with the
  159. older XMODEM programs that can only send 128 characters per block.  They
  160. wait for an answer of "ACK" or "NAK" from the receiving station.  By
  161. sending 8 records (1k) per transmission, these waits are of course re-
  162. duced to 1/8th normal frequency.  This increases the throughput at 1200
  163. bps from 48 blocks per minute to the equivalent of 53 blocks per minute.
  164. This is a gain of about 10% which means less $$$ in transferring files.
  165. At 2400 bps 85 blocks per minute is normal.  This increases to 102 when
  166. using the 1k protocol to the equivalent of 102 blocks per minute.  This
  167. is an increase of 20% throughput.  At 9600, the effect is substantially
  168. more pronounced.
  169.  
  170.     Chuck Forsberg has had 1k blocks available for several years
  171. with his YAM (public domain) and PRO-YAM (commercial program for MS-DOS
  172. users).  That is a manually operated system where the user has to type
  173. "SK" at the sending end to initiate the 1k transmissions.  This system
  174. has the disadvantage of requiring the operator to know why he should
  175. type "SK", as well as remember he should.
  176.  
  177.     IMP uses a protocol that requires no operator intervention.  The
  178. user does not even need to be aware he has such a feature.  He proceeds
  179. normally and IMP automatically tells the sender it can accept 1k proto-
  180. ol as well as the older 128 character blocks.  (IMP does support the
  181. manual protocol used by MEX114, YAM and PRO-YAM if you prefer to type
  182. "SK", or must - to use one of those modem programs.)
  183.  
  184.     This is transparent to older XMODEM programs.  Thus IMP works
  185. normally on either type system - those that offer 1k automatic protocol
  186. or those that do not.  KMD has offered both the automatic and manual
  187. protocols since it was introduced in mid-July 1985.
  188.  
  189.     (If for any reason the operator wishes to disable the automatic
  190. 1k protocol, just type "RX" at the receiving end and it will not inform
  191. the sending end that it has 1k protocol available.  This forces sending
  192. 128-character blocks.)
  193.  
  194.     There is little or no advantage to 1k blocks at 300 bps, so IMP
  195. requires a speed of 1200 bps or greater to activate the 1k protocol.  A
  196. 1k block at 300 bps would take 34 seconds!  (Takes 9 seconds at 1200
  197. bps and 4.7 seconds at 2400 bps.)
  198.  
  199.     CRC is required for the 1k protocol.  If the other system only
  200. has checksum, IMP automatically sends 128 character blocks after setting
  201. itself to checksum.  (Use 'TCC' when in the command mode to select the
  202. checksum protocol.  It is automatically selected if sending to another
  203. system that can only receive checksum.)
  204.  
  205.  
  206. BATCH MODE WITH 1k
  207. ------------------
  208.     IMP supports the KMD/YMODEM batch protocol in addition to the
  209. older MODEM7 type.  They are both operated in the same manner but the
  210. kMD type offers significant advantages in the way the file name is sent.
  211. The MODEM7 method sends one character at a time, waiting for an echo
  212. from the other system, then a checksum verification is made.  This is
  213. slow and quite unsatisfactory for modern-day use with mainframe or net-
  214. working systems.  (Both batch types incorporated into IMP use automatic
  215. 1k protocol.)
  216.  
  217.     The KMD method (compatible with the YMODEM protocol developed by
  218. Chuck Forsberg use with IBM-PC computer running MS-DOS) has a special
  219. 128-character block for sending the file name.    Additional data can be
  220. included, such as the file length and time/date stamp.    IMP uses the
  221. file length feature.  (MODEM7 batch does not support this nice feature.)
  222. This batch mode also sends and receives 1k automatic protocol, if the
  223. file is longer than 8 records.
  224.  
  225.     Each file terminates in 128 character blocks if less than 1k re-
  226. mains, but the 1k protocol is reinstated for the next file in the group.
  227. The ratio checking is reset for each file so the accumulated errors are
  228. more indicative of current conditions.
  229.  
  230.     Roy Robinson of the Osborne Corp. has used two Vixen computers
  231. running at 19200 with IMP in the batch mode to transfer the contents of
  232. entire disks from one machine to the other.  He says it is fascinating
  233. to watch the results at that speed.  (A null cable was used between the
  234. two machines which were in the same room.  Normally things like this are
  235. done with computers of different brands, where it may be difficult to
  236. make a disk that runs suitably on the other computer.)
  237.  
  238.     KMD and BYE5 support this KMD-batch mode for normal RCPM use.
  239. The total time it will take to send all files is computed and displayed.
  240. (If this exceeds the remaining time available, it aborts the request and
  241. asking for a different file.)
  242.  
  243.  
  244. RATIO CHECKING FOR 1k
  245. ---------------------
  246.     If conditions are poor, any advantage to sending the longer 1k
  247. blocks would be lost.  The program should check the ratio of good blocks
  248. copied against the number of repeats that have been needed.  A point is
  249. reached where staying in the 1k protocol would be detrimental.    This oc-
  250. curs at 43 records/per hit at 2400 bps and at 71 records per hit at 1200
  251. bps, where there is less to be gained by using 1k blocks to start with.
  252.  
  253.     (This is calculated for the time it would take to resend
  254.     one 1k transmssion due to one hit, versus sending 128
  255.     character transmissions with one hit, over a modest length
  256.     connection.  The further the distance, the more delay you
  257.     get waiting for the "ACK" and the more favorable the ratio
  258.     becomes with regard to the ones chosen for normal operation.)
  259.  
  260.     IMP is the only program currently available that attemptes to
  261. select an individual optimum ratio for the speed being used.  YAM stays
  262. in 1k protocol, once requested, until the file transfer is finished.
  263. XMODEM has a ratio check to switch back to 128 character blocks but uses
  264. a single figure for all speeds.  This could cost extra time and money
  265. under unfavorable conditions.  It would switch too soon for 2400 bps and
  266. not soon enough for 1200, to be most economical.
  267.  
  268.     IMP also changes back to 128 character blocks if 4 or more con-
  269. secutive hits are encountered.
  270.  
  271.  
  272. IDEA OF 1k PROTOCOL
  273. -------------------
  274.     The name of the game is time spent on the telephone.  This not
  275. only involves the actual long distance charges but the time the operator
  276. has to spend in front of the machine.  The following needs little addi-
  277. tional explanation:
  278.                  100k file
  279.  
  280.             128 char blocks   1k blocks
  281.  
  282.          300 baud    61:32         n/a
  283.         1200 bps    16:40        15:06
  284.         2400 bps     9:18         7:51
  285.  
  286.     These figures based on modest length calls with direct
  287.     lines.    The time gained when using satelite calls is
  288.     far more dramatic.  Jon Saxton in Australia calls the
  289.     USA via a satelite link and tests indicate an approxi-
  290.     mate 30% decrease in file transfer time with 1k blocks.
  291.  
  292.  
  293.     This indicates the entire concept should be fully automatic and
  294. totally transparent to the user.  (Unless he is technically inclined and
  295. likes to know about details of this sort.)  If it saves connect time and
  296. money, the operator should not be required to manually make this choice
  297. each transmission.  This is particularly beneficial if using PC Pursuit
  298. where the following is typical:
  299.  
  300.             PC PURSUIT 1200 bps
  301.  
  302.         19.2  128 character blocks per minute
  303.         44.3  1k blocks per minute
  304.  
  305.     IMP has become quite popular with PC Pursuit users since it auto-
  306. matically selects 1k blocks for all files 1k or longer.
  307.  
  308.  
  309. LAST BLOCK
  310. ----------
  311.     When the file is finished, it is rare it quits on an even 1k.
  312. IMP automatically switches back to 128 character blocks at this time.
  313. This gives the same number of records the original program contained
  314. and subsequent checks using CHEK.COM or will give identical results.
  315. YAM never switches to 128 character blocks regardless of end of file
  316. or excessive hits.
  317.  
  318.  
  319. 1k SUMMARY
  320. ----------
  321.     The success with faster transmissions and less connect time in-
  322. dicate other modem programs will likely soon follow suit with fully
  323. transparent programs that can automatically select 1k blocks.  Remember
  324. manual control of 1k blocks was developed by Chuck Forsberg and first
  325. appeared with YAM.  The automatic selection and error ratio routines
  326. were developed by the author and have been incorporated into both KMD
  327. (the XMODEM replacement) and IMP.
  328.  
  329.     Currently no MS-DOS program supports automatic 1k protocol.
  330. IMP and TERM3 (a commercial program) are the only ones known that do.
  331.  
  332.  
  333.                     - Irv Hoff
  334.                       Los Altos Hills, CA
  335.                       (415) 948-2513 PRACSA RCPM
  336.                       (415) 948-2166 voice
  337.