1ARCHMAGE(1)                 General Commands Manual                ARCHMAGE(1)
2
3
4

NAME

6       archmage - CHM(Compiled HTML) Decompressor.
7

SYNOPSIS

9       archmage chmfile directory
10       archmage -p port chmfile
11

DESCRIPTION

13       This  manual  page documents briefly the archmage command.  This manual
14       page was written for the Debian distribution because the original  pro‐
15       gram does not have a manual page.
16
17       arCHMage  is  an  extensible reader and decompiler for files in the CHM
18       format. This is the format used by Microsoft HTML  Help,  and  is  also
19       known as Compiled HTML. arCHMage is based on python-chm binding to chm‐
20       lib from GnoCHM project.
21

USAGE

23       There is three ways to use arCHMage package now:
24
25       1) Extract .chm to directory (directory will be created):
26
27            archmage <chmfile> <directory>
28
29       2) Run as http-server, which will publish chm file contents  on  speci‐
30       fied port:
31
32            archmage -p <port> <chmfile>
33
34       3)  Tune  your apache to publish chm file contents if there is trailing
35       slash in request to that file (you will  need  working  mod_python  for
36       that):
37
38            Add that lines to your httpd.conf:
39
40               AddHandler python-program .chm
41               PythonHandler archmod.mod_chm
42
43            Restart apache.
44
45       Let's suppose, you have file sample.chm in DocumentRoot of your apache.
46       After that tuning you can receive raw  chm  file,  if  you  point  your
47       browser to
48
49            http://yourserver/sample.chm
50
51       or you can view chm file on the fly if you point your browser to
52
53            http://yourserver/sample.chm/ (note trailing slash)
54

SEE ALSO

56       arCHMage Home Page: http://archmage.sf.net
57

AUTHOR

59       arCHMage was written by Eugeny Korekin <az@ftc.ru>
60
61       This  manual  page  was  written  by  Basil Shubin <bashu@users.source‐
62       forge.net>, for the Debian GNU/Linux system (but may be  used  by  oth‐
63       ers).
64
65
66
67                               February 24, 2006                   ARCHMAGE(1)
Impressum