|
NAMEarc - pc archive utilitySYNOPSISarc a|m|u|f|d|x|e|r|p|l|v|t|c [ biswnoq ] [ gpassword ] archive [ filename ...]DESCRIPTIONArc is a general archive and file compression utility, used to maintain a compressed archive of files. An archive is a single file that combines many files, reducing storage space and allowing multiple files to be handled as one. Arc uses one of several compression methods for each file within the archive, based on whichever method yields the smallest result.INSTRUCTIONSExecute arc with no arguments for fairly verbose, usable instructions.COMMAND SWITCHES
OPTIONS
PROGRAMMING NOTESArc Version 2 differs from version 1 in that archive entries are automatically compressed when they are added to the archive, making a separate compression step unecessary. The nature of the compression is indicated by the header version number placed in each archive entry, as follows:1 = Old style, no compression 2 = New style, no compression 3 = Compression of repeated characters only 4 = Compression of repeated characters plus Huffman SQueezing 5 = Lempel-Zev packing of repeated strings (old style) 6 = Lempel-Zev packing of repeated strings (new style) 7 = Lempel-Zev Williams packing with improved hash function 8 = Dynamic Lempel-Zev packing with adaptive reset 9 = Squashing Type 5, Lempel-Zev packing, was added as of version 4.0 Type 6 is Lempel-Zev packing where runs of repeated characters have been collapsed, and was added as of version 4.1 Type 7 is a variation of Lempel-Zev using a different hash function which yields speed improvements of 20-25%, and was added as of version 4.6 Type 8 is a different implementation of Lempel-Zev, using a variable code size and an adaptive block reset, and was added as of version 5.0 Type 9 is another variation of Lempel-Zev, using a larger hash table. This method was developed by Phil Katz, and is not supported by the "official" ARC programs. Arc will look for environment variables named ARCTEMP or TMPDIR, which, if present, indicates the pathname where temporary files should be created. This is typically the location of a RAMdisk on a microcomputer, "/tmp/" or left unset. See the included documentation file for more details. HISTORYArc has been in use in the CP/M and MSDOS world for many years. Thom Henderson developed the original version, but it is important to note that arc is based on the file compression theories developed by Huffman, Welch, Knott, Knuth, and many other scientists. This implementation is based on version 5.21 of the MSDOS program.BUGSArc behaves just like the PC version of the program; all functions of the "usage" display are working. Full compatibility with PC ARC files is maintained, the price for which is that arc doesn't like long filenames, and can only archive files with names of up to 12 characters. It will *sometimes* do The Right Thing with them, but I suggest you put long-winded filenames in a "shar" before arcing them.There shouldn't be any problems, (hah!) but if you find any, please send them to me at: hyc@hanauma.jpl.nasa.gov AUTHORSOriginal MSDOS program by Thom HendersonCOPYRIGHT(C) 1985-87 by System Enhancement Associates; ALL RIGHTS RESERVED Original Lempel-Zev code derived from compress 4.0. Modified to support Squashing by Dan Lanciani (ddl@harvard.edu) Ported from MSDOS by Howard Chu, with help from John Gilmore (hoptoad!gnu), James Turner (daisy!turner) and others.
Visit the GSP FreeBSD Man Page Interface. |