home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / zmodem / cexyz100.zip / MAX-PROT.CTL < prev    next >
Text File  |  1993-08-16  |  4KB  |  124 lines

  1. % ------------
  2. % MAX-PROT.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 running 4DOS (or any other alternate shell), you
  10. % should replace all occurences of "command.com" with the name of
  11. % your shell (such as 4dos.com).  Failure to do this may cause erratic
  12. % results when calling external protocols.
  13. %
  14. % If you would like to replace the Maximus INTERNAL Zmodem with the one
  15. % defined below, you will need to edit your batch file that calls Maximus
  16. % to add a command line parameter.  -xz on the Maximus command line will
  17. % DISABLE the internal Max-Zmodem and allow you to use the letter "Z"
  18. % on the protocol screen for your own user-defined protocol driver.  You
  19. % will then need to uncomment the section below pertaining to the Zmodem
  20. % protocol driver.
  21. %
  22. % This sample PROTOCOL.CTL file also defines a ZedZap (8K Zmodem), Ymodem-1K,
  23. % Ymodem-Batch and a Ymodem-G protocol selection entry.
  24. %
  25. % (Xmodem and Xmodem-1K are not supplied, as they are built into Maximus
  26. % and cannot be disabled).
  27. %
  28. % To include these external protocols in your Maximus setup, edit MAX.CTL
  29. % to include the line:
  30. %
  31. % Include "MAX-PROT.CTL"
  32. %
  33. % Then you should run SILT on your Maximus control file.  Of course, you
  34. % can also import the pertinent sections of this file into an existing
  35. % PROTOCOL.CTL file.
  36. %
  37. % You should then make sure that CEXYZ.EXE is in a directory defined in your
  38. % DOS PATH.  If you do not wish to place CEXYZ.EXE in your path, you will
  39. % need to place it into your \MAX installation directory.  The sample batch
  40. % file (XYZBATCH.BAT) *shouldn't* need any editing.  This file must be placed
  41. % in your \MAX BBS installation directory.
  42. %
  43. % Only uncomment this protocol definition if you are disabling Maximus's
  44. % internal Zmodem.
  45. % Protocol Zmodem
  46. %          Type            Batch
  47. %          LogFile         DSZ%K.Log
  48. %          ControlFile     DSZ%K.Ctl
  49. %          DownloadCmd     command.com /c xyzbatch DSZ%K.Log /P%P /B%W /sz @%x:DSZ%K.Ctl
  50. %          UploadCmd       command.com /c xyzbatch DSZ%K.Log /P%P /B%W /rz %v
  51. %          DownloadString  %s
  52. %          UploadString
  53. %          DownloadKeyword z
  54. %          UploadKeyword   Z
  55. %          FilenameWord    10
  56. %          DescriptWord    0
  57. % End Protocol
  58. %
  59. %
  60. Protocol 8K Zmodem (ZedZap)
  61.          Type            Batch
  62.          LogFile         DSZ%K.Log
  63.          ControlFile     DSZ%K.Ctl
  64.          DownloadCmd     command.com /c xyzbatch DSZ%K.Log /P%P /B%W /szap @%x:DSZ%K.Ctl
  65.          UploadCmd       command.com /c xyzbatch DSZ%K.Log /P%P /B%W /rzap %v
  66.          DownloadString  %s
  67.          UploadString
  68.          DownloadKeyword z
  69.          UploadKeyword   Z
  70.          FilenameWord    10
  71.          DescriptWord    0
  72. End Protocol
  73. %
  74. %
  75. Protocol Y Ymodem-Batch
  76.          Type Batch
  77.          LogFile         DSZ%K.Log
  78.          ControlFile     DSZ%K.Ctl
  79.          DownloadCmd     command.com /c xyzbatch DSZ%K.Log /P%P /B%W /sy @%x:DSZ%K.Ctl
  80.          UploadCmd       command.com /c xyzbatch DSZ%K.Log /P%P /B%W /ry %v
  81.          DownloadString  %s
  82.          UploadString
  83.          DownloadKeyword S
  84.          UploadKeyword   R
  85.          FilenameWord    10
  86.          DescriptWord    0
  87. End Protocol
  88. %
  89. %
  90. Protocol G Ymodem-G
  91.          Type Batch
  92.          LogFile         DSZ%K.Log
  93.          ControlFile     DSZ%K.Ctl
  94.          DownloadCmd     command.com /c xyzbatch DSZ%K.Log /P%P /B%W /syg @%x:DSZ%K.Ctl
  95.          UploadCmd       command.com /c xyzbatch DSZ%K.Log /P%P /B%W /ryg %v
  96.          DownloadString  %s
  97.          UploadString
  98.          DownloadKeyword S
  99.          UploadKeyword   R
  100.          FilenameWord    10
  101.          DescriptWord    0
  102. End Protocol
  103. %
  104. %
  105. Protocol K Ymodem-1K Batch
  106.          Type Batch
  107.          LogFile         DSZ%K.Log
  108.          ControlFile     DSZ%K.Ctl
  109.          DownloadCmd     command.com /c xyzbatch DSZ%K.Log /P%P /B%W /sy1k @%x:DSZ%K.Ctl
  110.          UploadCmd       command.com /c xyzbatch DSZ%K.Log /P%P /B%W /ry1k %v
  111.          DownloadString  %s
  112.          UploadString
  113.          DownloadKeyword S
  114.          UploadKeyword   R
  115.          FilenameWord    10
  116.          DescriptWord    0
  117. End Protocol
  118. %
  119. %
  120. % Credit goes to Scott J. Dudley for the basis of this sample PROTOCOL.CTL
  121. % file.
  122. %
  123. % --- END SAMPLE MAX-PROT.CTL ---
  124.