~ubuntu-branches/ubuntu/oneiric/eggdrop/oneiric

« back to all changes in this revision

Viewing changes to doc/html/mod-compress.html

  • Committer: Bazaar Package Importer
  • Author(s): Guilherme de S. Pastore
  • Date: 2004-06-17 09:15:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040617091528-64rrw1sa33lkfhmh
Tags: 1.6.16-2
* Fixed typo on README.Debian
* Fixed hyphens in manual page
* Converted debian/rules to CDBS
* Set path to binary on example config file
* Changed LANGDIR on src/eggdrop.h (Closes: #254824)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
 
<!-- $Id: mod-compress.html,v 1.11 2002/01/03 01:05:43 guppy Exp $ -->
 
2
<!-- $Id: mod-compress.html,v 1.16 2004/05/27 06:29:45 wcc Exp $ -->
3
3
 
4
4
<html>
5
5
  <head>
13
13
    <hr>
14
14
 
15
15
    <p>This module provides provides support for file compression. It can be
16
 
    used to compress files via Tcl or to transfer the userfile compressed 
 
16
    used to compress files via Tcl or to transfer the userfile compressed
17
17
    during the share process, saving bandwidth.</p>
18
18
 
19
19
    <blockquote>
20
20
      <ol>
21
21
        <li><a href="#config">Config file settings</a></li>
22
 
 
23
 
        <li><a href="#tclcmds">Tcl commands</a></li>
24
22
      </ol>
25
23
    </blockquote>
26
24
    <hr>
28
26
    <p><a name="config"></a>1. <strong>Config file settings</strong></p>
29
27
 
30
28
    <blockquote>
31
 
      <p>Lines in <strong>bold</strong> are the lines that need to be
32
 
        included in the Eggdrop config file if you want to use the share
33
 
        module. Lines in <strong><em>bold italics</em></strong> are optional
34
 
        and only required if you wish to change the default behaviour for 
35
 
        that particular feature.</p>
36
 
 
37
 
      <p>Put this line into your Eggdrop configuration file to load the 
 
29
      <p>Put this line into your Eggdrop configuration file to load the
38
30
      compress module:</p>
39
 
  
 
31
 
40
32
      <p><strong>loadmodule compress</strong></p>
41
 
  
 
33
 
42
34
      <p>There are also some variables you can set in your config
43
35
        file:</p>
44
36
    </blockquote>
45
37
 
46
38
    <blockquote>
47
39
      <dl>
48
 
        <dt><strong><em>set share-compressed 1</em></strong></dt>
 
40
        <dt><strong>set share-compressed 1</strong></dt>
49
41
 
50
42
        <dd>
51
43
          <p>Allow compressed sending of user files? The user files are
52
 
          compressed with the compression level defined in 
 
44
          compressed with the compression level defined in
53
45
          &#39;compress-level&#39;.</p>
54
 
 
55
 
          <p>Valid settings: 1 to enable, 0 to disable.</p>
56
46
        </dd>
57
47
 
58
 
        <dt><strong><em>set compress-level 9</em></strong></dt>
 
48
        <dt><strong>set compress-level 9</strong></dt>
59
49
 
60
50
        <dd>
61
 
          <p>This is the default compression level used.</p>
 
51
          <p>This is the default compression level used. These levels are the
 
52
          same as those used by GNU gzip.</p>
62
53
        </dd>
63
54
      </dl>
64
55
    </blockquote>
65
56
    <hr>
66
57
 
67
 
    <p><a name="tclcmds"></a>2. <strong>Tcl commands:</strong></p>
68
 
 
69
 
    <p>See doc/tcl-commands.doc for information on each of these 
70
 
    commands.</p>
71
 
  
72
 
    <blockquote>
73
 
      <ul>
74
 
        <li><strong>compressfile [-level &lt;level&gt;] &lt;src-file&gt; 
75
 
        [target-file]</strong></li>
76
 
  
77
 
        <li><strong>uncompressfile &lt;src-file&gt; [target-file]</strong>
78
 
        </li>
79
 
    </blockquote>
80
 
    <hr>
81
 
 
82
58
    <p><em>Copyright &copy; 1997 Robey Pointer<br>
83
 
     Copyright &copy; 1999, 2000, 2001, 2002 <a href="http://www.eggheads.org/">
84
 
     Eggheads Development Team</a></em></p>
 
59
    Copyright &copy; 1999, 2000, 2001, 2002, 2003, 2004
 
60
    <a href="http://www.eggheads.org/"> Eggheads Development Team</a></em></p>
85
61
  </body>
86
62
</html>