Squeeze

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(first cut)
 
(Added released; added hatnote vs Squeeze It)
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|subcat=Compression
 
|subcat=Compression
 
|extensions={{ext|?q?}}, {{ext|qqq}}
 
|extensions={{ext|?q?}}, {{ext|qqq}}
 +
|released=ca. 1981
 
}}
 
}}
 
+
:''Not to be confused with [[Squeeze It]], a compression-and-archival format for [[DOS]] released around 1992.''
 
[[Squeeze]] was a method of compressing single files popular on [[CP/M]], devised by Richard (Dick) Greenlaw(?) circa 1981. It was superseded by [[Crunch]] and later [[CrLZH]]. Squeezed files were common in [[LBR]] archives. It uses Huffman compression.
 
[[Squeeze]] was a method of compressing single files popular on [[CP/M]], devised by Richard (Dick) Greenlaw(?) circa 1981. It was superseded by [[Crunch]] and later [[CrLZH]]. Squeezed files were common in [[LBR]] archives. It uses Huffman compression.
  
 
Squeezed files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Q (.?Q? -- so FOO.TXT became FOO.TQT), with the extension .QQQ used for corner cases such as a blank extension.
 
Squeezed files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Q (.?Q? -- so FOO.TXT became FOO.TQT), with the extension .QQQ used for corner cases such as a blank extension.
  
The <tt>/usr/share/misc/magic</tt> file on Linux systems suggests that it was perhaps also in use on the [[Apple II|Apple ][]] platform.
+
The <tt>/usr/share/misc/magic</tt> file on Linux systems suggests that it was perhaps also in use on the [[Apple II|Apple ][]] platform, and in fact [[Binary II]] files are often found squeezed (as .bqy instead of .bny). Versions for PC/MS-DOS were also in use in the early 1980s before [[ARC (compression format)|ARC]] caught on as the dominant archiver.
  
 
== Tools ==
 
== Tools ==
  
 
* [[CFX]] (DOS/Unix)
 
* [[CFX]] (DOS/Unix)
 +
* [http://www.svgalib.org/rus/lbrate.html lbrate] by Russell Marks, c. 2001 (Unix, GPL2)
 
* On CP/M (or emulators):
 
* On CP/M (or emulators):
 
** The original tools were SQ/USQ. See for instance the [http://www.classiccmp.org/cpmarchives/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/ SQUSQ] directory of the Oakland CP/M archive.
 
** The original tools were SQ/USQ. See for instance the [http://www.classiccmp.org/cpmarchives/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/ SQUSQ] directory of the Oakland CP/M archive.
Line 23: Line 25:
 
* The file header follows a similar/compatible structure to [[Crunch]] and [[CrLZH]].
 
* The file header follows a similar/compatible structure to [[Crunch]] and [[CrLZH]].
 
* FIXME: is the exact compression algorithm documented anywhere?
 
* FIXME: is the exact compression algorithm documented anywhere?
 +
* [[Wikipedia:SQ (program)]]
 +
 +
[[Category:File formats with too many extensions]]
 +
[[Category:CP/M]]

Revision as of 09:14, 10 September 2019

File Format
Name Squeeze
Ontology
Extension(s) .?q?, .qqq
Released ca. 1981
Not to be confused with Squeeze It, a compression-and-archival format for DOS released around 1992.

Squeeze was a method of compressing single files popular on CP/M, devised by Richard (Dick) Greenlaw(?) circa 1981. It was superseded by Crunch and later CrLZH. Squeezed files were common in LBR archives. It uses Huffman compression.

Squeezed files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Q (.?Q? -- so FOO.TXT became FOO.TQT), with the extension .QQQ used for corner cases such as a blank extension.

The /usr/share/misc/magic file on Linux systems suggests that it was perhaps also in use on the Apple ][ platform, and in fact Binary II files are often found squeezed (as .bqy instead of .bny). Versions for PC/MS-DOS were also in use in the early 1980s before ARC caught on as the dominant archiver.

Tools

  • CFX (DOS/Unix)
  • lbrate by Russell Marks, c. 2001 (Unix, GPL2)
  • On CP/M (or emulators):
    • The original tools were SQ/USQ. See for instance the SQUSQ directory of the Oakland CP/M archive.
    • The later LT31 deals with extracting from all of Squeeze, Crunch, CrLZH and LBR formats. Widely available in CP/M archives, e.g. LT31.LBR

References

  • See the SQUSQ directory on CP/M archives for various source code and documentation (much of it, unfortunately, itself squeezed/crunched).
  • The file header follows a similar/compatible structure to Crunch and CrLZH.
  • FIXME: is the exact compression algorithm documented anywhere?
  • Wikipedia:SQ (program)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox