Compress Module
This module provides provides support for file compression. It can be used to compress files via Tcl or to transfer the userfile compressed during the share process, saving bandwidth.
Lines in bold are the lines that need to be included in the Eggdrop config file if you want to use the share module. Lines in bold italics are optional and only required if you wish to change the default behaviour for that particular feature.
Put this line into your Eggdrop configuration file to load the compress module:
loadmodule compress
There are also some variables you can set in your config file:
- set share-compressed 1
Allow compressed sending of user files? The user files are compressed with the compression level defined in 'compress-level'.
Valid settings: 1 to enable, 0 to disable.
- set compress-level 9
This is the default compression level used.
See doc/tcl-commands.doc for information on each of these commands.
- compressfile [-level <level>] <src-file> [target-file]
- uncompressfile <src-file> [target-file]
Copyright © 1997 Robey Pointer
Copyright © 1999, 2000, 2001, 2002
Eggheads Development Team