home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / pr_ra2g3.zip / PROTO_RA.TXT < prev    next >
Text File  |  1993-06-13  |  20KB  |  455 lines

  1.  
  2.                 P r o t o _ R A   2 . 0 0
  3.                       Gamma Version
  4.  
  5. 06/13/93 02:40 pm
  6.  
  7. NOTE:
  8. Major changes from 1.11!  Includes PROTOCOL.111 to keep some
  9. older protocols that I have dropped available for
  10. experimentation for those so inclined.
  11.  
  12. This is a compendium on the use of external protocols with
  13. RemoteAccess.  With this are sample PROTOCOL.RA that must
  14. be modified for use with your system.  Both use GSZ.EXE, so
  15. if you prefer DSZ.COM, you will have to make those changes.
  16. PROTOCOL.111 is largely for instruction and information; do
  17. NOT use it as is, as some things have changed for 2.00.
  18. PROTOCOL.200 must be renamed to PROTOCOL.RA and edited for
  19. your system setup before use as well.
  20.  
  21. All protocols must be set up first according to their own
  22. documentation.  Any special notes are included below, but
  23. the basic thing to remember is that you MUST set up the
  24. protocol to write a log file, and it must (of course) be the
  25. same name as the log file used in PROTOCOL.RA.
  26.  
  27. The PROTOCOL.RA samples should work running single node, or
  28. multinode.  They require a complete path if not in the
  29. current directory or (of course) if you run multinode.  With
  30. a few changes in commands, all will have enough space to fit
  31. the path in, with the exception of SZModem.  Since it MUST
  32. have /DORINFO 1 in version 1.60 and up, there is not enough
  33. room for a long path, so I have as an example \RA\ only.
  34.  
  35. Please see the discussion of SET DSZLOG in the DSZ
  36. discussion, as it applies to all protocols that use the DSZ
  37. style logging.
  38.  
  39. Note that these are set for locked bps (mine is at 38400),
  40. and must be edited for other systems.  TEST ALL PROTOCOLS;
  41. what works on one system may not work on another, and vice
  42. versa!
  43.  
  44. I have also included a sample .cfg file for FileDoor 3.10
  45. Public Gamma version, which works fine with RA 2.00 Gamma 1.
  46.  
  47. 1) Protocols that work with BPS locked at 38400:
  48.  
  49.  A) DSZ, GSZ
  50.  
  51. These work in all modes, except (in RA 1.01) for single file
  52. protocol modes (Xmodem and derivatives) for uploads.  This
  53. problem is due to RA passing only the path as # on the
  54. command line, and is fixed in RA 1.10/1.11/2.00.
  55.  
  56. The only difference between DSZ and GSZ is the name of the
  57. executable (DSZ.COM or DSZ.EXE versus GSZ.EXE) and that for
  58. display speed you may want to add pV1 just before the
  59. protocol command (e.g., pV1 sz).  GSZ.EXE and DSZ.COM
  60. support file sharing; DSZ.EXE does not.  DSZ.EXE and GSZ.EXE
  61. support up to a 16k pB buffer command, while DSZ.COM is
  62. limited to 4k.  My recommendation is to use the default
  63. unless, as Chuck Forsberg says, you are bloody well sure you
  64. need the pB command!
  65.  
  66. They will also only work for uploads if you have them
  67. registered, as the unregistered versions will not accept a
  68. received file into a pathed directory.  See TXZModem and
  69. VirtualZmodem (in PROTOCOL.200) below for alternatives if
  70. you do not have a registered copy of DSZ and/or GSZ.
  71.  
  72. You must set DSZLOG in your environment as well, and use the
  73. log for PROTOCOL.RA.  Note that this log MUST be set to
  74. write in the current node directory.  For multinode, you can
  75. use the %TASK% variable to do this.  If you use DOS and not
  76. 4DOS, you have to reserve the space in the environment in
  77. your autoexec.bat:
  78.  
  79. SET TASK=1
  80. SET DSZLOG=C:/RA/NODE1/DSZ.LOG
  81.  
  82. Now, in the batch file that starts up the node, pass the
  83. node to it:
  84.  
  85. RUNRA 1
  86.  
  87. The appropriate lines in RUNRA.BAT would be at the top, and
  88. be like this:
  89.  
  90. SET TASK=%TASK%
  91. SET DSZLOG=C:/RA/NODE%TASK%/DSZ.LOG
  92.  
  93. With 4DOS, there is no need to reserve the environment
  94. space.
  95.  
  96. Some special modes are not practical, but will work.  These
  97. are the modes that DSZ uses only to recieve.  Among these
  98. are ro (Overthruster), rx -g (Xmodem-k-g) and rb -g
  99. (Ymodem-g).  This also includes rc (Xmodem CRC/Xmodem-k
  100. CRC), but rx will also receive CRC.  Now, the thing to do is
  101. use the more generic form to send, and assume the receiver
  102. knows he must use the proper form to get the protocol
  103. desired.  For ro, use sx; for rx -g use sx -k; for rb -g,
  104. use sb -k.  An example for Xmodem Overthruster, with the
  105. proper windowing for packet-switched networks, is included.
  106.  
  107. Another oddball is Zmodem compressed, as it is set on the
  108. SENDING side with sz -Z.  Use the standard rz to receive.
  109.  
  110.  B) MPt (formerly Puma)
  111.  
  112. Works just fine, but you must set the DSZ-type log in
  113. MPTSET.  I suggest using MPT.LOG myself, to separate it
  114. from DSZ.  Set it to C:MPT.LOG (or whatever drive you have
  115. your BBS directory on), and go!
  116.  
  117.  C) TASY
  118.  
  119. You must set TLOG in your environment, and use version 4.19
  120. of TASY.  This is a error correcting connection protocol
  121. only, and should be so set.  Later versions do not seem to
  122. work right, and earlier ones had no log.  Seems very fast!
  123.  
  124. Use the general procedure describing SET DSZLOG above,
  125. setting it to the node's directory.  Also, you will have to
  126. patch it to log so that RA can tell DL from UL from errors.
  127. Here is how:
  128.  
  129. Use a Hex editor, and search for 00002.  When you find it
  130. (and NOT 000002!), look back for the string T%7, and change
  131. T to t.  Now, look for 000002, and change the T to E where
  132. you see T%7.  Last, look for 00001, and be sure the T%7
  133. above it still says T.  Save your changes.  You can also
  134. freq a patched copy from my board as TASYRA.ZIP.
  135.  
  136.  D) SZModem
  137.  
  138. READ THE DOCS and set this one up only after you have them
  139. mastered!  It will use whatever you have set for DSZLOG in
  140. the environment, and the /CFGPATH must point to where the
  141. szmodem.cfg resides.  1.60 and up must be used, as
  142. they work more as they should in regards to the /cfgpath and
  143. DSZ environmental variables.  SZModem as of version 1.50
  144. still uses only uppercase Z to indicate transfers in either
  145. direction, rather than the correct z for send and Z for
  146. receive. Version 1.60 and 2.00+ correct this problem.
  147.  
  148. Occasional modems or conditions will result in status
  149. Unknown transfers, which return no transfer.  Perhaps the
  150. author will reverse this and assume success rather than
  151. failure on such transfers in the future, as for the most
  152. part they ARE successful, and users will be able to leech a
  153. file or two as is once in a while <grin>.
  154.  
  155. SZModem 1.60 and 2.00 fix the DSZ.LOG problem.  It also
  156. stores all config data in the executable.  The dorinfo1.def
  157. processing, though, has to be specified on the commandline,
  158. though the path is set in the configuration.  This is a bit
  159. tricky, though, as the usual trick of C: will not work, as
  160. you must have a trailing backslash in the SZCONFIG data, or
  161. SZModem will not only not find dorinfo1.def, it will not
  162. find the other config data!  Use C:.\ for the path, as that
  163. seems to work fine.  The examples given in the sample
  164. PROTOCOL.200 files use this new version; for other added
  165. commandline options, see the FileDoor.Cfg (though you will
  166. have to eliminate the /FIDOAREA for lack of room).
  167.  
  168.  E) SKHST
  169.  
  170. Though SuperK will also work, this is easier to set up and
  171. has new features to make it work a LOT better as a BBS
  172. protocol.  If you do not register, it will die after 30
  173. days.  DO REGISTER it, but if you need more time, you can
  174. reinstall after deleting a hidden file in the root dir of
  175. your hard disk that it creates (name looks like ascii
  176. garbage).
  177.  
  178. The single modes will not work for ULs in RA 1.01 for the
  179. same reason as some DSZ modes, the # character not passing
  180. the path AND filename to the protocol.  Fixed in RA 1.10.
  181.  
  182. With version 1.06, SKHST will try on the receiving end to
  183. match the batch mode send of the remote.  This means if they
  184. make a mistake and use the wrong mode, it will still receive
  185. the file.  Since it cannot match the other way, you still
  186. need the sending modes you want to support.  I recommend the
  187. modes I have in PROTOCOL.RA as they support the ProComm
  188. brain-dead WXModem (whoever heard of a window of 1 block?),
  189. and the old SuperK batch modes.
  190.  
  191. YOU MUST set up SKHST to NOT delete its transfer file!  The
  192. default is to delete it, and since RA tries to delete it as
  193. well, this does not work well!  If you have SHARE loaded,
  194. you will get a violation and a crash.  Also be sure to set
  195. the path of the log and xfer files in the protocol
  196. setup and in PROTOCOL.RA.  The xfer list file can be
  197. DL.TXT with the path, or some other; the commandline
  198. overrides the protocol's set xfer list name.  I use
  199. DL.TXT, myself.  Use C:DL.TXT and C:SKHST.LOG, and it will
  200. work fine.
  201.  
  202. By the way, the Jmodem mode of SKHST does not work for me,
  203. for whatever reason, neither in FileDoor nor in RA's
  204. externals.  If it did, it could replace the "real" Jmodem
  205. that does not write a log and thus cannot be used at
  206. present.
  207.  
  208.  F) PCZ - ONLY IN PROTOCOL.111
  209.  
  210. Not reliable for RA 2.00, because of the logging problems
  211. (see below).  I have retained this for information only.
  212.  
  213. The freeware PCZ works well, with some limitations.  The
  214. zmodem mode will accept a DL path, unlike unregistered DSZ.
  215. There is no Ymodem-g or Xmodem-k-g mode, but it does include
  216. an implementation of SEAlink in addition to xmodem,
  217. xmodem-1k, and ymodem.
  218.  
  219. Do not use the DIRXX setting, at least not with the 4.09.90
  220. version of PCZ.  The commandline does not reliably override
  221. the set command.  Do use the Set PCZLOG variable, and use
  222. normal DOS methods (e.g., set pczlog=c:\ra\pcz.log).  Locked
  223. at 38400, the internal flow control seems to break down with
  224. the lower speeds, so the F (fossil) setting is needed.  You
  225. should then, if the fossil is locked, pass the DCE as *b to
  226. the protocol so the time calculations are correct.  You may
  227. wish to advise your users of this as well, and tell them to
  228. load BNU and lock the port, run PCZ, and unload BNU, if they
  229. run at 38400.
  230.  
  231. The only other problem is that the logging PCZ does is
  232. ambiguous to RA's scanning method.  If an aborted transfer
  233. takes place with exactly 1 error, RA will find the 1 for the
  234. logged error, assume the xfer went ok, report it as
  235. complete, and then find the day of the week as the filename.
  236. No harm done, but rather confusing to the user.  The author
  237. is being made aware of this, and either it will be fixed or
  238. perhaps RA can scan for a string including spaces (1  sz for
  239. a zmodem send, for example) in a future version to make it
  240. unambiguous.
  241.  
  242. One other note concerns PCZ's errorlevel generation, not
  243. directly of concern for PROTOCOL.RA use.  The zmodem and
  244. ymodem (not sure about xmodem and xmodem-1k) work correctly,
  245. but the SEAlink seems to always return an errorlevel of 1
  246. (failure).  This has to do with its correctly sending the
  247. EOF, but not the EOT, I believe, or not responding correctly
  248. to the receiving end.  The SEAlink implemention also does
  249. not include SLO (SEAlink Overdrive) and is not very reliable
  250. at 9600 DCE rates.  However, it is MORE reliable than ZSX at
  251. 2400 and below, especially with a non-error correcting
  252. connection.  I have used it therefore for SEAlink.  I have
  253. also used it for Super_Z, a variant similar to DSZ's
  254. MobyTurbo, a faster zmodem than usual CRC32 is.
  255.  
  256.  G) ZSX - ONLY IN PROTOCOL.111
  257.  
  258. This no longer works with RA 2.00.  Since it logs both sends
  259. and recieves with the SAME letter, RA does not distinquish
  260. between the two when checking for bidirectional protocols!
  261. I have left this in for informational purposes, in case the
  262. author corrects this problem.
  263.  
  264. ZSX includes xmodem, xmodem-1k, ymodem, ymodem-g, zmodem,
  265. SEAlink, and SLO (SEAlink Overdrive).  It is not crippled in
  266. any way, and uses the fossil for all communications.  It
  267. uses the DSZLOG environmental variable.  All modes use the
  268. lowercase protocol letter to log success (that is, s for
  269. SEAlink and SLO, z for zmodem, g for ymodem-g, etc.).  The
  270. limitations I have found to date are that it will not accept
  271. the new v.32bis rates as the speed parameter (since it uses
  272. the locked fossil, there is really no reason this must be
  273. this way, and perhaps will be changed in the future) and it
  274. sometimes sends some characters to the remote after a
  275. tranfer is complete, so the user may find themselves not
  276. where they thought once in a while ;-)
  277.  
  278. For whatever reason, it does NOT seem to work well at lower
  279. speeds without error correction in SEAlink mode, at least
  280. not when locked at 38400 bps.  The SLO mode, on the other
  281. hand, works ok, except at 2400/ARQ on uploads.  Thus, I have
  282. used it for SLO, but disabled it in the samples.  It *may*
  283. work just fine on another system, though!
  284.  
  285. The other modes do not seem to share the SEAlink problems,
  286. although my testing has been somewhat limited.  Have fun!
  287.  
  288. Registration is a postcard to the author.  If you cannot
  289. register DSZ, this is a viable alternative as well!
  290.  
  291.  H) Hyperprotocol
  292.  
  293. An odd log file is created by Hyperprotocol, but it can be
  294. read by RA in most cases.  The actual outcome is in TWO
  295. "words", the first and last, so aborts may not always be
  296. recognized by RA.  The bigger problem is that it can only be
  297. used to upload to a specific directory, as RA replaces #
  298. with the upload directory WITH a trailing backslash, and
  299. this confuses Hyperp, which will lock up the machine at
  300. times.  IF you only use a single upload directory, this will
  301. work fine; otherwise, wait until Hilgraeve fixes it!  The
  302. latest I know about, 1.1f, has this problem.  You must have
  303. an option file like HYP.OPT for it to work, in the same dir
  304. as the hyper.exe:
  305.  
  306. DISPLAY:OFF
  307. HANDSHAKE:RTS/CTS
  308. LOGFILE:C:HYP.LOG
  309.  
  310.  I) TXZmodem
  311.  
  312. Straightforward setup, nice screen display, and works fine
  313. passing an upload directory.  The only thing you will need
  314. to do is hex edit the executable to change the TXZLOG to
  315. DSZLOG, as explained in the documentation for the protocol,
  316. or get a patched copy from someone else.  The author does
  317. NOT wish such patched copies posted for download as his
  318. original archive.  A nice way to get zmodem (other than the
  319. internal version) in RA.
  320.  
  321.  J) Visual Zmodem
  322.  
  323. A beta version of this protocol, lacking the promised Kermit
  324. functions, is available.  This is a nice graphic X/Y/Zmodem
  325. driver, very simple to install, which works fine.
  326.  
  327.  K) Kermit (Visual Z implementation)
  328.  
  329. Included in the PROTOCOL.200, this will not work with the
  330. present beta version.  The setup is here for future use.
  331.  
  332.  L) Hydra
  333.  
  334. This works perfectly in RA's external protocols setup, and
  335. the 1.03 version works fine in FileDoor as well. The .cfg
  336. file defaults are fine, except you may wish to specify the
  337. locked (DTE) rate, and RTS/CTS handshaking by default, to
  338. shorten the commandline to what will fit in PROTOCOL.RA.
  339. This is how the version is set up in this example.  Note
  340. well the use of ! rather than # in the DL command line.
  341. Also note that you might want to specify an alternate upload
  342. area in your FILES.RA for all areas for bidirectional
  343. protocols like this.  The h and H of the 1.03 Hydracom are
  344. used for the dl/ul keywords.  You will have to change those
  345. to H and R if you have v1.00, and that version will NOT work
  346. with FileDoor!  Specify the path to the log as C:HYDRA.LOG
  347. to ensure it writes to the current directory.
  348.  
  349.  M) HS/Link
  350.  
  351. The command line given works fine, with no need for a
  352. separate .cfg file generated by HSCONFIG.  The same notes
  353. apply to this regarding the ! on the DL command line and
  354. alternate upload areas as for Hydra, the other bidirectional
  355. protocol in this example.
  356.  
  357. 2) Random notes on a lot of other protocols:
  358.  
  359. Protocols that do not write a log will not work.  Perhaps
  360. this can be added to RA at some time, to use errorlevel 0
  361. for success and 1 for failure in lieu of a log file.  Some
  362. good ones are in this group, including Jmodem.  Translink
  363. and HyperDrive would appear also to work if I can find
  364. versions with bugs fixed (the former limits the path an
  365. filename to about 16 characters, the latter I cannot find a
  366. whole copy!).  These all work with 38400 locking as well.
  367.  
  368. BiModem is very complicated to add securely to a bbs
  369. package, so it has not been implemented.  Standalone
  370. programs exist to run it, and FileDoor and others also
  371. support it.
  372.  
  373. Tmodem, the X, Y, Z, and Zmax cousins of Tmodem, and Zyrion
  374. all are to avoided, in my opinion.  They will work at 38400
  375. locked, and do write log files.  However, (except Zyrion)
  376. they all ask for an odd -b parameter.  This seems to be the
  377. DCE rather than the DTE, which must be set in the
  378. environment with a set COMx= command.  With v.32bis CONNECT
  379. codes, this breaks down.  They seem to demand 9600 as the
  380. "baud" rate, which is neither the DTE of 38400 nor the DCE
  381. of 14400.  Appeals for explanation and help have netted
  382. nothing, and I am a registered Tmodem user.  In addition,
  383. Tmodem has several incompatible versions (under 2.0,
  384. 2.0-3.x, 5.0-6.3, 6.4, and now 7.0, NONE of which work with
  385. any others outside their own group), and now that is
  386. extended to the X, Y, Z, and Zmax versions as well.  In
  387. versions under 7.0, the log is written in the default
  388. directory only, which could present problems.  The basic
  389. support does not exist unless registered, and if you
  390. register, the support consists of telling you it works fine
  391. with Isis/Osiris (being as nice as I can be here!).
  392.  
  393. rC-Modem does not work at 38400, or any locked BPS, as far
  394. as I can tell.  NModem does not either, but I am not too
  395. sure if it works at all.  I have been unable to get it to
  396. work, in any case.
  397.  
  398. PC-Kermit barely works as 19200, dies at 38400, and does not
  399. write a log.  Megalink works at 19200, not at 38400, and
  400. also does not write a log.  Clink works fine at 38400, but
  401. does not write a log, and will not accept a path to receive
  402. a file, making it useless even if errorlevel support is
  403. added someday.  It does work with FileDoor, though, if you
  404. do not have philosophical objections to running it at all!
  405.  
  406. Punter does not work locked, not write a log.  Quicktran is
  407. the same, and is terribly slow with archived files anyway.
  408.  
  409. The old Friel Imodem is not even supported by Qmodem any
  410. more, so I suggest you do the same!  Odds are it does not
  411. work locked at 38400, and I know it does not write a log
  412. file.  It also is slower for error correcting transfers than
  413. other g protocols.
  414.  
  415. MSKermit is an OK terminal package, but a horror to use as
  416. an external protocol.  It likes to claim the comm ports as
  417. its own, a bad thing when running under a BBS!
  418.  
  419. I have not tried all the Opus specific protocols, but see
  420. little there to get excited about.  For the sake of
  421. completeness, I will do it someday.  I have tested oKermit
  422. 1.04, which would not work for me at all, though Peter
  423. Janssen runs it.
  424.  
  425. If you intend to run FileDoor as well as the RA externals,
  426. you will have a big problem if your upload directories are
  427. on the same drive as your bbs, and you use the setups here.
  428. The various protocols that are configured to write to C:
  429. will write to the current dir rather than the node
  430. directory.  Perhaps you can assign a dir to a drive, but it
  431. is likely more reliable to simply use a separate partition
  432. for uploads in FileDoor.  This applies to MPt, SKHST, Hydra,
  433. and SZModem, at least.
  434.  
  435. While not an exhaustive list of protocols, I think this
  436. reflects most of those available today.  I think the
  437. internal RA external protocol support could easily work with
  438. all reliable protocols with the addition, some day, of
  439. errorlevel support to the logfile support it has now.
  440.  
  441. I hope this is of use to someone!  Comments, additions, and
  442. all are welcome.  Hopefully this can be the beginning of an
  443. ongoing project to provide protocol installation information
  444. for RA.
  445.  
  446. The files herein contained are only guaranteed to occupy
  447. diskspace, and blah blah (usual disclaimer).
  448.  
  449. Bob R.
  450. 1:154/40@fidonet.org
  451. The Anonymous BBS
  452. Fussville, WI
  453. 414-251-2580
  454.  
  455.