home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR31 / KERM313.ZIP / MODEMS.DOC < prev    next >
Text File  |  1993-07-08  |  8KB  |  178 lines

  1. File MODEMS.DOC                                                       July 1993
  2.  
  3.              MS-DOS KERMIT MODEM DIALING SCRIPTS
  4.  
  5.              Christine M. Gianone, Frank da Cruz
  6.                  Columbia University
  7.  
  8.                  John Klensin
  9.               United Nations University
  10.  
  11.  
  12. The following modem dialing scripts are available for use with the DIAL
  13. command in MS-DOS Kermit 3.12 and later.  Store the desired files in the same
  14. directory as your MSKERMIT.INI file.
  15.  
  16. The DIAL command is a macro defined in the standard MSKERMIT.INI file on the
  17. MS-DOS Kermit diskette.  It looks up the number (or name) in your dialing
  18. directory, making the appropriate substitution, and passes the phone number to
  19. your dialing script in a variable.  See "Using MS-DOS Kermit" and KERMIT.HLP
  20. (MSKERM.HLP) for details about the DIAL command and the dialing directory.
  21.  
  22. If you lack the DIAL macro definition, you can define your own simple DIAL
  23. macro (which does not use the dialing directory) as follows:
  24.  
  25.   DEFINE DIAL TAKE xxx.SCR
  26.  
  27. where xxx is the modem type, described below.
  28.  
  29. The default modem type (if you are using the standard MSKERMIT.INI file) is
  30. HAYES.  To select a different type of modem for dialing, do any one of the
  31. following:
  32.  
  33.   1. Type SET MODEM=xxx at the DOS prompt before starting MS-DOS Kermit, or
  34.   2. Add SET MODEM=xxx to your AUTOEXEC.BAT file and reboot your PC, or
  35.   3. Type DEFINE _MODEM xxx at the MS-DOS Kermit prompt, or
  36.   4. Add DEFINE _MODEM xxx to your MSCUSTOM.INI file.
  37.  
  38. xxx is name of the modem, corresponding to the part of the dialing script
  39. filename before ".SCR".  For Telebit T3000 modems, for example, the script
  40. file is called T3000.SCR, and "xxx" would be "T3000".  If you obtain these
  41. files over the network, you should rename as shown in the DOS Filename column
  42. below.  Here are the dialing scripts that are supplied with MS-DOS Kermit:
  43.  
  44.   Modem Type             DOS Filename  Internet               BITNET/EARN/CREN
  45.  
  46.    Hayes 1200 or 2400     HAYES.SCR     kermit/a/msmhayes.scr    MSMHAYES SCR
  47. *  Hayes Ultra 144        ULTRA144.SCR  kermit/a/msmultra.scr    MSMULTRA SCR
  48. *  Multitech MT1432       MT1432.SCR    kermit/a/msmmt1432.scr   MSMMT1432 SCR
  49. *  Penril Alliance V.32   PENRIL.SCR    kermit/a/msmpenril.scr   MSMPENRIL SCR
  50. *  Practical Peripherals  PP14400.SCR   kermit/a/msmpp14400.scr  MSMPP1440 SCR
  51.    Rolm CBX DCM           ROLM.SCR      kermit/a/msmrolm.scr     MSMROLM SCR
  52. *  SupraFAXmodem V.32bis  SUPRA.SCR     kermit/a/msmsupra.scr    MSMSUPRA SCR
  53. *  Telebit QBlazer V.32   QBLAZER.SCR   kermit/a/msmqblazer.scr  MSMQBLAZER SCR
  54. *  Telebit T3000 V.32bis  T3000.SCR     kermit/a/msmt3000.scr    MSMT3000 SCR
  55. *  US Robotics Sportster  SPORT.SCR     kermit/a/msmsport.scr    MSMSPORT SCR
  56.    Vadic VA2400PA         VA2400PA.SCR  kermit/a/msmva2400.scr   MSMVA2400 SCR
  57.  
  58. If your modem does not appear in this list, feel free to adapt one of these
  59. scripts to work with your modem (and send your new script back to Columbia so
  60. others can use it too).
  61.  
  62. WHAT THE DIALING SCRIPTS HAVE IN COMMON
  63.  
  64. These scripts use your modem's default dialing method, pulse or tone; they do
  65. not specify one or the other, since neither method is supported by all
  66. telephones everywhere.  To force Tone dialing, begin your phone number with T,
  67. for example:
  68.  
  69.   DIAL T7654321
  70.  
  71. Similarly, to force pulse dialing, start the phone number with P.
  72.  
  73. If you give a DIAL command whose telephone number is simply = (equal sign),
  74. the modem will be initialized, but no call will be placed.  In some cases,
  75. the dialing script will also ask the modem to display its configuration.
  76.  
  77. When dialing a real phone number, you can include special characters in the
  78. phone number to accomplish pauses, wait for secondary dialtone, etc.  See your
  79. modem manual.
  80.  
  81. If you dial a number that is busy, most of these scripts will wait 30 seconds
  82. and then redial automatically, up to 5 times.  You can cancel the redial
  83. operation by pressing any key after you see the message:
  84.  
  85.   Line is busy, will dial again in 30 seconds.
  86.   Press any key to cancel...
  87.  
  88. Each dialing script returns SUCCESS if dialing succeeds and FAILURE if it
  89. doesn't, so you can use an IF FAIL or IF SUCCESS statement after a DIAL
  90. command in a script.
  91.     
  92. THE ROLM DIALING SCRIPT
  93.  
  94. ROLM.SCR is for the Rolm/Siemens (formerly IBM) Computerized Branch Exchange
  95. (CBX) data communications module (DCM).  It dials at your current speed, and
  96. does not change speeds since the DCM is speed-sensitive.  It does not attempt
  97. to redial if the line is busy.  For Rolm 244PCs, use HAYES.SCR, and always use
  98. Tone dialing.
  99.  
  100. THE HAYES 1200/2400 AND VADIC 2400PA DIALING SCRIPTS
  101.  
  102. The Hayes 2400 script, HAYES.SCR, should work on any Hayes-1200, Hayes-2400,
  103. or compatible modem.  It does not change any modem settings (S registers).  It
  104. assumes that the modem changes its interface speed to match the negotiated
  105. modulation speed, if the modulation speed is reported as 1200 or 2400;
  106. otherwise, Kermit does not change speed.
  107.  
  108. The Vadic 2400PA script, VA2400PA.SCR, works in much the same way, except it
  109. also recognizes a 300 bit-per-second connect message.  The Vadic modem
  110. supports only pulse dialing.
  111.  
  112. HIGH-SPEED MODEM SCRIPTS
  113.  
  114. The entries marked with "*" above are for high-speed modems that include
  115. error-correction and data-compression features.  These scripts attempt to use
  116. these modems at a fixed interface speed of 57600 bps (or 38400 bps, if that is
  117. the highest speed supported by the modem), to allow the modem's data
  118. compression to operate at its full effectiveness, and they enable hardware
  119. flow control (RTS/CTS) to prevent loss of data.  Note that flow control will
  120. be fully effective only if the answering modem and computer also have an
  121. effective flow control method between them.
  122.  
  123. The high-speed modem scripts:
  124.  
  125.  . Configure the modem to echo commands, issue verbose result codes, and
  126.    hang up upon loss of DTR from the PC (as when you tell Kermit to HANGUP).
  127.    (If Kermit's HANGUP command doesn't work with your modem, you can find
  128.    a workaround in the KERMIT.BWR (MSKERM.BWR) file.)
  129.  
  130.  . Start out at the highest supported modulation, V.32bis, with downwards
  131.    negotiation enabled (V.32, V.22bis, etc.)  If a lower modulation technique
  132.    is negotiated, the interface speed remains fixed and the modem does "speed
  133.    buffering", for which effective flow control is an absolute requirement.
  134.  
  135.  . Enable error correction and compression, starting out at the highest
  136.    supported levels (V.42 and V.42bis) and falling back to lower levels
  137.    (usually MNP), or to none at all.
  138.  
  139.  . Configure to modem to pass BREAK signals through transparently when you
  140.    type Alt-B.
  141.  
  142. Dialing     Interface   Highest      Error        Data
  143. Script       Speed      Modulation   Correction   Compression
  144.    
  145. PENRIL       38400      V.32(bis?)   V.42->MNP    V.42bis->MNP
  146. PP14400.SCR  57600      V.32bis      V.42->MNP    V.42bis->MNP
  147. QBLAZER.SCR  38400      V.32         V.42->MNP    V.42bis->MNP
  148. SPORT.SCR    57600      V.32bis      V.42->MNP    V.42bis->MNP
  149. SUPRA.SCR    57600      V.32bis      V.42->MNP    V.42bis->MNP
  150. T3000.SCR    57600      V.32bis      V.42->MNP    V.42bis->MNP
  151. ULTRA144.SCR 38400      V.32bis      V.42->MNP    V.42bis->MNP
  152.  
  153. The Telebit T3000 script should also work on the Telebit WorldBlazer.
  154.  
  155. The Telebit QBlazer script should also work on the Telebit T1600.
  156.  
  157. The Hayes Ultra 144 gives you a failure code if the modem reports NO CARRIER:
  158.  
  159.   0  Normal hangup
  160.   4  Physical carrier loss
  161.   5  Error control was required but was not negotiated
  162.   6  Other error-control modem did not respond to feature negotiation
  163.   7  Other modem is synchronous-only
  164.   8  Modems could not find a common framing technique
  165.   9  Modems could not find a protocol in common
  166.  10  Incorrect feature negotiation message sent by other modem
  167.  11  Timed out waiting for synchronous data
  168.  12  Normal disconnect initiated by other modem
  169.  13  Other modem did not respond after many retransmissions
  170.  14  Protocol violation
  171.  15  Compression failure
  172.  
  173. For further information, read the script files themselves.  They are ordinary
  174. text files that you can TYPE, PRINT, or view with a text editor such as DOS
  175. 5.0 EDIT.
  176.  
  177. (End of MODEMS.DOC)
  178.