1[vset compress zip] 2[include compress/header.inc] 3 4[para] 5 6The command is based on the deflate compression algorithm as specified 7in RFC 1951 ([uri http://www.rfc-editor.org/rfc/rfc1951.txt]) and as 8implemented by the zlib compression library 9([uri http://www.gzip.org/zlib/]). 10See also RFC 1950 ([uri http://www.rfc-editor.org/rfc/rfc1950.txt]) 11 12[para] 13[list_begin definitions] 14 15[call [cmd [vset compress]] [opt [arg options...]] [opt [arg data]]] 16 17[list_begin definitions] 18[include compress/options.inc] 19 20[lst_item "[option -nowrap] [arg boolean]"] 21 22If set to [const true] the command will not create the zip specific 23header (See RFC 1950) normally written before the compressed data. The 24options defaults to [const false]. 25 26It has to be used when writing a [syscmd gzip] emulation in Tcl as 27gzip creates a different header. 28 29 30[include common/options.inc] 31[list_end] 32[list_end] 33 34[keywords {rfc 1950} {rfc 1951} {rfc 1952}] 35[include compress/footer.inc] 36