[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mhonarc
Subject:    re:mhonarc problems under dos continued
From:       Steve Pacenka <sp17 () cornell ! edu>
Date:       1996-04-24 12:46:48
[Download RAW message or body]

At 07:44 AM 4/23/96 -0700, Bill Standke wrote:
>I am having the same problem as  "C.Huygen" <C.Huygen@Inter.NL.net> 
>with  "Unable to read .\mhonarc.db" when attempting to add mail to an 
>active archive under dos.  Has anyone found a solution yet?

Bill, I confirmed that this is a bug with no workaround short of patching
the MHonArc code.  I sent my diagnosis and a partial patch to Earl.  The
patial patch has the side effect of breaking the -outdir option under DOS,
so I'm waiting for Earl to determine how to re-enable -outdir.

----
There's another patch that I didn't test.  No guarantees.

In the file osinit.pl, find the following code near the top:

    if (($tmp = $ENV{'COMSPEC'}) && ($tmp =~ /[a-zA-Z]:\\/) && (-e $tmp)) {
        $'MSDOS = 1;  $'MACOS = 0;  $'UNIX = 0;
	$'DIRSEP = '\\';  $'CURDIR = '.';

Change the double backslash in the $'DIRSEP assignment to a single forward
slash.  After making the patch, when running MHonArc use forward slashes in
all file and directory names given on the command line to invoke MHonArc,
except for the perl interpreter's location.  For example,

   \bin\perl /bin/mhonarc  -outdir c:/junk -add c:/eudora/junk.mbx

If you do try this, please report back the results to the list.

-- thanks, SP

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic