home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / comm / pr_ra20g.zip / PROTO_RA.TXT < prev    next >
Text File  |  1993-02-28  |  18KB  |  404 lines

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