Here is an example of a Proto.Def file to use with RBatch.  Note that the
"X" & "Y"modem are shelled to and do not use RBatch.  This is for an
example only to show that not all protocols have to use RBatch.  If you
wish to use "X" & "Y"modem with RBatch, just change the entry in this
file to match the Zmodem entry, and then make a batch file called
BATCHUPX.BAT, BATCHDNX.BAT, BATCHUPY.BAT, BATCHDNY.BAT and then
modify these batch file so that the "X" & "Y" protocols are invoked.

Remember that if you use this as your proto.def setup, that these comments
cannot be in the file.

Examples for ZSX and PCZ are located in USEZSX.ZIP and USEPCZ.ZIP

=============================================================================

"B) Ymodem --------- (DSZ - Batch - Both Directions)
",4,D,8,,B,1024,,0.96,,4=E=A,"BATCHDNY.BAT [PORT#] [BAUD] [FILE]","BATCHUPY.BAT [PORT#] [BAUD] [PROTO] [NODE]"
"G) Ymodem-G ------- (DSZ - Batch - Both Directions)
",4,D,8,,B,1024,,0.98,,4=E=A,"BATCHDNG.BAT [PORT#] [BAUD] [FILE]","BATCHUPG.BAT [PORT#] [BAUD] [PROTO] [NODE]"
"H) HS/Link -------- (One way or Bi-directional)
",4,D,8,,B,2048,,0.96,,4=E=A,"HS1DN.BAT [PORT#] [BAUD] [PROTO] [NODE] [FILE]","HS1UP.BAT [PORT#] [BAUD] [PROTO] [NODE] [FILE]"
"I) Bimodem -------- (One way or Bi-directional)
",4,D,8,,B,2030,,0.98,,4=E=A,"BI1DN.BAT [PORT#] [BAUD] [PROTO] [NODE] [FILE]","BI1UP.BAT [PORT#] [BAUD] [PROTO] [NODE] [FILE]"
"M) MobyTurbo ------ (Turbo Zmodem) (DSZ - Batch - Both Directions)
",4,D,8,,B,1024,,0.98,,4=E=A,"BATCHDN.BAT [PORT#] [BAUD] [FILE]","BATCHUP.BAT [PORT#] [BAUD] [PROTO] [NODE]"
"X) Xmodem --------- (DSZ - Single File Uploading/Downloading)
",4,S,8,,,128,,0.78,,1=E,"DSZ.COM handshake slow port [PORT#] speed [BAUD] sx [FILE]","DSZ.COM handshake slow port [PORT#] speed [BAUD] rx [FILE]"
"Y) Ymodem 1K-Xmodem (DSZ - Single File Uploading/Downloading)
",4,S,8,,,1024,,0.94,,1=E,"DSZ.COM handshake slow port [PORT#] speed [BAUD] sx -k [FILE]","DSZ.COM handshake slow port [PORT#] speed [BAUD] rx -c -k [FILE]"
"Z) Zmodem --------- (DSZ - Batch - Both Directions)
",4,D,8,,B,1024,,0.96,,4=E=A,"BATCHDN.BAT [PORT#] [BAUD] [FILE]","BATCHUP.BAT [PORT#] [BAUD] [PROTO] [NODE]"
"N) None - Cancel (No Default Protocol)

Select Protocol",4,IN,,,,,,,,,,


Here is the entry for using Xmodem and 1K-Xmodem with RBatch:

"X) Xmodem --------- (DSZ - Single File Uploading/Downloading)
",3,D,8,,,128,,0.78,,4=E=A,"BATCHDNX.BAT [PORT#] [BAUD] [FILE] [CBAUD]","BATCHUPX.BAT [PORT#] [BAUD] [PROTO] [NODE] [CBAUD] [FILE]"
"Y) Ymodem 1K-Xmodem (DSZ - Single File Uploading/Downloading)
",3,D,8,,,1024,,0.94,,4=E=A,"BDN1KX.BAT [PORT#] [BAUD] [FILE] [CBAUD]","BUP1KX.BAT [PORT#] [BAUD] [PROTO] [NODE] [CBAUD] [FILE]"


NOTE:  If the batch files are not in the CURRENT directory where the user
       signs onto, you must put a path before the entry like:

       "C:\RBBS\XFER\BATCHUP.BAT............."

       This is so RBBS can find the batch file and be able to display this
       entry from PROTO.DEF to the user as a choice for a protocol.


NOTE:  The [CBAUD] parameter is a feature of RBBS that is available with the
       release of 17.4 - If you are not running 17.4, just omit this parameter
       and the associated %# in your batch files.  Thanks to Walter Ames for
       the CBAUD work with RBBS.

