Freeze/Melt

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Compression |extensions={{ext|F}} }} '''Freeze''' is a file compression utility used from the command line in Unix-style operating...")
 
m (Change telparia.com samples link to template)
 
(16 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Compression
 
|subcat=Compression
|extensions={{ext|F}}
+
|extensions={{ext|F}}, {{ext|lzc}}
 +
|released=≤1991
 
}}
 
}}
 +
:''See [[Freeze]] for other formats with that name.''
  
'''Freeze''' is a file compression utility used from the command line in Unix-style operating systems. '''Melt''' is the corresponding decompressor. It is considered obsolete now in favor of [[gzip]].
+
'''Freeze''' is a file compression utility used from the command line in Unix-style operating systems. '''Melt''' is the corresponding decompressor. The format is sometimes called "'''frozen'''". It was developed by Leonid A. Broukhis. It is considered obsolete now in favor of [[gzip]].
  
A two-pass compression is done with a [[LZW|Lempel-Zev]] algorithm on the first pass and a dynamic [[Huffman encoding|Huffman algorithm]] on the second. The characteristics of the Huffman table used are added to the file. File attributes, ownership, etc., are preserved, and a .F extension is added. A two-byte magic number is prepended to the file (\037\236 octal for versions 1.x, and \037\237 for later versions).
+
== Discussion ==
 +
File attributes, ownership, etc., are preserved, and a .F extension is added.
 +
 
 +
== Format details ==
 +
Freeze/Melt uses [[LZ77 with Huffman coding]]. The compressed data format is similar in design to that of [[LHA]]'s "lh" compression methods.
 +
 
 +
''Codes'' are compressed with [[adaptive Huffman coding]]. For the newer format, ''offsets'' are decoded with the help of a static Huffman tree stored near the beginning of the file. For the older format, a predefined Huffman-like code is used.
 +
 
 +
The adaptive Huffman format is derived from [[LZHUF]].
 +
 
 +
== Identification ==
 +
Files begin with a two-byte signature: {{magic|0x1f 0x9e}} for versions 1.x, and {{magic|0x1f 0x9f}} for later versions.
 +
 
 +
== Software ==
 +
* Freeze
 +
** [http://ftp.lyx.org/pub/unix/archive/freeze-2.4.tar.Z v2.4.0 source code]
 +
** [https://ibiblio.org/pub/linux/utils/compress/freeze-2.5.0.tar.gz v2.5.0 source code]
 +
** Versions 2.1–2.5 were posted to the comp.sources.misc Usenet group in 1991–1993:
 +
*** [{{CdTextfilesURL|sourcecode/usenet/compsrcs/misc/volume17/freeze/}}], [{{CdTextfilesURL|sourcecode/usenet/compsrcs/misc/volume25/freeze/}}], [{{CdTextfilesURL|sourcecode/usenet/compsrcs/misc/volume26/freeze/}}]
 +
*** [https://archive.org/details/Source_Code_CD-ROM_Walnut_Creek_March_1994 Source Code CD ROM (Walnut Creek) (March 1994)]
 +
* [https://github.com/temisu/ancient Ancient]
 +
 
 +
== Sample files ==
 +
* {{DexvertSamples|archive/freeze}}
  
 
== References ==
 
== References ==
 
* [http://www.esrl.noaa.gov/gmd/dv/hats/cats/stations/qnxman/freeze.html Man page] (in NOAA site, which should know something about freezing!)
 
* [http://www.esrl.noaa.gov/gmd/dv/hats/cats/stations/qnxman/freeze.html Man page] (in NOAA site, which should know something about freezing!)
* [http://reality.sgiweb.org/freeware/source/freeze-2.3.1/ Source code]
+
 
 +
[[Category:File formats with extension .f]]
 +
[[Category:File formats with case sensitive extensions]]

Latest revision as of 02:55, 28 December 2023

File Format
Name Freeze/Melt
Ontology
Extension(s) .F, .lzc
Released ≤1991
See Freeze for other formats with that name.

Freeze is a file compression utility used from the command line in Unix-style operating systems. Melt is the corresponding decompressor. The format is sometimes called "frozen". It was developed by Leonid A. Broukhis. It is considered obsolete now in favor of gzip.

Contents

[edit] Discussion

File attributes, ownership, etc., are preserved, and a .F extension is added.

[edit] Format details

Freeze/Melt uses LZ77 with Huffman coding. The compressed data format is similar in design to that of LHA's "lh" compression methods.

Codes are compressed with adaptive Huffman coding. For the newer format, offsets are decoded with the help of a static Huffman tree stored near the beginning of the file. For the older format, a predefined Huffman-like code is used.

The adaptive Huffman format is derived from LZHUF.

[edit] Identification

Files begin with a two-byte signature: 0x1f 0x9e for versions 1.x, and 0x1f 0x9f for later versions.

[edit] Software

[edit] Sample files

[edit] References

  • Man page (in NOAA site, which should know something about freezing!)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox