home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / 347CONFG.ZIP / PROTOCOL.CTL < prev    next >
Text File  |  1993-12-11  |  7KB  |  214 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 4dos.com).  Failure to do this may cause erratic
  16. % results when calling external protocols.
  17.  
  18. %
  19. % ASCII protocol.  This is the Opus-compatible OATE transfer module.
  20. % To use, simply uncomment this protocol and place ASCII.EXE in
  21. % your \MAX directory.
  22. %
  23.  
  24. % Protocol ASCII
  25. % ;       Type            Batch
  26. % ;       Type            Errorlevel
  27. % ;       Type            Bi
  28. %         Type            Opus
  29. %
  30. %         LogFile         Ascii%K.Log
  31. %         ControlFile     Ascii%K.Ctl
  32. %         DownloadCmd     Ascii.Exe Ascii%K.Ctl -p%p -b%W -t%k -m%d -f%D -r%t
  33. %         UploadCmd       Ascii.Exe Ascii%K.Ctl -p%p -b%W -t%k -m%d -f%D -r%t
  34. %         DownloadString  Send %s
  35. %         UploadString    Get %s
  36. %         DownloadKeyword Sent
  37. %         UploadKeyword   Got
  38. %         FilenameWord    1
  39. %         DescriptWord    4
  40. % End Protocol
  41.  
  42.  
  43. %
  44. % Kermit protocol.  This is the Opus-compatible OKERMIT transfer module.
  45. % To use, simply uncomment this protocol and place KERMIT.EXE in your
  46. % \MAX directory.
  47. %
  48.  
  49. % Protocol Kermit
  50. %         Type            Batch
  51. % ;       Type            Errorlevel
  52. % ;       Type            Bi
  53. %         Type            Opus
  54. %
  55. %         LogFile         Kermit%K.Log
  56. %         ControlFile     Kermit%K.Ctl
  57. %         DownloadCmd     Kermit.Exe Kermit%K.Ctl -p%p -b%W -t%k -m%d -f%D -r%t
  58. %         UploadCmd       Kermit.Exe Kermit%K.Ctl -p%p -b%W -t%k -m%d -f%D -r%t
  59. %         DownloadString  Send %s
  60. %         UploadString    Get %s
  61. %         DownloadKeyword Sent
  62. %         UploadKeyword   Got
  63. %         FilenameWord    1
  64. %         DescriptWord    4
  65. % End Protocol
  66.  
  67. %
  68. % MPt protocol.  This is the protocol designed by MPt Systems.  To use,
  69. % simply uncomment this protocol and place MPT.EXE in your \MAX directory.
  70. %
  71.  
  72. % Protocol MPt
  73. %         Type            Batch
  74. % ;       Type            Errorlevel
  75. % ;       Type            Bi
  76. % ;       Type            Opus
  77. %
  78. %         LogFile         Mpt.Log
  79. %         ControlFile     Mpt.Ctl
  80. %         DownloadCmd     mpt A+ B- D+ F+ N+ P%P S0 M- W- HF Lmpt.log s @mpt.ctl
  81. %         UploadCmd       mpt A+ B- D+ F+ N+ P%P S0 M- W- HF Lmpt.log r %v
  82. %         DownloadString  %s
  83. %         UploadString
  84. %         DownloadKeyword S
  85. %         UploadKeyword   R
  86. %         FilenameWord    10
  87. %         DescriptWord    0
  88. % End Protocol
  89.  
  90. %
  91. % Zmodem-90 MobyTurbo protocol.  To use, uncomment this protocol and
  92. % place DSZ.EXE or DSZ.COM in your \MAX directory.
  93. %
  94. % NOTE!  You must create the following RDSZ.BAT in your Max directory
  95. % to ensure that DSZ handles transfers correctly:
  96. %
  97. %       echo off
  98. %       set dszlog=%1
  99. %       dsz port %2 speed %3 %4 %5 %6 %7 %8 %9
  100. %       set dszlog=
  101. %
  102. % Without this batch file, protocol logging will not be enabled.
  103. %
  104. % WARNING!  A registered copy of DSZ is required to properly handle
  105. % uploads.  Without a registered copy, uploads will be placed into
  106. % your \MAX directory!
  107. %
  108.  
  109. % Protocol DSZ/Moby
  110. %         Type            Batch
  111. % ;       Type            Errorlevel
  112. % ;       Type            Bi
  113. % ;       Type            Opus
  114. %
  115. %         LogFile         DSZ%K.Log
  116. %         ControlFile     DSZ%K.Ctl
  117. %         DownloadCmd     command.com /c rdsz DSZ%K.Log %P %W ha both sz -m -Z @%x:DSZ%K.Ctl
  118. %         UploadCmd       command.com /c rdsz DSZ%K.Log %P %W ha both rz %v
  119. %         DownloadString  %s
  120. %         UploadString
  121. %         DownloadKeyword z
  122. %         UploadKeyword   Z
  123. %         FilenameWord    10
  124. %         DescriptWord    0
  125. % End Protocol
  126.  
  127.  
  128. % The BiModem protocol from Erik Labs.  To use, simply uncomment this
  129. % protocol entry and place BIMODEM.COM and associated configuration
  130. % files in the \MAX directory.
  131.  
  132. % Protocol BiModem
  133. %         Type            Batch
  134. % ;       Type            Errorlevel
  135. %         Type            Bi
  136. % ;       Type            Opus
  137. %
  138. %         LogFile         Bimodem.Log
  139. %         ControlFile     Bimodem.Ctl
  140. %         DownloadCmd     bimodem /B %W /L %P /T %t /R %V /U @Bimodem.Ctl
  141. %         UploadCmd       bimodem /B %W /L %P /T %t /R %V
  142. %         DownloadString  %s
  143. %         UploadString
  144. %         DownloadKeyword " S "
  145. %         UploadKeyword   " R "
  146. %         FilenameWord    5
  147. %         DescriptWord    0
  148. % End Protocol
  149.  
  150. Protocol Ymodem
  151.          Type            Batch
  152.  
  153.          LogFile         Ymodem%K.Log
  154.          ControlFile     Ymodem%K.Ctl
  155.          DownloadCmd     OS2FTP.Exe -nosts -s#Ymodem%K.Ctl
  156.          UploadCmd       OS2FTP.Exe -nosts -r#Ymodem%K.Ctl
  157.          DownloadString  Send %s
  158.          UploadString    Get %s
  159.          DownloadKeyword Sent
  160.          UploadKeyword   Got
  161.          FilenameWord    1
  162.          DescriptWord    0
  163. End Protocol
  164.  
  165.  
  166. Protocol G-Ymodem
  167.          Type            Batch
  168.  
  169.          LogFile         YmodG%K.Log
  170.          ControlFile     YmodG%K.Ctl
  171.          DownloadCmd     OS2FTP.Exe -ymodemg -nosts -s#YmodG%K.Ctl
  172.          UploadCmd       OS2FTP.Exe -ymodemg -nosts -r#YmodG%K.Ctl
  173.          DownloadString  Send %s
  174.          UploadString    Get %s
  175.          DownloadKeyword Sent
  176.          UploadKeyword   Got
  177.          FilenameWord    1
  178.          DescriptWord    0
  179. End Protocol
  180.  
  181.  
  182. %Protocol M2-Zmodem
  183. %         Type            Batch
  184. %
  185. %         LogFile         M2Z%K.Log
  186. %         ControlFile     M2Z%K.Ctl
  187. %         DownloadCmd     OS2FTP.Exe -zmodem -s#M2Z%K.Ctl
  188. %         UploadCmd       OS2FTP.Exe -zmodem -r#M2Z%K.Ctl
  189. %         DownloadString  Send %s
  190. %         UploadString    Get %s
  191. %         DownloadKeyword Z-Sent:
  192. %         UploadKeyword   Z-Received:
  193. %         FilenameWord    1
  194. %         DescriptWord    0
  195. %End Protocol
  196.  
  197.  
  198. Protocol Kermit
  199.          Type            Batch
  200.  
  201.          LogFile         KERM%K.Log
  202.          ControlFile     KERM%K.Ctl
  203.          DownloadCmd     OS2FTP.Exe -kermit -tmp\KERM%K -s#KERM%K.Ctl
  204.          UploadCmd       OS2FTP.Exe -kermit -tmp\KERM%K -r#KERM%K.Ctl
  205.          DownloadString  Send %s
  206.          UploadString    Get %s
  207.          DownloadKeyword Sent
  208.          UploadKeyword   Got
  209.          FilenameWord    1
  210.          DescriptWord    0
  211. End Protocol
  212.  
  213.  
  214.