home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
wa202
/
whatarc.doc
< prev
next >
Wrap
Text File
|
1991-05-12
|
14KB
|
353 lines
066030202030000132006004004006000
1WhatArc v2.02page #0
2WhatArc v2.02page #0
F0110030001
R [.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆...]0110
9[..◆.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆....◆.]0110
Ç
========================================================================
========
==üWhatArcv2.02Ç==
==anARCmailutilitywrittenbyJonWebb,DeltaVisionSystems==
==withalittlehelpfromTheoRunia==
========
========================================================================
êTableofcontentsÇ
Notesfor1.0xusers........................................2
Notesfor2.00users........................................2
Introduction................................................2
Theconfigurationfile......................................3
Keywords....................................................4
LOG.......................................................4
SCREEN....................................................4
NO_ERROR..................................................4
FAILURE...................................................4
ARC_X,ZIP_X,LZH_X,ARJ_X...................................5
ARC_A,ZIP_A,LZH_A,ARJ_A...................................5
ARC_X_OK,ARC_A_OK,ZIP_X_OK,ZIP_A_OK,
LZH_X_OK,LZH_A_OK,ARJ_X_OK,ARJ_A_OK.......................6
DEFAULT...................................................6
SEND......................................................6
NODUPS....................................................7
DELPKT....................................................7
UsewithEXPORT.TTP/IMPORT.TTP..............................8
Anoteonarchivers.........................................8
Copying,discailmer,bugsetc...............................9
9[...◆.◆.◆.◆..◆.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆...]0110
9 [.◆.◆.◆..◆.◆....◆....◆....◆....◆....◆....◆....◆....◆....◆...]0110
üëNotesfor1.0xusers
Ç
Version2.0xofWhatArchasquiteafewchanges.Yourold
configurationfilewillneedchanging.Thisversionof
WhatArcshouldworkfineonaTT.
üëNotesfor2.00users
Ç
SeeäWHATSNEW.202Çforalistofchanges.
üëIntroduction
Ç
WhatArcwascreatedtoenabletheuseofARCmail,ZIPmail
LZHmailandARJmailsimultaneouslyonaThe-Boxor
Binkley/STsystem.TheutilitieswhichusuallycalläARC.TTPÇ
tocreateARCmail,shouldcalläWHATARC.TTPÇwiththesame
parameters.Here'swhatWhatArcdoes...
»äIMPORTINGÇanarchivedmailpacket:
1-Readconfiguration
2-Findarchivedmailpacket
3-Examinearchiveheader
4-Callarchiverprogram
5-Convert&checkerrorlevel
»äEXPORTINGÇanarchivedmailpacket:
1-Readconfiguration
2-Findun-archivedmailpacket
3-Examinepacketheader
4-Matchnodenumberwithconfigurationfile
5-Callarchiverprogram
6-Convert&checkerrorlevel
Importiseasy,itjustlooksatthefirstfewbytesofthe
incomingarchive,andcallsoneoffourde-archiving
programs.Exportisalittlemorecomplex.Theconfiguration
filecontainssomenodenumbersandtheirpackingmethods.
Dependingonthenodenumberinthepacketheader,andthe
nodenumbersintheconfigurationfile,eitherARC,ZIP,
LHarcorARJiscalled.
üëTheconfigurationfile
Ç
WhatArcgetsitsconfigurationfromafilecalled
äWHATARC.CTLÇ,whichmustbelocatedineitherthehome
(current)directory,orthedirectorytowhichthe
environmentvariablesäMAILERÇoräBINKLEYÇpoint.Anexample
configurationfileisincludedinthearchive.
DuetoabuginImporttheenvironmentvariablesaren't
passedtoWhatArc.InthatcaseWhatArcwillattempttouse
theenvironmentwhichwaspassedtoImport.
äWHATARC.CTLÇisaplainasciifilewhichcontainsafew
linesoftext.Theselinescancontainkeywords.Comments
shouldbeprecededbyasemi-column(;).Validkeywordsare
listedinthenextsection.
üëKeywords
Ç
TheäWHATARC.CTLÇcontrolfilecancontainthefollowing
keywords:
üLOGÇ<filespec>
Thisshouldbethefirstkeywordinthefile.Itdefines
whatlogfileyouwantWhatArctouse.Ifomitted,afile
calledäWHATARC.LOGÇinthecurrentdirectorywillbeused.
LoggingwillnotworkifyouspecifytheThe-Boxlogfile,
becauseImportandExportkeepthelogfileopenwhen
runningthearchiver.Example:
LOGd:\tb\whatarc.log
üSCREENÇ<kb>
Whenthiskeywordisfound,thescreenwillbesavedon
startupandrestoredonexit.The<kb>parameterdefines
howmanyKbarerequiredforthearchivers.Ifthereisnot
enoughRAM,thescreenjustisn'tsaved.Example:
SCREEN128
üNO_ERRORÇ<level>
ThisistheerrorlevelreturnedbyWhatArcwhenallgoes
well.Ifthiskeywordisomitteditiszero.Example:
NO_ERROR5
üFAILUREÇ<level>
IfWhatArcencountersanerroritwillreturnthis
errorlevel.Thedefaultisone.Example:
FAILURE0
ÇüARC_XÇ<program><mask>
üZIP_XÇ<program><mask>
üLZH_XÇ<program><mask>
üARJ_XÇ<program><mask>
ThesekeywordsdefinethelocationoftheARC,ZIP,LZHand
ARJextractorprograms.The<program>parametershouldbe
thepathandnameoftheextractor.The<mask>parameter
definesthecommandlinewhichwillbepassedtothe
extractor.Itcancontainthefollowingplaceholders:
»%1isreplacedbythepathofthearchivedfile,
»%2isreplacedbythenameofthearchivedfile,
»%3isreplacedbythepathofthepacket,
»%4isreplacedbythenameofthepacket.
ThepathsêdoÇênotÇcontainatrailingbackslash.Examples:
ARC_Xd:\tb\arc\arc.ttpxo%1\%2%3\%4
ZIP_Xd:\tb\arc\unzip.ttpx%1\%2%3\
üARC_AÇ<program><mask>
üZIP_AÇ<program><mask>
üLZH_AÇ<program><mask>
üARJ_AÇ<program><mask>
ThesekeywordsdefinetheARC,ZIP,LZHandARJcreator
programs.The<program>and<mask>parameterareas
describedabove.
êImportantÇ:WhenusingExportyoushoulduseacommandline
toêmoveÇthefilesintothearchive,notjustaddthem.
Examples:
ARC_Ad:\tb\arc\arc.ttpm%1\%2%3\%4
LZH_Ad:\tb\arc\lharc.ttpmu%1\%2%3\%4
ÇüARC_X_OKÇ<level>üARC_A_OKÇ<level>
üZIP_X_OKÇ<level>üZIP_A_OKÇ<level>
üLZH_X_OKÇ<level>üLZH_A_OKÇ<level>
üARJ_X_OKÇ<level>üARJ_A_OKÇ<level>
Theerrorlevelsreturnedbythearchivecreatorsand
extractorsaredefinedhere.Ifthearchiverreturnsthe
errorleveldefinedbytheappropriatekeyword,WhatArc
assumesthearchiveoperationwassuccessful,andwill
returntheerrorleveldefinedbyäNO_ERRORÇitself.If,
however,theerrorlevelreturnedbythearchiverdoesnot
matchtheonedefinedhere,WhatArcreturnstheäFAILUREÇ
errorlevel.
Thesekeywordscanbeusedforarchiverswhichreturna
non-zeroerrorlevelevenifallgoeswell.
Theseerrorlevelsalldefaulttozero.
Examples:ZIP_X_OK5
ARJ_A_OK3
üDEFAULTÇ<type>
Withthiskeywordyouchoosewhattypeofarchivedmailis
senttonodeswhicharen'tdefinedintheconfiguration
file.Typecanbe:
»ARCmail
»LZHmail
»ZIPmail
»ARJmail
Example:
DEFAULTARCmail
üSENDÇ<node><type>
isusedtodefinewhattypeofarchivedmailshouldgotoa
certainnode.Thenodenumbershouldeitherinformat
Zone:Net/NodeorjustNet/Node.The<type>parameterisas
describedabove.Example:IwanttosendZIPmailto
2:282/350,butLZHmailto2:282/301.Alltheothernodes
shouldgetARCmail.Theconfigurationfilewouldcontain:
DEFAULTARCmail
SEND2:282/301LZHmail
SEND2:282/350ZIPmail
SEND2:281/800ARJmail
Pointsshouldusetherealaddressoftheirboss.Ifyou
areabossyourself,usethefakeaddressofyourpoints.
ÇPleasenotethatyoushouldêneverÇsendarchivedmailtoa
systemwithoutêfirstÇaskingthesysopofthatsystem
whetherheiscapableofacceptingarchivedmailand-if
so-whatsortofarchivershouldbeused.
üNODUPSÇ<yesorno>
Considerthis:youreceiveanARCmailfile.During
extractionofthearchivethearchivercomesacrossan
errorandexits.Thepacketswhichwereextractedbefore
theerroroccuredarestillondisk.
Thenexttimethemailprocessorisrunitfindsanarchive
plussomepackets.Thepacketsareimported,andthemail
processorattemptstoextractthearchiveagain...
WhentheäNODUPSÇfeatureisswitchedon,WhatArcwillfirst
deleteanyfileswhichwerenotpresentbeforethearchiver
wascalled.Thenitwillchangetheextensionofthe
archivetoä.BD0Ç,ä.BD1Ç,ä.BD2Çetc.
Examples:
NODUPSyes
NODUPSno
Thedefaultis'yes'.
üDELPKTÇ<yesorno>
Ifyourarchiverdoesn'tsupporta'move'operation,
WhatArcwilldeletethepacketsaftertheyhavebeen
archivedsuccessfully.
Examples:
DELPKTyes
DELPKTno
üëUsewithEXPORT.TTP/IMPORT.TTPü
Ç
TheeasiestwaytogetExportandImporttouseWhatArc
insteadofARCistoputARCinadifferentdirectoryand
renameäWHATARC.TTPÇtoäARC.TTPÇ.However,ExportandImport
canbetoldtouseadifferentarchiverinthecommand
line...
Exportnormal:EXPORT-a\TB\WHATARC.TTPm
Exportcrash:EXPORT-fa<node>-a\TB\WHATARC.TTPm
Exportpoints:EXPORT-ma<boss>-a\TB\WHATARC.TTPm
Import:IMPORT-a\TB\WHATARC.TTPx
Havealookattheimport/exportdocsformoreinformation.
Youcouldwriteasimplebatchfiletohandlethe
parameters.YouMUSTputthe-aoptionLASTonthecommand
line,becausealloptionsafterthe-aareconsideredpart
ofthatcommandlineforthearchiver.Don'tforgetthe
parameterscanonlybe'A'forAdd,'M'forMoveor'X'for
Extract.
ëAnoteonarchiversÇ
Therearemanydifferentversionsofarchiversgoingaround.
Youshouldpickonewhichdoesn'trequireuserinput,
checksCRC'sandreturnscorrecterrorlevels.Imyselfuse
TCARCv1.10andLHarc-STv0.60.YoumaywanttotryARC6.02
orLHarcv1.13.
IhavenotyetseenaZIPcreatorfortheST.Ionlybuilt
theZIPcreationoptioninjustincaseonebecomes
available.ManyUnZippersdon'tcheckCRC,orrequireinput
fromtheuser.TestyourUnZipperonalargearchive,andon
archiveswitherrors,beforeyouinstallitforunattended
use.
ThesamegoesforARJ.IportedanARJextractorjustbefore
creatingthisversionofWhatArc.Whetheritworkswell
remainstobeseen.Itcanberequestedfrom2:282/301.0as
äUNARJ_ST.LZHÇ,ifyouareinterested.Atthetimeofwriting
thereisnoARJcreator.
ÇëCopying,disclaimer,bugsetc.Ç
WhatArcmaybefreelycopiedandmadeavailablefor
download,aslongasyousticktothefollowingrules:
»Thecompletearchive,includingDOCSarecopied,
»Neithertheprogramnorthedocsarechangedinany
way.Thedocumentationmaybetranslated,
»Nofeeotherthannominalcopyingchargesoron-line
timeischarged.
Icannotbeheldresponsibleforanydamagesthatmight
occurduetotheuseofWhatArc.Ifyouturnyour360Mb
harddiskintoaC15cassettetape,it'syourownstupid
fault.
Forbugreports,suggestions,questionsandcomments,Ican
bereachedat...
»QuickBBSSTLeeuwarden,
FidoNet2:282/301.0,
PhoneHolland(0)58-153849,
300-9600bps,HST/V32/MNP5/V42,24hoursperday,
»FidoNetnetmailon2:282/301.2,
»IntheFIDO_ST,THE-BOX,BINKLEY.ST,QUICKBBS.STand
ST_FIDO.GERechoareas,
»DeltaVisionSystems,
Valeriaanstraat197,
3765ENSoest,
TheNetherlands.
ElectronicGreetings!-Jon-