Man Linux: Main Page and Category List


       archmage - CHM(Compiled HTML) Decompressor.


       archmage chmfile directory
       archmage -p port chmfile


       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.


       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

            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


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

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


              System-wide configuration file.


       arCHMage Home Page:


       arCHMage was written by Eugeny Korekin <>

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

                               February 24, 2006