Fwd: Support for GZipped-Batches in sendbatch?

Russ Allbery rra at stanford.edu
Mon Apr 23 08:24:53 UTC 2001


Forwarded to inn-workers from inn-suggest.  Do any of the folks who use
UUCP have any comments on this?

From: Jochen Erwied <jochen at erwied.de>
To: inn-suggest at isc.org
Subject: Support for GZipped-Batches in sendbatch?
Date: Sun, 30 Jul 2000 14:45:14 +0200

There seems to be support for compress only when sending out batches with
sendbatch. I added support using gzip (options -g/+g). Maybe one should
think about using bzip2, too. But this is far from being standard.

Relevant part in sendbatch is:

    -g)
        COMP="; exec ${GZIP} ${GZIPFLAGS}"
        ECHO="echo '#! cunbatch'"
        continue
        ;;
    +g)
        COMP="; exec ${GZIP} ${GZIPFLAGS}"
        ECHO="echo '#! gunbatch'"
        continue
        ;;

where GZIPFLAGS contains a '-9f'.
By the way: COMPFLAGS should be set to '-f' by default!

Comments welcome.

-- 
Jochen Erwied      @home: jochen at erwied.de     +49-208-38800-18, FAX: -19
Sauerbruchstr. 17  @work: joe at mbs-software.de  +49-2151-7294-24, FAX: -50
D-45470 Muelheim   All addresses in this article are valid and replyable!


More information about the inn-workers mailing list