home *** CD-ROM | disk | FTP | other *** search
- *********************************************************************
- THIS ARTICLE IS BEING PRESENTED THROUGH THE PIP ONLINE CP/M MAGAZINE
- OF THE NATIONAL CP/M ROUNDTABLE ON GENIE. copyright (c) 1988 BY
- BILL JULIANI. ALL RIGHTS RESERVED. PERMISSION IS HEREBY GRANTED
- TO NON-PROFIT ORGANIZATIONS ONLY TO REPRINT THIS ARTICLE OR PASS IT
- ALONG ELECTRONICALLY AS LONG AS PROPER CREDIT IS GIVEN TO BOTH THE
- AUTHOR AND GENIE.
- *********************************************************************
-
- ***********************************
- * *
- * Compression/Decompresion *
- * Utilities *
- * *
- * By: Rich Schreiner <RICHY> *
- * *
- ***********************************
-
- Compression/Decompression Utilities, a breif description of Squeeze,
- Unark, Uncrunch, and Unsqueeze.
-
- "Squeezed" files are always signified by having the extension tail of:
-
- .?Q?
-
- The following are some examples of filenames of squeezed files
-
-
- PIP.CQM = Squeezed PIP.COM
- PUT.CQM = Squeezed PUT.COM
- HELLO.DQC = Squeezed HELLO.DOC
- READ-ME.TQT = Squeezed READ-ME.TXT
-
-
- Here is what it would look like to use SQ.COM to "squeeze" PIP.COM:
-
- (note the command line syntax)
-
- ****************************************
- *
- A>sq pip.com *
- SQ v1.11 Jim Lopushinsky 02/16/84 *
- PIP.COM -> PIP.CQM *
- A> *
- *
- ****************************************
-
- And that is all there is too it! SQ.COM takes pip.com and makes a
- SQUEEZED file named pip.cqm which is smaller.
-
- We can also use normal wild card syntax and squeeze multiple files at the
- same time. Here is an example:
-
- *****************************************
- *
- A>sq p*.* *
- SQ v1.11 Jim Lopushinsky 02/16/84 *
- PIP.COM -> PIP.CQM *
- PUT.COM -> PUT.CQM *
- A> *
- *
- *****************************************
-
-
- )=--==> * PIP * <==--=(
-
-
- "Arkive" files are always signified by having the extension tail of:
-
- .ark
-
- The following are some examples of filenames of Arkived files:
-
- PIP.ARK
- HELLO.ARK
- READ-ME.ARK
-
- Here is a look at the syntax for the unarc.com utility:
-
- A>unarc arkive filename
- ^ ^ ^
- 1 2 3
- | | |
- | | This is the file which you want to extract from the arkive
- | |
- | This is the Arkive to which your file is to be extracted.
- |
- This is the command to call the unarc.com utility.
-
-
- (2) It is not necessary to put the .ark tail, just the name of the
- arkive.
- (3) Wildcard syntax can be used when specifying which files to extract
- from the arkive.
-
- With unarc.com it is necessary to specify the drive letter for where the
- arkive is and where the files to be extracted are to go.
-
- Here is what it would look like to use unarc.com to extract PIP.COM from
- an "Arkive" called pip.ark.
-
- (note the command line syntax)
-
- ******************************************************************************
-
- A>unarc A:pip A:pip.com
- Archive File = PIP.ARK
- Output Drive = M:
-
- Name Length Disk Method Ver Stored Saved Date Time CRC
- ============ ======= ==== ======== === ======= ===== ========= ====== ====
- PIP .COM 8704 10k Crunched 8 7043 20% 29 Feb 88 10:30p 7BAA
- A>
-
- ******************************************************************************
-
- To extract all files, just specify which drive and do not put any
- filenames. All of the files in the arkive will be extracted to the specified
- drive. (3)
-
- Here is an example
-
- ******************************************************************************
- A>unarc A:pip A:
- Archive File = PIP.ARK
- Output Drive = A:
-
- Name Length Disk Method Ver Stored Saved Date Time CRC
- ============ ======= ==== ======== === ======= ===== ========= ====== ====
- PIP .COM 8704 10k Crunched 8 7043 20% 29 Feb 88 10:30p 7BAA
- PUT .COM 7040 8k Crunched 8 5469 23% 29 Feb 88 10:30p 4326
- ==== ======= ==== ======= === ====
- Total 2 15744 18k 12512 21% BED0
- A
-
- ******************************************************************************
-
-
- )=--==> * PIP * <==--=(
-
-
- "Crunched" files are always signified by having the extension tail of:
-
- .?Z?
-
- The following are some examples of filenames of Crunched files:
-
-
- PIP.CZM = Crunched PIP.COM
- PUT.CZM = Crunched PUT.COM
- HELLO.DZC = Crunched HELLO.DOC
- READ-ME.TZT = Crunched READ-ME.TXT
-
-
- Here is what it would look like to use uncr.com to "Uncrunch" PIP.CZM:
-
- (note the command line syntax)
-
- ************************************************************************
- *
- A>uncr pip.czm *
- GEL Uncruncher v2.3 *
- *
- A0:PIP.CZM ===> A0:PIP.COM Overwrite existing file? y *
- in out rat ca cr *
- ==== ==== ==== ==== ==== *
- *
- 54 / 68 126% 4096 781 ( 7k ---> 9k) *
- *
- A> *
- *
- ************************************************************************
-
-
- And that is all there is too it! UNCR.COM takes pip.czm, a crunched file,
- and restores it to its natural size, pip.com.
-
- Notice the overwrite prompt, its a nice safety feature to keep from
- losing an important file because of being overwritten.
-
- We can also use normal wild card syntax and uncrunch multiple files at
- the same time. Here is an example:
-
- *******************************************************
- *
- A>uncr p*.* *
- GEL Uncruncher v2.3 *
- *
- A0:PIP.CZM ===> A0:PIP.COM *
- in out rat ca cr *
- ==== ==== ==== ==== ==== *
- *
- 54 / 68 126% 4096 781 ( 7k ---> 9k) *
- *
- A0:PUT.CZM ===> A0:PUT.COM *
- in out rat ca cr *
- ==== ==== ==== ==== ==== *
- *
- 43 / 55 128% 4096 45 ( 6k ---> 7k) *
- *
- A> *
- *
- *******************************************************
-
-
-
-
- )=--==> * PIP * <==--=(
-
-
- "Squeezed" files are always signified by having the extension tail of:
-
- .?Q?
-
- The following are some examples of filenames of squeezed files
-
-
- PIP.CQM = Squeezed PIP.COM
- PUT.CQM = Squeezed PUT.COM
- HELLO.DQC = Squeezed HELLO.DOC
- READ-ME.TQT = Squeezed READ-ME.TXT
-
-
- Here is what it would look like to use USQ.COM to "unsqueeze" PIP.CQM:
-
- (note the command line syntax)
-
- ***************************************************
- *
- *
- USQ Version 1.20 Dave Rand 01/07/1984 *
- PIP.CQM -> PIP.COM *
- *
- *
- ***************************************************
-
- And that is all there is too it! USQ.COM takes pip.cqm, a squeezed file,
- and restores it to its natural size, pip.com.
-
- We can also use normal wild card syntax and unsqueeze multiple files at
- the same time. Here is an example:
-
- ***************************************************
- *
- A>usq p*.?z? *
- USQ Version 1.20 Dave Rand 01/07/1984 *
- PIP.CQM -> PIP.COM *
- PUT.CQM -> PUT.COM *
- A> *
- *
- ***************************************************
-
-
- )=--==> * PIP * <==--=(
-