If Perl is not installed on your system, you can retrieve Perl at <URL:http://www.cis.ufl.edu/perl/ftp.html>. I recommend version 4.0 patchlevel 34, or later. MHonArc has not been tested on earlier versions.
To extract the tar file, type the following command at your shell's prompt:
zcat MHonArc.1.1.0.tar.gz | tar xvof -
A directory called "MHonArc
" should be created. The directory contains all the
files need for installing MHonArc.
MHonArc
directory is a Perl program called "install.me
". This
program will perform the tasks required to install MHonArc on you machine. To
run the program, type the following at your shell's prompt:
perl install.me
install.me
program.
install.me
session:
% perl install.me MHonArc Installation ==================== The installation process will ask you a series of questions on where the Perl executable is and where to put MHonArc files. Just hit <CR> to accept the default values listed in ()'s. If directory path does not exist on your system, the installation program will create the path for you. ----------------------------------------------- Note: Make sure all pathnames are absolute. ----------------------------------------------- Hit <CR> to continue ... Perl executable ("/usr/local/bin/perl") -> /usr/bin/perl Location to install programs ("/usr/local/bin") -> /mnt/ehood/bin Location to install libraries ("/usr/local/lib/MHonArc") -> /mnt/ehood/lib/MHonArc Install documentation ("y")? y Location to install docs ("/usr/local/lib/MHonArc/doc") -> /mnt/ehood/lib/MHonArc/doc You've specified the following: Perl location: /usr/bin/perl Program directory: /mnt/ehood/bin Library directory: /mnt/ehood/lib/MHonArc Doc directory: /mnt/ehood/lib/MHonArc/doc Is this correct ("y")? y Installing the following into /mnt/ehood/bin mhonarc Installing the following into /mnt/ehood/lib/MHonArc base64.pl mhexternal.pl mhtxthtml.pl mhtxtplain.pl mhtxtsetext.pl qprint.pl readmail.pl Installing the following into /mnt/ehood/lib/MHonArc/doc mhonarc.txt ...
Other (recommended) requirements:
mkdir d:\junkmh11
d:
cd d:\junkmh11
gzip -dv \download\mhonar11.tgz
tar -xvf \download\mhonar11.tar
OR
unzip \download\mhonar11.zip
OR
pkunzip -d \download\mhonar11.zip
cd MHONARC
install.me
script:
perl install.me
The script will prompt you for appropriate information to install MHonArc on your machine.
rm -rf d:/junkmh11
(Unix clone command)
deltree d:\junkmh11
(later DOS versions)
@ECHO OFF C:\BIN\PERL.EXE C:\BIN\MHONARC %1 %2 %3 %4 %5 %6 %7 %8 %9Of course, you'll need to change the paths to Perl and MHonArc to suit your systems configuration.
Sample batch files are available in the MHonArc distribution.
install.me
program.
NOTE: Location of the Perl exectuble is only relevant for Unix systems.
MS-DOS systems do not make use of the "#!
" line in scripts.
timelocal.pl
and newgetopt.pl
. These
libraries are part of the normal Perl distribution.
mbox2html
" that points
to mhonarc
. Therefore, if mbox2html
is used to invoke MHonArc, the -mbox
option is automatically in effect.
The following list shows which options are in effect when invoked by different program names:
C:\BIN
:
perl c:\bin\mhonarc
[options] [mbox files or mh directories]
>
, <
, or >>
.
You can only use redirection if you invoke MHonArc directly (via Perl) and
not through a batch file.
$RCSfile: perl.c,v $$Revision: 4.0.1.7 $$Date: 92/06/08
14:50:39 $
Patch level: 34
See the Perl 5 section for the status of MHonArc running under Perl 5.
From
" (I.e. the word "From" followed by a space).
MSGSEP
resource if the message separator is different from
standard mailbox files.
It also works with individual RFC822 mail messages, but you must run MHonArc without a batch file if you need to use redirection. For example:
perl c:\bin\mhonarc <one.msg >one.htm
perl c:\bin\mhonarc -add <one.msg
The author welcomes any feedback from users that try MHonArc under Perl 5.