From: epg <> Date: Sat, 28 Dec 2002 00:42:57 +0000 (+0000) Subject: Set MHCONTEXT environment variable to allow (a little) more X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/aef3a1758d6145ca8306d152e957392ebf409a96?hp=a65dd7bd6c7bf9fb3c9f0eb2a21f4e751beb3f37 Set MHCONTEXT environment variable to allow (a little) more concurrency. Document the new file. --- diff --git a/minc b/minc index 82734c8..04a7d68 100755 --- a/minc +++ b/minc @@ -160,6 +160,17 @@ Where minc logs what it would do; used in -n mode. =back +=item `mhpath +`/.minc.context + +minc uses this file for context (i.e. current folder) instead of +`mhpath +`/context. This allows you some amount of freedom to use mh +while minc is running. For example, you can changed folders without +causing a message to be stored in the wrong folder. Care must still +be taken, however, about the unseen sequence; if you change it +(whether via show, or mark, or anything else) while in the same folder +as minc, it is likely the new message minc stores will not end up +marked unseen. + =cut our %FILTERS; @@ -186,6 +197,8 @@ if ($run) { $logfile = $mh . '/logs/dryrun.log'; } +$ENV{"MHCONTEXT"} = $mh . '/.minc.context'; + ############################################################################### # Logging