📄 arc521.doc
字号:
archive, since the files are not analyzed orcompressed, but merely stored straight. The intent isto allow users to build an archive "in pieces", andthen compress all of the entries at once with theConvert command. The conversion is much faster if youtake advantage of RAMdisk support.A minor bug was detected in our handling of date/timestamps which occasionally resulted in stamping anarchive with the wrong date and time. This has beencorrected.ARC Page 27CHANGES IN VERSION 5.0The Move command used to delete the files as it went.It now waits until it is finished updating thearchive, and deletes them all at once. (You *did* knowthat Move is just an Add where the file gets deleted,didn't you?) This, along with the changes made inversion 4.5, means that it is now much safer tointerrupt ARC while it is working.The Print command no longer prints the name of eachfile. Instead, it prints a formfeed after each file.The Run command now supports BASICA programs. Also,the filename extension is no longer required on theRun command.The Garble option was added. It provides a convenientmeans of low level data security for the casual user.Use it sparingly, if at all.ARC no longer tests for the presence of $ARCTEMP.CRNbefore creating a new one. If you interrupt ARC alot, you'll find this much more convenient. If youhappen to have a file named $ARCTEMP.CRN which youwant to keep, too bad.Improved error recovery was added when reading anarchive. ARC now has a good chance of recovering thedata from a corrupted archive (the corrupted entry isstill lost, of course).Path support has been added for all commands, thoughit doesn't do anything on most of them. For example,there isn't much we can do with a path in the Listcommand. But many users will be glad to know that apath can be used when extracting a file, and specifieswhere the file is to be placed.Support for the TEMP environment string was added. IfARC doesn't find an environment string named ARCTEMP,then it looks for one named TEMP to use instead.Several packages already use the TEMP string forexactly this purpose. With any luck, maybe we can geta standard going.ARC Page 28ARC is now using a different variation of Lempel-Zevcoding, courtesy of Kent Williams, who found it onUSENET and adapted it to the IBM PC. The new methoddiffers from the old in several respects. The mostsignificant differences are:1) Where our previous implementation used a fixed code size of twelve bits, the new one starts with a code size of nine bits and increases it as it needs to.2) The earlier method tended to "choke" on large files when its string table filled up. The new method has a rather ingenious scheme its authors call "adaptive reset." When it notices that its string table has filled, and its compression ratio is starting to suffer, it clears the table and starts defining new strings.Our benchmarks show an improvement in compression onthe order of 10% when crunching is used.Additionally, ARC 5.0 is on the order of 23% faster atadding a file when crunching is used, or 13% fasterwhen squeezing is used. Extracting a file crunchedwith the new method is 27% faster than it is with theold method. Extraction of any other type of file(including those crunched with the older method) is nofaster than before. These figures are based on ourown benchmark tests; your results may vary.The previous implementation of Lempel-Zev coding is nolonger used to pack files. The "V" (Verbose listing)command distinguishes between the two by referring tothe older method as "crunched" (with a lower-case"c"), and the newer method as "Crunched" (with acapital "C").ARC 5.0 can still read archives created by earlierversions of ARC, but once again it creates archiveswhich older versions cannot read.CHANGES IN VERSION 5.1Rick Moore discovered that ARC was occasionally addingan archive to itself. This would only happen when thearchive is in the same directory as the files beingadded, and its name comes last. This bug has beenfixed, though it is still possible to fool ARC intoadding an archive to itself by getting tricky withpath names.ARC Page 29Dana Montgomery found the upper limit on how manyfiles can be added to an archive. There's always beenan upper limit, but it depends on memory, and used tobe larger than anyone could possibly want (knock onwood). However, the added memory requirements inversion 5.0 lowered this limit into the realm ofpossibility, somewhere around 300 files. We changesome things around, and effectively, there is nolonger a limit on how many files you can add at once.ARC will add the files in batches of as many as it canhandle at one time.We've also introduced a new packaging method for ARCand its documentation, since we are in the uniqueposition of being unable to use ARC for this purpose.We've created a program called ARC51.COM which, whenexecuted, attempts to create the ARC program andmanual. You must be in the same directory asARC51.COM when you run it.CHANGES IN VERSION 5.2We've made some changes to Lempel-Zev coding tofurther improve its compression ability on "poor fit"files (mainly .EXE and .COM files). The result isthat crunching now works better than squeezing onalmost all files, and comes close on most of the rest(within 5%, by our benchmarks). Accordingly, we havedropped Huffman encoding in this version. Ourbenchmarks show a speed improvement of around 14% whenadding a file to an archive.A low-level file copy routine was implemented to speedup bulk data moves. Deleting or adding a file to alarge existing archive is now much faster.The Run command has been modified to allow passingcommand line arguments to the program being run.The temporary file introduced in version 4.3 has beeneliminated. Crunched output generated in the analysisphase is now placed directly in the output archive,and is rewritten if crunching turns out not to be thebest choice. This can, in rare circumstances, causean archive to be slightly larger than it should be,but it also makes ARC considerably faster at addingfiles to an archive.ARC Page 30 PROGRAM HISTORY AND CREDITSIn its short life thus far, ARC has astounded us withits popularity. We first wrote it in March of 1985because we wanted an archive utility that used adistributive directory approach, since this hascertain advantages over the then popular centraldirectory approach. We added automatic squeezing inversion 2 at the prompting of a friend. In version2.1 we added the code to test for the best compressionmethod. In less than a year we found that our humblelittle program had spread across the country, andseems to have become a new institution.We are thankful for the support and appreciation wehave received. We hope that you find this program ofuse.If we have achieved greatness, it is because we havestood upon the shoulders of giants. Nothing iscreated as a thing unto itself, and ARC is noexception. Therefore, we would like to give credit tothe following people, without whose efforts ARC couldnot exist:Brian W. Kernighan and P. J. Plauger, whose book"Software Tools" provided many of the ideas behind thedistributive directory approach used by ARC.Dick Greenlaw, who wrote the public domain SQ and USQprograms, in which the Huffman squeezing algorithm wasfirst developed.Robert J. Beilstein, who adapted SQ and USQ toComputer Innovations C86 (the language we use), thusproviding us with important parts of our squeezinglogic.Kent Williams, who graciously allowed us to use hisLZWCOM and LZWUNC programs as a basis for our Lempel-Zev compression logic, and who continues to makevaluable contributions.David Schwaderer, whose article in the April 1985issue of PC Tech Journal provided us with the logicfor calculating the CRC 16 bit polynomial.ARC Page 31Terry A. Welch, whose article "A Technique for HighPerformance Data Compression", IEEE Computer Vol 17 No6 (June 1984) seems to have started all the researchon Lempel-Zev coding.Spencer W. Thomas, Jim McKie, Steve Davies, KenTurkowski, James A. Woods, and Joe Orost, who are theauthors of the UNIX compress utility.Alex Jacobs, who in June of 1985 sent us the veryfirst shareware contribution we ever received.And many, many others whom we could not identify.ARC Page 32 BULLETIN BOARDSARC is distributed mainly through shareware channels.Among other things, this means that ARC is availablefrom many bulletin board systems. In fact, the systemoperators (sysops) of many bulletin boards have takento storing almost all of their downloadable files inarchives to save themselves disk space and to savetheir users time.This also makes things more convenient for thebulletin board users, since one archive may containseveral programs, any related data files, and thedocumentation. Many shareware authors have taken todistributing their software in archives to help ensurethat the users receive everything.Obviously, we can't do that with ARC. As a result,many of our users have ARC, but don't have the manual.Most of our customer support calls come from peoplewho have never seen the manual, and in many casesdidn't even know that one exists!To solve this problem we developed what is in essencea self-unpacking archive. We distribute this as"ARCxxx.COM", where "xxx" is the current versionnumber. For example, ARC version 5.20 would bedistributed as "ARC520.COM". This program, when run,unpacks itself into a copy of ARC plus itsdocumentation.Now that we've gone to all that work, we'd reallyappreciate it if you would use this program when youdistribute ARC.ARC Page 33 SITE LICENSESCorporate users may wish to obtain a site license forthe use of ARC. Please use the order form in thismanual to order a site license. Site licenses aregranted as of when we receive your payment. Licensefees vary depending on the number of computers onwhich ARC will be used, as follows: 1 to 9 machines $35 each 10 to 24 machines $25 each 25 to 49 machines $20 each 50 to 99 machines $15 each over 99 machines $1500 one time feeEnclosed is a site license agreement, which should besigned and sent with your payment when ordering acommercial site license.A commercial site license does not include additionalcopies of the ARC program disk and the ARC manual.Instead, you make your own copies of the disk andmanual as you need them. If you wish, you can orderadditional program disks and manuals from us.Additional program disks cost $10 each. Additionalmanuals cost $20 each. If you wish, you can orderprogram sets for $40 each. A "program set" is aprogram disk and manual enclosed in a vinyl binder.There is a $50 minimum on all orders.ARC Page 34 SITE LICENSE APPLICATIONThe use of ARC in a commercial environment or government organizationis granted under the following terms:1. Payment of the license fee must be made to System Enhancement Associates, Inc. The fee is based on the number of computers which will be used to run ARC, as follows: 1 to 9 machines $35 each 10 to 24 machines $25 each 25 to 49 machines $20 each 50 to 99 machines $15 each over 99 machines $1500 one time fee2. You may use ARC on the number of computers included in the license fee. If you have paid the fee for over 99 machines, then you may use ARC on any number of computers within your organization.3. You may make copies of the program and documentation, in their original, unmodified form, without restriction. You may distribute these copies without restriction.4. If these copies are distributed outside of your organization, you have no obligation to control the use of those copies which are outside of your organization.5. You may make copies of the program documentation, in both its printed form and machine readable form, without restriction.6. You may use all future versions of ARC under this license.7. You may *not* modify the program or charge a fee for copying or distributing the program or its documentation.8. It is your responsibility to make the necessary copies and to deliver them to the computers which they will be used on. If you wish, you can order additional ARC program disks and manuals.9. We are not responsible for *anything* that may happen or not happen if you use ARC. You're on your own. I agree to abide by the terms and conditions of this license. _____________________________ __________________________ Signature Date _____________________________ Name (please print or type) _____________________________ Title _____________________________ Company ORDER FORMCheck which items you wish to purchase: [] Noncommercial license for the use of ARC. [] Commercial license for the use of ARC on ___ computers (see attached price schedule and terms). [] Program disk and documentation (only on orders of $50 or more, not counting maintenance contracts). [] ____ additional program disks at $10 per disk. [] ____ additional manuals at $20 per manual [] ____ additional program sets (disk, manual, and binder) at $40 per program set. [] One year maintenance agreement at $50 per year. [] Payment of $_____ is enclosed (check or money order). [] Please charge $_____ to my [] Visa or [] MasterCard: Card number: _______________________________ Expiration date: ___________________________ Signature: _________________________________ _______________________________________________ Name _______________________________________________ _______________________________________________ Address ______________________ ________ ____________ City State Zip _______/_______ FidoNet addressSend this completed form to: System Enhancement Associates, Inc. 21 New Street, Wayne NJ 07470For program disk orders outside the U.S., please add an additional $5,and enclose an international money order payable in U.S. currency.For commercial site license orders, please enclose a signed copy ofthe site license agreement.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -