⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arc521.doc

📁 汇编源代码大全
💻 DOC
📖 第 1 页 / 共 4 页
字号:
by setting the ARCTEMP environment string with the MS-DOS SET command.  For example, if drive B: is yourRAMdisk, then you would type:    set ARCTEMP=B:Refer to the MS-DOS manual for more details about theSET command.  You need only set the ARCTEMP stringonce, and ARC will use it from then on until youchange its value or reboot your system.If ARC does not find an environment string namedARCTEMP, then it looks for one named TEMP to useinstead.  Several packages already use the TEMP stringfor exactly this purpose.  If you have need of anenvironment string named TEMP for something else, thenyou should be sure to define ARCTEMP.There are a limited number of temporary files createdby ARC.  The Convert command uses a file named"$ARCTEMP.CVT" to hold each file as it is beingconverted.  The Run command also creates a temporaryfile, which has the name "$ARCTEMP", and whoseextension matches that of the file being run.ARC                                             Page 18             MARCMARC is a separate program which is used to mergearchives created by ARC.  MARC moves files from onearchive to another without unpacking them.MARC is used as follows:    MARC <target> <source> [<template> . . .]Where:    <target> is the name of the archive to add files    to.    <source> is the name of the archive to read files    from.    <template> is one or more file name templates.    The wildcard characters "*" and "?" may be used.    If no template is supplied, then all of the files    in <source> are added to <target>.It is not necessary for the target to exist.  If itdoes not exist, then it is created.  Thus, MARC can beused as an "extractor" as well as a "merger".For example, if you wanted to create an archive named"JUNK.ARC", which is to contain all of the files withan extension of ".TXT" which are currently containedin another archive named "WASTE.ARC", then you couldtype:    MARC junk waste *.txtIf you wanted to create an archive named "JUNK.ARC",which is to contain all of the files currently in thearchives "WASTE.ARC" and "TRASH.ARC", you could type:    MARC junk waste    MARC junk trashIf MARC is invoked with no arguments, then it givesbrief directions in its use.ARC                                             Page 19             ARCEARCE is a program which is used to extract files froman archive.  It will *only* extract files, and it will*not* extract encrypted files.  It doesn't do anythingthat ARC can't do, but it is highly optimized for thesole purpose of archive extraction, so it is verysmall and very fast.ARCE is used in a fashion very similar to the "ARC E"command (hence the name).  The first argument is thename of the archive to extract files from, and mayinclude a drive and path specifier.  Up to sixteenadditional arguments can be supplied, which specifythe files to extract.  The wildcard characters "*" and"?" are allowed, as with ARC.  If no files are named,then all files are extracted from the archive.  If thefile being extracted already exists, you are askedwhether or not you want to overwrite it.  You can usethe "/R" option to bypass this.For example, if you had an archive named "WASTE.ARC"that you wanted to extract everything from, then youcould type:    ARCE wasteOr if you just wanted to extract the files with afilename extension of ".ASM", you could type:    ARCE waste *.asmIf you already have a few files from the archive thatyou want replaced, then you could type:    ARCE waste *.asm /RIf you run ARCE with no arguments at all, then it willgive you a brief reminder of how to use it.NOTICE:NOTICE: ARCE is the copyrighted property of Vernon D.        Buerg and Wayne Chin.  It is included on the        ARC program disk as a service to ARC users.        Vernon D. Buerg        456 Lakeshire Drive        Daly City, CA  94015        RBBS: (415) 994-2944ARC                                             Page 20        VERSION NUMBERSThere seems to be some confusion about our versionnumbering scheme.  All of our version numbers aregiven as a number with two decimal places.The units indicate a major revision, such as adding anew packing algorithm.The first decimal place (tenths) indicates a minorrevision that is not essential, but which may bedesired.The second decimal place (hundredths) indicates atrivial revision that will probably only be desired byspecific individuals or by die-hard "latest version"fanatics.ARC also displays its date and time of last edit.  Achange of the date and time without a correspondingchange in version number indicates a truly trivialchange, such as fixing a spelling error.To sum up: If the units change, then you should getthe newer version as soon as you can.  If the tenthschange, then you may want to get the newer version,but there's no hurry.  If anything else changes, thenyou probably shouldn't bother.ARC                                             Page 21 COMMON QUESTIONS AND ANSWERSHere are some of the more common questions we'vereceived about ARC, along with their answers:Q: Why does ARC run out of room if I make an archive   bigger than about 180k?A: Because you are working on a floppy disk.  ARC   creates a copy of your archive, incorporating any   new files as it goes.  When it is done, it deletes   the original and renames the new one.  There are a   number of reasons for doing it this way, one being   that your original archive is still intact if   anything happens while ARC is running.   You can save some space by using drive specifiers   and having the archive and the files to add on   separate disks, but you still won't be able to make   an archive larger than about 180k.  If you need to   make a larger archive, and if you have a fixed   disk, then you can create the archive on the fixed   disk and then copy it to the floppy.Q: I've seen an ARC.COM and an ARC.EXE.  Which one is   the right one?A: ARC.EXE.  One or more people have been running ARC   through a utility that converts an ".EXE" file to a   ".COM" file.  But this utility is designed to save   space, not speed.  On ARC it saves about 250 bytes,   and makes no measurable difference in program   speed.  We've decided that the savings are not   worth the extra step in development in this case.Q: How can I get the latest version of ARC?A: ARC updates are distributed through normal   shareware channels, and by FidoNet.  We also ship a   program update disk on every order of $50 or more.   Also, please refer to the next section for   information about our maintenance contracts.ARC                                             Page 22Q: Can I use ARC to distribute my public domain or   shareware program?A: Yes, of course.Q: Can I use ARC to distribute my commercial software   package?A: Yes, provided that you obtain a commercial   distribution license from us.  Please contact us   for details.Q: I'm a commercial user.  Why should I pay for   shareware that others get for free?A: Because you cannot credibly plead poverty.              ___   Shareware, all shareware, is an attempt to develop   a new marketing channel to the benefit of everyone.   You can still "test drive" shareware for a short   period, but if you decide to use it in your   business, then you should pay for it.Q: Why not allow me to select which method of   compression I want ARC to use?A: It would needlessly complicate ARC, both internally   and in use.  The exact nature of the compression   methods used are complex, and quite different.  The   only sure way to tell which will be best in any   given case is to analyze the data, as ARC does.   The method chosen may not always be what you   expect.ARC                                             Page 23     MAINTENANCE CONTRACTSRegistered users of ARC receive 90 days of telephonesupport at no extra charge.  If you wish, you canextend this by pruchasing a maintenance contract.A maintenance contract costs $50 per year and entitlesyou to unlimited telephone support, as well as freeupdates to ARC as they come out.ARC                                             Page 24       REVISION HISTORYCHANGES IN VERSION 3The function used to calculate the CRC check value inprevious versions has been found to be in error.  Ithas been replaced with the proper function.  ARC willstill read archives created with earlier versions ofARC, but it will report a warning that the CRC valueis in error.  All archives created prior to version3.0 should be unpacked and repacked with the latestversion of ARC.Transmitting a file with XMODEM protocol rounds thesize up to the next multiple of 128 bytes, addinggarbage to the end of the file.  This used to confuseARC, causing it to think that the end of the archivewas invalidly formatted.  This has been corrected inversion 3.01.  Older archives may still be read, butARC may report them to be improperly formatted.  Allfiles can be extracted, and no data is lost.  Inaddition, ARC will automatically correct the problemwhen it is encountered.CHANGES IN VERSION 4ARC is adding another data compression technique inthis version.  We have been looking for some techniquethat could improve on Huffman squeezing in at least afew cases.  So far, Lempel-Zev compression seems to befulfilling our fondest hopes, often achievingcompression rates as much as 20% better thansqueezing, and sometimes even better.  Huffmansqueezing depends on some bytes being more "popular"than others, taking the file as a whole.  Lempel-Zevcompression is instead looking for strings of byteswhich are repeated at various points (such as an endof line followed by spaces for indentation).  Lempel-Zev compression is therefore looking for repetition ata more "macro" level, often achieving impressivepacking rates.In the typical case a file is added to an archive onceand then extracted many times, so the increased timefor an update should more than pay for itself inincreased disk space and reduced transmission time.ARC                                             Page 25CHANGES IN VERSION 4.1Lempel-Zev coding has been improved somewhat byperforming non-repeat compression on the data beforeit is coded (as was already done with Huffmansqueezing).  This has the two fold advantage of (a)reducing to some extent the amount of data to beencoded, and (b) increasing the time it takes for thestring table to fill up.  Performance gains are small,but noticeable.The primary changes are in internal organization.  ARCis now much "cleaner" inside.  In addition to theaesthetic benefits to the author, this should makelife easier for the hackers out there.  There is alsoa slight, but not noticeable, improvement in overallspeed when doing an update.CHANGES IN VERSION 4.3Version 4.3 adds the much-demanded feature of usingpathnames when adding files to an archive.Version 4.3 is also using a slightly differentapproach when adding a file to an archive.  The endresult is twofold:1) Slightly more disk space is required on the drive   containing the archive.  This should only be   noticeable to those creating very large archives on   a floppy based system.2) A 30% reduction in packing time has been achieved   in most cases.  This should be noticeable to   everyone.As always, version 4.3 is still fully upwardscompatible, and is backwards compatible as far asversion 4.1.ARC                                             Page 26CHANGES IN VERSION 4.4The temporary file introduced in version 4.3occasionally caused problems for people who had notadded a FILES= statement to their CONFIG.SYS file.This has now been corrected.  Also, support of theARCTEMP environment string was added to allow placingof the temporary file on a RAMdisk.A bug was reported in the Run command, which has beenfixed.  From the nature of the bug, and the extremetime required before the bug was reported, it isdeduced that the Run command is probably the leastused feature of ARC.The Update command was changed.  It is no longer astraight synonym for Add.  Instead, Update now onlyadds a file if it is newer than the version already inthe archive, as shown by the MS-DOS date/time stamp.CHANGES IN VERSION 4.5The Convert command was not making use of RAMdisksupport.  Now it is.The Freshen command was added.  Our first choice for aname was Refresh, but we already had a Run command.Assuming that you have an archive which alreadycontains everything you want in it (for softwaredistribution, perhaps), then Freshen would be used toupdate the archive.  It was pointed out to us that ARCalready knows what is in the archive, so it should beable to look on disk for newer versions.  Now it can.The Suppress compression option was added by populardemand.  It allows files to be added quickly to an

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -