home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / MAGIC.ZIP / PROTOCOL.CTL < prev    next >
Text File  |  1993-02-13  |  5KB  |  152 lines

  1. % ------------
  2. % PROTOCOL.CTL
  3. % ------------
  4. %
  5. % This file is used to define external protocols usable with Max 2.0.
  6. % Both Opus-compatible and non-standard protocols can be used
  7. % directly by Maximus.
  8. %
  9. % If you're using a locked baud rate, THESE PROTOCOL ENTRIES MAY NEED
  10. % TO BE MODIFIED.  You should replace all "%W"'s in this file with your
  11. % locked baud rate (such as 19200 or 38400).
  12. %
  13. % Also, if you're running 4DOS (or any other alternate shell), you
  14. % should replace all occurences of "command.com" with the name of
  15. % your shell (such as command.com).  Failure to do this may cause erratic
  16. % results when calling external protocols.
  17.  
  18. % The BiModem protocol from Erik Labs.  To use, simply uncomment this
  19. % protocol entry and place BIMODEM.COM and associated configuration
  20. % files in the \MAX directory.
  21.  
  22. Protocol BiModem
  23.         Type            Batch
  24. ;       Type            Errorlevel
  25.         Type            Bi
  26. ;       Type            Opus
  27. %
  28.         LogFile         Bimodem.Log
  29.         ControlFile     Bimodem.Ctl
  30.         DownloadCmd     bimodem /B %W /L 1 /T %t /R %V /U @Bimodem.Ctl
  31.         UploadCmd       bimodem /B %W /L 1 /T %t /R %V
  32.         DownloadString  %s
  33.         UploadString
  34.         DownloadKeyword " S "
  35.         UploadKeyword   " R "
  36.         FilenameWord    5
  37.         DescriptWord    0
  38. End Protocol
  39.  
  40. Protocol GYmodem
  41.         Type            Batch
  42. ;       Type            Errorlevel
  43. ;       Type            Bi
  44. ;       Type            Opus
  45. %
  46.         LogFile         DSZY%K.Log
  47.         ControlFile     DSZY%K.Ctl
  48.         DownloadCmd     4os2 /c rdsz DSZY%K.Log 1 %W sb -g @%x:DSZY%K.Ctl
  49.         UploadCmd       4os2 /c rdsz DSZY%K.Log 1 %W restrict rb -g %v
  50.         DownloadString  %s
  51.         UploadString
  52.         DownloadKeyword S
  53.         UploadKeyword   R
  54.         FilenameWord    10
  55.         DescriptWord    0
  56. End Protocol
  57.  
  58.  
  59. Protocol HS/Link
  60.           Type            Batch
  61. ;         Type            Errorlevel
  62.           Type            Bi
  63. ;         Type            Opus
  64.  
  65.           LogFile         HSL%K.Log
  66.           ControlFile     HSL%K.Ctl
  67.           DownloadCmd     4os2 /c rhsl HSL%K.Log 1 %V @%x:HSL%K.Ctl
  68.           UploadCmd       4os2 /c rhsl HSL%K.Log 1 %V
  69.           DownloadString  %s
  70.           UploadString
  71.           DownloadKeyword h
  72.           UploadKeyword   H
  73.           FilenameWord    10
  74.           DescriptWord    0
  75.  End Protocol
  76.  
  77.  
  78. Protocol Kermit
  79.          Type            Batch
  80.  
  81.          LogFile         KERM%K.Log
  82.          ControlFile     KERM%K.Ctl
  83.          DownloadCmd     OS2FTP.Exe -kermit -tmp\KERM%K -s#KERM%K.Ctl
  84.          UploadCmd       OS2FTP.Exe -kermit -tmp\KERM%K -r#KERM%K.Ctl
  85.          DownloadString  Send %s
  86.          UploadString    Get %s
  87.          DownloadKeyword Sent
  88.          UploadKeyword   Got
  89.          FilenameWord    1
  90.          DescriptWord    0
  91. End Protocol
  92.  
  93. ;
  94. %
  95. % MPt protocol.  This is the protocol designed by MPt Systems.  To use,
  96. % simply uncomment this protocol and place MPT.EXE in your \MAX directory.
  97. %
  98.  
  99. Protocol MPt
  100.         Type            Batch
  101. ;       Type            Errorlevel
  102. ;       Type            Bi
  103. ;       Type            Opus
  104. %
  105.         LogFile         Mpt.Log
  106.         ControlFile     Mpt.Ctl
  107.         DownloadCmd     mpt A+ B- D+ F+ N+ P1 S0 M- W- HF Lmpt.log s @mpt.ctl
  108.         UploadCmd       mpt A+ B- D+ F+ N+ P1 S0 M- W- HF Lmpt.log r %v
  109.         DownloadString  %s
  110.         UploadString
  111.         DownloadKeyword S
  112.         UploadKeyword   R
  113.         FilenameWord    10
  114.         DescriptWord    0
  115. End Protocol
  116.  
  117. Protocol Ymodem
  118.         Type            Batch
  119. ;       Type            Errorlevel
  120. ;       Type            Bi
  121. ;       Type            Opus
  122. %
  123.         LogFile         DSZY%K.Log
  124.         ControlFile     DSZY%K.Ctl
  125.         DownloadCmd     4os2 /c rdsz DSZY%K.Log 1 %W sb -k @%x:DSZY%K.Ctl
  126.         UploadCmd       4os2 /c rdsz DSZY%K.Log 1 %W rb %v
  127.         DownloadString  %s
  128.         UploadString
  129.         DownloadKeyword S
  130.         UploadKeyword   R
  131.         FilenameWord    10
  132.         DescriptWord    0
  133. End Protocol
  134.  
  135. Protocol Zmodem-90
  136.         Type            Batch
  137. ;       Type            Errorlevel
  138. ;       Type            Bi
  139. ;       Type            Opus
  140. %
  141.         LogFile         DSZ%K.Log
  142.         ControlFile     DSZ%K.Ctl
  143.         DownloadCmd     4os2 /c rdsz DSZ%K.Log 1 %W sz -m -Z @%x:DSZ%K.Ctl
  144.         UploadCmd       4os2 /c rdsz DSZ%K.Log 1 %W rz %v
  145.         DownloadString  %s
  146.         UploadString
  147.         DownloadKeyword z
  148.         UploadKeyword   Z
  149.         FilenameWord    10
  150.         DescriptWord    0
  151. End Protocol
  152.