XUNZIP(1) Atari 8-bit XUNZIP(1)NAMExunzip - extract files fromZIP, TAR, GZ, TGZSYNOPSISxunzip archive [dest] [options]DESCRIPTIONxunzip will list or extract filesfrom an archive. Under SpartaDOS orDOS XL arguments and options shouldbe given in the command line.Under other DOSes, xunzip willprompt for them. The defaultaction (with no options) is toextract all files from the speci-fied archive.xunzip supports ZIP, TAR, GZ andTGZ (TAR.GZ) archives.xunzip supports subdirectories andis quite portable between machines(only 48K RAM required) and DOSes(MEMLO limit $2640).ARGUMENTSarchivePath to archive (you can omit theextension if it is ZIP).destDirectory to extract files to.OPTIONSYou may specify options in anyplace, e.g. before the archive filename. You may type '-i -s' or just'-is' for interactive mode withscreen blanking.-d prompt to swap source/dest disksUseful if you use single diskdrive to extract files toa different disk.-i interactive (ask for each file)Queries you about every filefound in the archive, so you canchoose to Extract this file (bypressing E), extract All filesstarting from this one, Skipthis file, change Dest path, orClose the archive.-s blank screen (faster)Turns the screen off while I/Oand decompression.-v view archive contentsInstead of extracting, displaysa list of all files in thearchive, with uncompressed sizesin bytes.DOS-DEPENDENT BEHAVIORUnder SpartaDOS and DOS XL, thecommand line is parsed.Default destination is the currentdrive/directory (SpartaDOS/DOS XL)or the drive which xunzip wasloaded from.Subdirectories in the archive aresupported under SpartaDOS andMYDOS, and ignored on other DOSes.Characters in names of extractedfiles, other than letters anddigits, are changed to underscores('_'). Except SpartaDOS, if thename begins with a digit or dot,this character is also changed tounderscore.Under SpartaDOS X you should runxunzip via "X", i.e. "X XUNZIP".Size of the input buffer dependson the system variable MEMLO.BUGSThe only supported compressionmethod is Deflate (which is not abig limitation, since other methodslike Shrink or Implode were usedonly by ancient ZIP programs).There is no checking of CRC orconsistency of compressed data. Incase of a bad ZIP you may get baddata without a message, or xunzipmay crash.Time stamps, file attributes,multi-part or encrypted archivesare not supported.There is no text file conversion.ZIP provides a way to mark filesas text, but this mechanism isunreliable.HISTORYWhat's new in version 2.0:New archive formats (v1.0 supportedonly ZIPs).Fixed Dest with -is (the screen wasblank).-d now first prompts for the sourcedisk.SpartaDOS X device names are nowdirectly supported.Fixed -d on SpartaDOS X (now closesthe files so the disks are notcorrupted).-v for ZIPs is faster with Spartadisks used under SpartaDOS X.AUTHORSDesign and development:Adrian Matoga <epi@atari.pl>Inflate routine, testing, manual:Piotr Fusik <fox@scene.pl>COPYRIGHT(c) 2003-2005 Odsiecz Sobieskiego.This program is freeware.Use at own risk.29 August 2005 (v2.0) XUNZIP(1)