home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
ON_DISC
/
ONDISC03.MSA
/
ACC_SQUNSQ.DOC
< prev
next >
Wrap
Text File
|
1985-11-19
|
2KB
|
48 lines
SQUEEZE.TTP - Squeeze (Compress) a file before sending.
UNSQUEEZ.TTP - Unsqueeze (DeCompress) files after receiving.
SQUEEZE
--------
Enter the name of the file to squeeze when running this program.
SQUEEZE compresses a file without losing information.
UNSQUEEZ must be run to unsqueeze the file before it can be used.
Typical compression rates are:
Binary 6-12%
Ascii 33-46%
Pictures 20-70%
The squeezed file name is formed by changing the second from
last letter of the file type to Q. If there is no file type,
the squeezed file type is QQQ. If the named exists it is
overwritten!
The transformations compress strings of identical bytes and
then encode each resulting byte value and EOF as bit strings
having lengths in inverse proportion to their frequency of
occurrence in the intermediate input stream. The latter uses
the Huffman algorithm. Decoding information is included in the
squeezed file, so squeezing short files or files with uniformly
distributed byte values will actually increase size.
UNSQUEEZ
--------
Enter the squeezed filename when this program is run.
UNSQUEEZ decompresses squeezed files.
The algorithm is identical to the one used by the popular
public domain 'SQ' programs, originally authored by Richard
Greenlaw.
WARNING:
Both SQUEEZE and UNSQUEEZ blindly create their corresponding
output files.
AUTHOR:
Richard Greenlaw (original).
Computer Toolbox, Inc - ATARI ST520.
(This program is free to distribute but may not be sold.)