archmage

ARCHMAGE(1)                  General Commands Manual                 ARCHMAGE(1)



NAME
       archmage - CHM(Compiled HTML) Decompressor.

SYNOPSIS
       archmage chmfile directory
       archmage -p port chmfile

DESCRIPTION
       This manual page documents briefly the archmage command.  This manual
       page was written for the Debian distribution because the original program
       does not have a manual page.

       arCHMage is an extensible reader and decompiler for files in the CHM
       format. This is the format used by Microsoft HTML Help, and is also known
       as Compiled HTML. arCHMage is based on python-chm binding to chmlib from
       GnoCHM project.

USAGE
       There is three ways to use arCHMage package now:

       1) Extract .chm to directory (directory will be created):

            archmage <chmfile> <directory>

       2) Run as http-server, which will publish chm file contents on specified
       port:

            archmage -p <port> <chmfile>

       3) Tune your apache to publish chm file contents if there is trailing
       slash in request to that file (you will need working mod_python for
       that):

            Add that lines to your httpd.conf:

               AddHandler python-program .chm
               PythonHandler archmod.mod_chm

            Restart apache.

       Let's suppose, you have file sample.chm in DocumentRoot of your apache.
       After that tuning you can receive raw chm file, if you point your browser
       to

            http://yourserver/sample.chm

       or you can view chm file on the fly if you point your browser to

            http://yourserver/sample.chm/ (note trailing slash)

SEE ALSO
       arCHMage Home Page: http://archmage.sf.net

AUTHOR
       arCHMage was written by Eugeny Korekin <az@ftc.ru>

       This manual page was written by Basil Shubin
       <bashu@users.sourceforge.net>, for the Debian GNU/Linux system (but may
       be used by others).



                                February 24, 2006                    ARCHMAGE(1)