home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / wa202 / whatarc.doc < prev    next >
Text File  |  1991-05-12  |  14KB  |  353 lines

  1. 066030202030000132006004004006000
  2. 1WhatArc v2.02page #0
  3. 2WhatArc v2.02page #0
  4. F0110030001
  5. R   [.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆...]0110
  6. 9[..◆.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆.]0110
  7. Ç
  8.  
  9. ========================================================================
  10. ========
  11. ==üWhatArcv2.02Ç==
  12. ==anARCmailutilitywrittenbyJonWebb,DeltaVisionSystems==
  13. ==withalittlehelpfromTheoRunia==
  14. ========
  15. ========================================================================
  16.  
  17.  
  18. êTableofcontentsÇ
  19.  
  20. Notesfor1.0xusers........................................2
  21. Notesfor2.00users........................................2
  22. Introduction................................................2
  23. Theconfigurationfile......................................3
  24. Keywords....................................................4
  25.  
  26. LOG.......................................................4
  27. SCREEN....................................................4
  28. NO_ERROR..................................................4
  29. FAILURE...................................................4
  30. ARC_X,ZIP_X,LZH_X,ARJ_X...................................5
  31. ARC_A,ZIP_A,LZH_A,ARJ_A...................................5
  32. ARC_X_OK,ARC_A_OK,ZIP_X_OK,ZIP_A_OK,
  33. LZH_X_OK,LZH_A_OK,ARJ_X_OK,ARJ_A_OK.......................6
  34. DEFAULT...................................................6
  35. SEND......................................................6
  36. NODUPS....................................................7
  37. DELPKT....................................................7
  38.  
  39. UsewithEXPORT.TTP/IMPORT.TTP..............................8
  40. Anoteonarchivers.........................................8
  41. Copying,discailmer,bugsetc...............................9
  42. 9[...◆.◆.◆.◆..◆.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆...]0110
  43.  
  44. 9    [.◆.◆.◆..◆.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆...]0110
  45. üëNotesfor1.0xusers
  46. Ç
  47. Version2.0xofWhatArchasquiteafewchanges.Yourold
  48. configurationfilewillneedchanging.Thisversionof
  49. WhatArcshouldworkfineonaTT.
  50.  
  51. üëNotesfor2.00users
  52. Ç
  53. SeeäWHATSNEW.202Çforalistofchanges.
  54.  
  55. üëIntroduction
  56. Ç
  57. WhatArcwascreatedtoenabletheuseofARCmail,ZIPmail
  58. LZHmailandARJmailsimultaneouslyonaThe-Boxor
  59. Binkley/STsystem.TheutilitieswhichusuallycalläARC.TTPÇ
  60. tocreateARCmail,shouldcalläWHATARC.TTPÇwiththesame
  61. parameters.Here'swhatWhatArcdoes...
  62.  
  63. »äIMPORTINGÇanarchivedmailpacket:
  64.  
  65. 1-Readconfiguration
  66. 2-Findarchivedmailpacket
  67. 3-Examinearchiveheader
  68. 4-Callarchiverprogram
  69. 5-Convert&checkerrorlevel
  70.  
  71. »äEXPORTINGÇanarchivedmailpacket:
  72.  
  73. 1-Readconfiguration
  74. 2-Findun-archivedmailpacket
  75. 3-Examinepacketheader
  76. 4-Matchnodenumberwithconfigurationfile
  77. 5-Callarchiverprogram
  78. 6-Convert&checkerrorlevel
  79.  
  80. Importiseasy,itjustlooksatthefirstfewbytesofthe
  81. incomingarchive,andcallsoneoffourde-archiving
  82. programs.Exportisalittlemorecomplex.Theconfiguration
  83. filecontainssomenodenumbersandtheirpackingmethods.
  84. Dependingonthenodenumberinthepacketheader,andthe
  85. nodenumbersintheconfigurationfile,eitherARC,ZIP,
  86. LHarcorARJiscalled.
  87.  
  88. üëTheconfigurationfile
  89. Ç
  90. WhatArcgetsitsconfigurationfromafilecalled
  91. äWHATARC.CTLÇ,whichmustbelocatedineitherthehome
  92. (current)directory,orthedirectorytowhichthe
  93. environmentvariablesäMAILERÇoräBINKLEYÇpoint.Anexample
  94. configurationfileisincludedinthearchive.
  95.  
  96. DuetoabuginImporttheenvironmentvariablesaren't
  97. passedtoWhatArc.InthatcaseWhatArcwillattempttouse
  98. theenvironmentwhichwaspassedtoImport.
  99.  
  100. äWHATARC.CTLÇisaplainasciifilewhichcontainsafew
  101. linesoftext.Theselinescancontainkeywords.Comments
  102. shouldbeprecededbyasemi-column(;).Validkeywordsare
  103. listedinthenextsection.
  104.  
  105. üëKeywords
  106. Ç
  107. TheäWHATARC.CTLÇcontrolfilecancontainthefollowing
  108. keywords:
  109.  
  110. üLOGÇ<filespec>
  111.  
  112. Thisshouldbethefirstkeywordinthefile.Itdefines
  113. whatlogfileyouwantWhatArctouse.Ifomitted,afile
  114. calledäWHATARC.LOGÇinthecurrentdirectorywillbeused.
  115. LoggingwillnotworkifyouspecifytheThe-Boxlogfile,
  116. becauseImportandExportkeepthelogfileopenwhen
  117. runningthearchiver.Example:
  118.  
  119. LOGd:\tb\whatarc.log
  120.  
  121. üSCREENÇ<kb>
  122.  
  123. Whenthiskeywordisfound,thescreenwillbesavedon
  124. startupandrestoredonexit.The<kb>parameterdefines
  125. howmanyKbarerequiredforthearchivers.Ifthereisnot
  126. enoughRAM,thescreenjustisn'tsaved.Example:
  127.  
  128. SCREEN128
  129.  
  130. üNO_ERRORÇ<level>
  131.  
  132. ThisistheerrorlevelreturnedbyWhatArcwhenallgoes
  133. well.Ifthiskeywordisomitteditiszero.Example:
  134.  
  135. NO_ERROR5
  136.  
  137. üFAILUREÇ<level>
  138.  
  139. IfWhatArcencountersanerroritwillreturnthis
  140. errorlevel.Thedefaultisone.Example:
  141.  
  142. FAILURE0
  143.  
  144. ÇüARC_XÇ<program><mask>
  145. üZIP_XÇ<program><mask>
  146. üLZH_XÇ<program><mask>
  147. üARJ_XÇ<program><mask>
  148.  
  149. ThesekeywordsdefinethelocationoftheARC,ZIP,LZHand
  150. ARJextractorprograms.The<program>parametershouldbe
  151. thepathandnameoftheextractor.The<mask>parameter
  152. definesthecommandlinewhichwillbepassedtothe
  153. extractor.Itcancontainthefollowingplaceholders:
  154.  
  155. »%1isreplacedbythepathofthearchivedfile,
  156. »%2isreplacedbythenameofthearchivedfile,
  157. »%3isreplacedbythepathofthepacket,
  158. »%4isreplacedbythenameofthepacket.
  159.  
  160. ThepathsêdoÇênotÇcontainatrailingbackslash.Examples:
  161.  
  162. ARC_Xd:\tb\arc\arc.ttpxo%1\%2%3\%4
  163. ZIP_Xd:\tb\arc\unzip.ttpx%1\%2%3\
  164.  
  165. üARC_AÇ<program><mask>
  166. üZIP_AÇ<program><mask>
  167. üLZH_AÇ<program><mask>
  168. üARJ_AÇ<program><mask>
  169.  
  170. ThesekeywordsdefinetheARC,ZIP,LZHandARJcreator
  171. programs.The<program>and<mask>parameterareas
  172. describedabove.
  173.  
  174. êImportantÇ:WhenusingExportyoushoulduseacommandline
  175. toêmoveÇthefilesintothearchive,notjustaddthem.
  176.  
  177. Examples:
  178.  
  179. ARC_Ad:\tb\arc\arc.ttpm%1\%2%3\%4
  180. LZH_Ad:\tb\arc\lharc.ttpmu%1\%2%3\%4
  181.  
  182. ÇüARC_X_OKÇ<level>üARC_A_OKÇ<level>
  183. üZIP_X_OKÇ<level>üZIP_A_OKÇ<level>
  184. üLZH_X_OKÇ<level>üLZH_A_OKÇ<level>
  185. üARJ_X_OKÇ<level>üARJ_A_OKÇ<level>
  186.  
  187. Theerrorlevelsreturnedbythearchivecreatorsand
  188. extractorsaredefinedhere.Ifthearchiverreturnsthe
  189. errorleveldefinedbytheappropriatekeyword,WhatArc
  190. assumesthearchiveoperationwassuccessful,andwill
  191. returntheerrorleveldefinedbyäNO_ERRORÇitself.If,
  192. however,theerrorlevelreturnedbythearchiverdoesnot
  193. matchtheonedefinedhere,WhatArcreturnstheäFAILUREÇ
  194. errorlevel.
  195.  
  196. Thesekeywordscanbeusedforarchiverswhichreturna
  197. non-zeroerrorlevelevenifallgoeswell.
  198.  
  199. Theseerrorlevelsalldefaulttozero.
  200.  
  201. Examples:ZIP_X_OK5
  202. ARJ_A_OK3
  203.  
  204. üDEFAULTÇ<type>
  205.  
  206. Withthiskeywordyouchoosewhattypeofarchivedmailis
  207. senttonodeswhicharen'tdefinedintheconfiguration
  208. file.Typecanbe:
  209.  
  210. »ARCmail
  211. »LZHmail
  212. »ZIPmail
  213. »ARJmail
  214.  
  215. Example:
  216.  
  217. DEFAULTARCmail
  218.  
  219. üSENDÇ<node><type>
  220.  
  221. isusedtodefinewhattypeofarchivedmailshouldgotoa
  222. certainnode.Thenodenumbershouldeitherinformat
  223. Zone:Net/NodeorjustNet/Node.The<type>parameterisas
  224. describedabove.Example:IwanttosendZIPmailto
  225. 2:282/350,butLZHmailto2:282/301.Alltheothernodes
  226. shouldgetARCmail.Theconfigurationfilewouldcontain:
  227.  
  228. DEFAULTARCmail
  229. SEND2:282/301LZHmail
  230. SEND2:282/350ZIPmail
  231. SEND2:281/800ARJmail
  232.  
  233. Pointsshouldusetherealaddressoftheirboss.Ifyou
  234. areabossyourself,usethefakeaddressofyourpoints.
  235.  
  236. ÇPleasenotethatyoushouldêneverÇsendarchivedmailtoa
  237. systemwithoutêfirstÇaskingthesysopofthatsystem
  238. whetherheiscapableofacceptingarchivedmailand-if
  239. so-whatsortofarchivershouldbeused.
  240.  
  241. üNODUPSÇ<yesorno>
  242.  
  243. Considerthis:youreceiveanARCmailfile.During
  244. extractionofthearchivethearchivercomesacrossan
  245. errorandexits.Thepacketswhichwereextractedbefore
  246. theerroroccuredarestillondisk.
  247.  
  248. Thenexttimethemailprocessorisrunitfindsanarchive
  249. plussomepackets.Thepacketsareimported,andthemail
  250. processorattemptstoextractthearchiveagain...
  251.  
  252. WhentheäNODUPSÇfeatureisswitchedon,WhatArcwillfirst
  253. deleteanyfileswhichwerenotpresentbeforethearchiver
  254. wascalled.Thenitwillchangetheextensionofthe
  255. archivetoä.BD0Ç,ä.BD1Ç,ä.BD2Çetc.
  256.  
  257. Examples:
  258.  
  259. NODUPSyes
  260. NODUPSno
  261.  
  262. Thedefaultis'yes'.
  263.  
  264. üDELPKTÇ<yesorno>
  265.  
  266. Ifyourarchiverdoesn'tsupporta'move'operation,
  267. WhatArcwilldeletethepacketsaftertheyhavebeen
  268. archivedsuccessfully.
  269.  
  270. Examples:
  271.  
  272. DELPKTyes
  273. DELPKTno
  274.  
  275. üëUsewithEXPORT.TTP/IMPORT.TTPü
  276. Ç
  277. TheeasiestwaytogetExportandImporttouseWhatArc
  278. insteadofARCistoputARCinadifferentdirectoryand
  279. renameäWHATARC.TTPÇtoäARC.TTPÇ.However,ExportandImport
  280. canbetoldtouseadifferentarchiverinthecommand
  281. line...
  282.  
  283. Exportnormal:EXPORT-a\TB\WHATARC.TTPm
  284. Exportcrash:EXPORT-fa<node>-a\TB\WHATARC.TTPm
  285. Exportpoints:EXPORT-ma<boss>-a\TB\WHATARC.TTPm
  286. Import:IMPORT-a\TB\WHATARC.TTPx
  287.  
  288. Havealookattheimport/exportdocsformoreinformation.
  289. Youcouldwriteasimplebatchfiletohandlethe
  290. parameters.YouMUSTputthe-aoptionLASTonthecommand
  291. line,becausealloptionsafterthe-aareconsideredpart
  292. ofthatcommandlineforthearchiver.Don'tforgetthe
  293. parameterscanonlybe'A'forAdd,'M'forMoveor'X'for
  294. Extract.
  295.  
  296. ëAnoteonarchiversÇ
  297.  
  298. Therearemanydifferentversionsofarchiversgoingaround.
  299. Youshouldpickonewhichdoesn'trequireuserinput,
  300. checksCRC'sandreturnscorrecterrorlevels.Imyselfuse
  301. TCARCv1.10andLHarc-STv0.60.YoumaywanttotryARC6.02
  302. orLHarcv1.13.
  303.  
  304. IhavenotyetseenaZIPcreatorfortheST.Ionlybuilt
  305. theZIPcreationoptioninjustincaseonebecomes
  306. available.ManyUnZippersdon'tcheckCRC,orrequireinput
  307. fromtheuser.TestyourUnZipperonalargearchive,andon
  308. archiveswitherrors,beforeyouinstallitforunattended
  309. use.
  310.  
  311. ThesamegoesforARJ.IportedanARJextractorjustbefore
  312. creatingthisversionofWhatArc.Whetheritworkswell
  313. remainstobeseen.Itcanberequestedfrom2:282/301.0as
  314. äUNARJ_ST.LZHÇ,ifyouareinterested.Atthetimeofwriting
  315. thereisnoARJcreator.
  316.  
  317. ÇëCopying,disclaimer,bugsetc.Ç
  318.  
  319. WhatArcmaybefreelycopiedandmadeavailablefor
  320. download,aslongasyousticktothefollowingrules:
  321.  
  322. »Thecompletearchive,includingDOCSarecopied,
  323. »Neithertheprogramnorthedocsarechangedinany
  324. way.Thedocumentationmaybetranslated,
  325. »Nofeeotherthannominalcopyingchargesoron-line
  326. timeischarged.
  327.  
  328. Icannotbeheldresponsibleforanydamagesthatmight
  329. occurduetotheuseofWhatArc.Ifyouturnyour360Mb
  330. harddiskintoaC15cassettetape,it'syourownstupid
  331. fault.
  332.  
  333. Forbugreports,suggestions,questionsandcomments,Ican
  334. bereachedat...
  335.  
  336. »QuickBBSSTLeeuwarden,
  337. FidoNet2:282/301.0,
  338. PhoneHolland(0)58-153849,
  339. 300-9600bps,HST/V32/MNP5/V42,24hoursperday,
  340.  
  341. »FidoNetnetmailon2:282/301.2,
  342.  
  343. »IntheFIDO_ST,THE-BOX,BINKLEY.ST,QUICKBBS.STand
  344. ST_FIDO.GERechoareas,
  345.  
  346. »DeltaVisionSystems,
  347. Valeriaanstraat197,
  348. 3765ENSoest,
  349. TheNetherlands.
  350.  
  351. ElectronicGreetings!-Jon-
  352.  
  353.