Charles.Forsyth20060303-partialeea662d19 years agoHistory
89 lines · 1.8 KB · Text
RawDownload
.TH FILTER-DEFLATE 2.SH NAMEdeflate, inflate \- data compression filters.SH SYNOPSIS.EXinclude "filter.m"; deflate := load Filter Filter->DEFLATEPATH;inflate := load Filter Filter->INFLATEPATH; init:  fn();start: fn(param: string): chan of ref Rq;.EE.SH DESCRIPTIONThese implementation modules conform to the.B Filtermodule interface for data-processing filters.For details of the interface, see.IR filter (2)..PP.I Deflateimplements gzip-compatible stream compression.The.I paramstring argument to.B startcan contain one or more of the following option characters:.RS 10.TP.RB ` d 'Enable debugging output. Each line of debugging outputis provided in an.B Rq.Infomessage..TP.RB ` v 'Enable verbose mode. Each line of verbose outputis provided in an.B Rq.Infomessage..TP.RB ` h 'Add a gzip header and footer to the data. With this flag,the data after filtering will be in exactly the sameformat as a gzip file, with accompanying checksum..TP.RB ` 0 '\ to\ ` 9 'Specifies the level of compression to be used (9 highest). See.IR gzip (1)..RE.PP.I Inflateperforms the inverse operation to.BR deflate .If the.I paramargument to.B startbegins with the character.RB ` h 'then the input to the filter is assumed to be in thestandard gzip file format; the output will be checkedfor integrity. While processing, the.B Rq.Infomessage is used to transmit some information; the typeof information is determined by the first word of.IR msg ,as follows:.RS.TP.B fileThe rest of.I msg(after a following space) is the name of the original filenamebefore compression..TP.B mtimeThe rest of.I msg(after a following space) is the modification time of theoriginal file before compression..RE.SH SOURCE.B /appl/lib/deflate.b.br.B /appl/lib/inflate.b.SH SEE ALSO.IR gzip (1),.IR filter (2)