From 60d7360cff6e38ccab12d920756fa1defced8f96 Mon Sep 17 00:00:00 2001 From: Earl Hood Date: Tue, 3 Mar 1998 16:46:28 -0600 Subject: [PATCH] MHonArc 2.2.0: (https://www.mhonarc.org/release/MHonArc/tar/MHonArc2.2.0.tar.gz) o New resource MSGIDLINK - Hyperlink markup for message-ids SUBJECTARTICLERXP - Regex to match articles (a,an,the) in subject text. SUBJECTREPLYRXP - Regex to match reply annotation in subject text. TSLICE - Set the size of a thread slice listing TSLICEBEG - Begin markup of a thread slice listing TSLICEEND - End markup of a thread slice listing o New resource variables $TSLICE$ - Print thread listing slice relative to current message. o Added default=charset option to mhtxtplain.pl filter. o Added mhtxttsv.pl to handle text/tab-separated-values content. o Expanded list of recognized content-types in mhexternal.pl. o Changed loading of decoders, charset convertes, and content-type filters to be done on demand. Should provide an increase in start-up time. o Modified source so no Perl structures are in the "main" package. The base package is now "mhonarc". This should make it easier for incorporating mhonarc into another Perl program. *IMPORTANT*: This change causes changes to db file format. See release notes on how to upgrade pre v2.2 archives. o Main routines are now located in mhamain.pl. The main mhonarc source file now just requires mhamain.pl and just calls two main functions. o Although code should still be Perl 4 compatible, Perl related resource documentation now puts preference to Perl 5 notations (eg: MIMEFILTERS, CHARSETCONVERTERS). --- BUGS | 30 +- CHANGES | 55 +- Makefile | 2 +- README | 18 +- RELNOTES | 40 +- doc/bugs.html | 69 +- doc/diagnos.html | 11 +- doc/intro.html | 12 +- doc/mhonarc.html | 4 +- doc/quickstart.html | 11 +- doc/resources.html | 93 +- doc/resources/add.html | 4 +- doc/resources/archive.html | 20 +- doc/resources/authorbegin.html | 50 +- doc/resources/authorend.html | 4 +- doc/resources/authsort.html | 4 +- doc/resources/botlinks.html | 152 +-- doc/resources/charsetconverters.html | 45 +- doc/resources/conlen.html | 4 +- doc/resources/datefields.html | 2 +- doc/resources/daybegin.html | 50 +- doc/resources/dayend.html | 4 +- doc/resources/dbfile.html | 4 +- doc/resources/decodeheads.html | 4 +- doc/resources/definederived.html | 152 +-- doc/resources/definevar.html | 4 +- doc/resources/defrcfile.html | 4 +- doc/resources/defrcname.html | 4 +- doc/resources/doc.html | 4 +- doc/resources/docurl.html | 4 +- doc/resources/editidx.html | 4 +- doc/resources/excs.html | 4 +- doc/resources/expireage.html | 4 +- doc/resources/expiredate.html | 4 +- doc/resources/fieldorder.html | 4 +- doc/resources/fieldsbeg.html | 4 +- doc/resources/fieldsend.html | 4 +- doc/resources/fieldstyles.html | 4 +- doc/resources/fldbeg.html | 4 +- doc/resources/fldend.html | 4 +- doc/resources/folrefs.html | 13 +- doc/resources/folupbegin.html | 4 +- doc/resources/folupend.html | 4 +- doc/resources/foluplitxt.html | 50 +- doc/resources/footer.html | 4 +- doc/resources/force.html | 4 +- doc/resources/fromfields.html | 2 +- doc/resources/genidx.html | 4 +- doc/resources/gmtdatefmt.html | 4 +- doc/resources/gzipexe.html | 4 +- doc/resources/gzipfiles.html | 4 +- doc/resources/gziplinks.html | 4 +- doc/resources/headbodysep.html | 32 +- doc/resources/header.html | 4 +- doc/resources/htmlext.html | 4 +- doc/resources/icons.html | 4 +- doc/resources/idxfname.html | 4 +- doc/resources/idxlabel.html | 4 +- doc/resources/idxpgbegin.html | 62 +- doc/resources/idxpgend.html | 62 +- doc/resources/idxprefix.html | 4 +- doc/resources/idxsize.html | 4 +- doc/resources/include.html | 4 +- doc/resources/labelbeg.html | 4 +- doc/resources/labelend.html | 4 +- doc/resources/labelstyles.html | 4 +- doc/resources/listbegin.html | 62 +- doc/resources/listend.html | 62 +- doc/resources/litemplate.html | 50 +- doc/resources/localdatefmt.html | 4 +- doc/resources/lockdelay.html | 4 +- doc/resources/locktries.html | 4 +- doc/resources/mailto.html | 4 +- doc/resources/mailtourl.html | 2 +- doc/resources/main.html | 4 +- doc/resources/maxsize.html | 4 +- doc/resources/mhpattern.html | 4 +- doc/resources/mimeargs.html | 22 +- doc/resources/mimefilters.html | 692 +++++++++---- doc/resources/modtime.html | 4 +- doc/resources/months.html | 4 +- doc/resources/monthsabr.html | 4 +- doc/resources/msgbodyend.html | 32 +- doc/resources/msgfoot.html | 152 +-- doc/resources/msggmtdatefmt.html | 4 +- doc/resources/msghead.html | 152 +-- doc/resources/msgidlink.html | 391 +++++++ doc/resources/msglocaldatefmt.html | 4 +- doc/resources/msgpgbegin.html | 152 +-- doc/resources/msgpgend.html | 152 +-- doc/resources/msgprefix.html | 4 +- doc/resources/msgsep.html | 4 +- doc/resources/multipg.html | 4 +- doc/resources/news.html | 4 +- doc/resources/nextbutton.html | 152 +-- doc/resources/nextbuttonia.html | 152 +-- doc/resources/nextlink.html | 152 +-- doc/resources/nextlinkia.html | 152 +-- doc/resources/nextpglink.html | 62 +- doc/resources/nextpglinkia.html | 62 +- doc/resources/otherindexes.html | 4 +- doc/resources/outdir.html | 4 +- doc/resources/perlinc.html | 4 +- doc/resources/prevbutton.html | 152 +-- doc/resources/prevbuttonia.html | 152 +-- doc/resources/prevlink.html | 152 +-- doc/resources/prevlinkia.html | 152 +-- doc/resources/prevpglink.html | 62 +- doc/resources/prevpglinkia.html | 62 +- doc/resources/quiet.html | 4 +- doc/resources/rcfile.html | 4 +- doc/resources/refsbegin.html | 4 +- doc/resources/refsend.html | 4 +- doc/resources/refslitxt.html | 50 +- doc/resources/reverse.html | 4 +- doc/resources/rmm.html | 4 +- doc/resources/scan.html | 2 +- doc/resources/single.html | 4 +- doc/resources/sort.html | 4 +- doc/resources/subjectarticlerxp.html | 110 ++ doc/resources/subjectbegin.html | 50 +- doc/resources/subjectend.html | 4 +- doc/resources/subjectheader.html | 32 +- doc/resources/subjectreplyrxp.html | 109 ++ doc/resources/subsort.html | 4 +- doc/resources/tcontbegin.html | 50 +- doc/resources/tcontend.html | 4 +- doc/resources/tfoot.html | 60 +- doc/resources/thead.html | 60 +- doc/resources/thread.html | 4 +- doc/resources/tidxfname.html | 4 +- doc/resources/tidxlabel.html | 4 +- doc/resources/tidxpgbegin.html | 60 +- doc/resources/tidxpgend.html | 60 +- doc/resources/tidxprefix.html | 4 +- doc/resources/timezones.html | 4 +- doc/resources/tindentbegin.html | 4 +- doc/resources/tindentend.html | 4 +- doc/resources/title.html | 4 +- doc/resources/tlevels.html | 4 +- doc/resources/tliend.html | 4 +- doc/resources/tlinone.html | 4 +- doc/resources/tlinoneend.html | 4 +- doc/resources/tlitxt.html | 50 +- doc/resources/tnextbutton.html | 152 +-- doc/resources/tnextbuttonia.html | 152 +-- doc/resources/tnextlink.html | 152 +-- doc/resources/tnextlinkia.html | 152 +-- doc/resources/tnextpglink.html | 60 +- doc/resources/tnextpglinkia.html | 60 +- doc/resources/toplinks.html | 152 +-- doc/resources/tprevbutton.html | 152 +-- doc/resources/tprevbuttonia.html | 152 +-- doc/resources/tprevlink.html | 152 +-- doc/resources/tprevlinkia.html | 152 +-- doc/resources/tprevpglink.html | 60 +- doc/resources/tprevpglinkia.html | 60 +- doc/resources/treverse.html | 4 +- doc/resources/tsingletxt.html | 50 +- doc/resources/tslice.html | 111 ++ doc/resources/tslicebeg.html | 403 ++++++++ doc/resources/tsliceend.html | 403 ++++++++ doc/resources/tsort.html | 4 +- doc/resources/tsubjectbeg.html | 4 +- doc/resources/tsubjectend.html | 4 +- doc/resources/tsublistbeg.html | 60 +- doc/resources/tsublistend.html | 4 +- doc/resources/tsubsort.html | 4 +- doc/resources/ttitle.html | 4 +- doc/resources/ttopbegin.html | 50 +- doc/resources/ttopend.html | 4 +- doc/resources/umask.html | 4 +- doc/resources/usinglastpg.html | 2 +- doc/resources/weekdays.html | 4 +- doc/resources/weekdaysabr.html | 4 +- examples/def-mime.rc | 54 + examples/frames.rc | 80 +- faq/general.html | 4 +- install.cfg | 4 +- lib/base64.pl | 10 +- lib/ewhutil.pl | 2 +- lib/iso8859.pl | 4 +- lib/mhamain.pl | 1411 ++++++++++++++++++++++++++ lib/mhdb.pl | 170 ++-- lib/mhdysub.pl | 4 +- lib/mhexternal.pl | 152 ++- lib/mhfile.pl | 10 +- lib/mhidxrc.pl | 25 +- lib/mhinit.pl | 127 ++- lib/mhopt.pl | 68 +- lib/mhrcfile.pl | 65 +- lib/mhrcvars.pl | 10 +- lib/mhthread.pl | 232 ++++- lib/mhtime.pl | 4 +- lib/mhtxtenrich.pl | 3 +- lib/mhtxthtml.pl | 7 +- lib/mhtxtplain.pl | 74 +- lib/mhtxtsetext.pl | 4 +- lib/mhtxttsv.pl | 58 ++ lib/mhusage.pl | 227 +++-- lib/mhutil.pl | 62 +- lib/osinit.pl | 61 +- lib/qprint.pl | 4 +- lib/readmail.pl | 233 +++-- mhonarc | 1372 +------------------------ 205 files changed, 7673 insertions(+), 5050 deletions(-) create mode 100644 doc/resources/msgidlink.html create mode 100644 doc/resources/subjectarticlerxp.html create mode 100644 doc/resources/subjectreplyrxp.html create mode 100644 doc/resources/tslice.html create mode 100644 doc/resources/tslicebeg.html create mode 100644 doc/resources/tsliceend.html create mode 100644 examples/def-mime.rc create mode 100644 lib/mhamain.pl create mode 100644 lib/mhtxttsv.pl diff --git a/BUGS b/BUGS index e57c7c0..3d99d55 100644 --- a/BUGS +++ b/BUGS @@ -1,11 +1,12 @@ - BUGS 98/02/23 18:55:45 + BUGS 98/03/03 19:09:35 Bug History for MHonArc Each bug listing has the following fields: Version: Lists the version of MHonArc that the bug was reported against. It is possible a bug could - be applicable to earlier versions. + be applicable to earlier versions. Version listed + is when the bug was discovered. Problem: A description of the bug. Solution: A description of what was done to fix the bug. Version Fixed: The version that the solution exists in, if @@ -14,6 +15,31 @@ Each bug listing has the following fields: Bug List ------------------------------------------------------------------------ +Version: 2.1.2 +Problem: The @TListOrder array is empty in .mhonarc.db when + MULTIPG is set. This may cause some messages not + getting properly updated when new messages are added. +Solution: Removed use of splice on @TListOrder when MULTIPG. + Now, array slices are used so @TListOrder is preserved. +Version Fixed: 2.2.0 +------------------------------------------------------------------------ +Version: 2.1.2 +Problem: Convert ISO-2022-JP messages can generate "Out of + Memory" errors. +Solution: The cleanup of mhtxtplain.pl's iso-2022-jp code + introduced a bug that caused an infinite loop and + to gobble memoery until it ran out. The fix was + straight-forward. +Version Fixed: 2.2.0 +------------------------------------------------------------------------ +Version: 2.1.2 +Problem: Quoted text that is broken due to maxwidth setting of + the mhtxtplain.pl filter did not have the quote + character prepended to broken the text. +Solution: A regex updated to dealing with a leading space before + quote character. +Version Fixed: 2.2.0 +------------------------------------------------------------------------ Version: 2.1.1 Problem: Documentation of MAILTOURL incorrectly states that the $TO$ resource variable is the value of the diff --git a/CHANGES b/CHANGES index e6aa6c9..530f20a 100644 --- a/CHANGES +++ b/CHANGES @@ -9,6 +9,59 @@ possible that not all changes are documented here. MM/DD/YY(YY) ======================================================================= ####################################################################### +======================================================================= +03/03/1998 (2.2.0) + + Enhancements/Changes + -------------------- + *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* + + Please read the RELNOTES file for important information regarding + upgrading to v2.2.0 from previous releases. + + o New resource + + MSGIDLINK - Hyperlink markup for message-ids + SUBJECTARTICLERXP - Regex to match articles (a,an,the) + in subject text. + SUBJECTREPLYRXP - Regex to match reply annotation + in subject text. + TSLICE - Set the size of a thread slice listing + TSLICEBEG - Begin markup of a thread slice listing + TSLICEEND - End markup of a thread slice listing + + o New resource variables + + $TSLICE$ - Print thread listing slice relative to + current message. + + o Added default=charset option to mhtxtplain.pl filter. + + o Added mhtxttsv.pl to handle text/tab-separated-values + content. + + o Expanded list of recognized content-types in mhexternal.pl. + + o Changed loading of decoders, charset convertes, and + content-type filters to be done on demand. Should + provide an increase in start-up time. + + o Modified source so no Perl structures are in the "main" + package. The base package is now "mhonarc". This + should make it easier for incorporating mhonarc into + another Perl program. + + *IMPORTANT*: This change causes changes to db file format. + See release notes on how to upgrade pre v2.2 archives. + + o Main routines are now located in mhamain.pl. The main + mhonarc source file now just requires mhamain.pl and + just calls two main functions. + + o Although code should still be Perl 4 compatible, Perl + related resource documentation now puts preference to + Perl 5 notations (eg: MIMEFILTERS, CHARSETCONVERTERS). + ======================================================================= 02/23/1998 (2.1.2) @@ -1130,4 +1183,4 @@ MM/DD/YY(YY) ####################################################################### ======================================================================= Earl Hood, ehood@medusa.acs.uci.edu -@(#) CHANGES 98/02/23 18:56:12 @(#) +@(#) CHANGES 98/03/03 19:10:13 @(#) diff --git a/Makefile b/Makefile index 2779d12..d5562cd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ##---------------------------------------------------------------------------## -## @(#) Makefile 1.5 97/05/15 16:59:40 @(#) +## @(#) Makefile 1.6 98/03/03 19:05:56 ##---------------------------------------------------------------------------## CHMOD = /bin/chmod diff --git a/README b/README index 10041fd..6541022 100644 --- a/README +++ b/README @@ -24,10 +24,17 @@ --------------------------------------------------------------------------- README for MHonArc - v2.1.2 + v2.2.0 http://www.oac.uci.edu/indiv/ehood/mhonarc.html +--------------------------------------------------------------------------- + *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* + + Please read the RELNOTES file for important + information regarding upgrading to v2.2.0 + from previous releases. + --------------------------------------------------------------------------- MHonArc -- Internet mail-to-HTML converter Copyright (C) 1995-1998 Earl Hood, ehood@medusa.acs.uci.edu @@ -67,6 +74,13 @@ lib/ Libraries/MIME filters used by MHonArc logo/ Gifs of the MHonArc logo mhonarc* The MHonArc program +--------------------------------------------------------------------------- + *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* + + Please read the RELNOTES file for important + information regarding upgrading to v2.2.0 + from previous releases. + --------------------------------------------------------------------------- INSTALLATION @@ -150,4 +164,4 @@ USING/COPYING --------------------------------------------------------------------------- Copyright (C) 1995-1998, Earl Hood, ehood@medusa.acs.uci.edu -@(#) README 98/02/23 18:58:27 +@(#) README 98/03/03 19:06:23 diff --git a/RELNOTES b/RELNOTES index d17a8a1..58f2fb8 100644 --- a/RELNOTES +++ b/RELNOTES @@ -6,6 +6,44 @@ Also read the CHANGES document for changes that may affect you if you are a user of an earlier version of MHonArc. =========================================================================== +Version 2.2.0 + + o *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* *IMPORTANT* + + If you have archives created with v2.1.x, or earlier, you + must update the archive before using v2.2.0, and later. If + you are creating new archives, then you can skip the how-to + on upgrading older archives. + + To update your v2.1.x, or earlier, archives, you can run the + -editidx option with the def-mime.rc resource in the examples + directory on your archives. For example: + + mhonarc -editidx -rcfile examples/def-mime.rc \ + -outdir /path/to/archive + + Make sure that the mhonarc you are using is v2.2.0, or later. + Of course, change the -rcfile and -outdir pathname to reflect + where you are running mhonarc and where your archive is + located, respectively. + + The key is to apply the def-mime.rc to all your archives. + Note, if your archives are using custom settings of + MIMEFILTERS, MIMEARGS, and/or CHARSETCONVERTERS resources, + you will need to create a variant version of def-mime.rc + to include your settings and use the variant version when + updating your archives. + + o If you have written any custom MIME filters, you filters may + be affected by v2.2.0. If your filter accessed some + main variables, your filter will not operate properly. + All variables that used to be in package "main" are no + longer. The major variables are now in package "mhonarc". + For example, $::OUTDIR is now $mhonarc::OUTDIR. See the + MIMEFILTERS resource page for more information. + + +--------------------------------------------------------------------------- Version 2.1.2 o The new default setting for CHARSETCONVERTERS will not get @@ -87,4 +125,4 @@ Version 2.0.0 =========================================================================== -98/02/23 18:58:27 +98/03/03 19:09:24 diff --git a/doc/bugs.html b/doc/bugs.html index 249b3b0..0e040c5 100644 --- a/doc/bugs.html +++ b/doc/bugs.html @@ -32,6 +32,73 @@

Bug List

Version +2.1.2 + + +Problem +The @TListOrder array is empty in .mhonarc.db when MULTIPG is set. This may cause some messages not + getting properly updated when new messages are added. + + + +Solution +Removed use of splice on @TListOrder when MULTIPG. Now, array slices are used so @TListOrder is preserved. + + + +Fixed +2.2.0 + + +
+ + +Version +2.1.2 + + +Problem +Convert ISO-2022-JP messages can generate "Out of Memory" errors. + + + +Solution +The cleanup of mhtxtplain.pl's iso-2022-jp code introduced a bug that caused an infinite loop and + to gobble memoery until it ran out. The fix was + straight-forward. + + + +Fixed +2.2.0 + + +
+ + +Version +2.1.2 + + +Problem +Quoted text that is broken due to maxwidth setting of the mhtxtplain.pl filter did not have the quote + character prepended to broken the text. + + + +Solution +A regex updated to dealing with a leading space before quote character. + + + +Fixed +2.2.0 + + +
+ + +Version 2.1.1 @@ -1028,7 +1095,7 @@

Bug List


-98/02/23 18:35:02
+98/03/03 18:58:32
MHonArc
diff --git a/doc/diagnos.html b/doc/diagnos.html index 5853032..6a4dd9d 100644 --- a/doc/diagnos.html +++ b/doc/diagnos.html @@ -44,13 +44,6 @@

No new messages

contains messages already in the archive.

-

Requiring MIME filter libraries ...

- -

Indicates MHonArc is loading external libraries for -filtering mail messages. MHonArc will output each library -it loads. See MIMEFILTERS for more -information of filter libraries.

-

Trying to lock mail archive ...

The statement means that a lock file is in place for the archive @@ -227,11 +220,11 @@

file did not return a true value at file line number.


-97/05/15 16:48:57
+98/03/03 18:58:30
MHonArc
-Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
diff --git a/doc/intro.html b/doc/intro.html index 7e147c4..e81f54e 100644 --- a/doc/intro.html +++ b/doc/intro.html @@ -63,7 +63,9 @@

Why Use MHonArc?

will allow you to read MIME messages that includes images, audio, video, etc via your Web client. -
  • Multi-platform support: Unix and MSDOS/Windows (MacOS?) +
  • Multi-platform support: Unix, Windows, MacOS, etc. Basically, +MHonArc should be usable +on any platform that Perl has been ported to.
  • You think the MHonArc logo is really cool, and it deserves to be used. @@ -79,9 +81,9 @@

    Why Use MHonArc?


    Supported Platforms

    -

    MHonArc (version 1.1, or later) will run under Unix or -MSDOS/Windows operating systems with Perl 4 or 5 installed. Execution -under MacOS has not been verified. +

    MHonArc (version 1.1, and later) will run under systems +systems with Perl 4 or 5 installed. Perl 5 is recommended, and +maybe required for proper execution on some systems.


    @@ -103,7 +105,7 @@

    Availability


    -97/06/05 18:43:39
    +98/03/03 19:04:03
    MHonArc
    diff --git a/doc/mhonarc.html b/doc/mhonarc.html index 58bc54b..4cb7eb0 100644 --- a/doc/mhonarc.html +++ b/doc/mhonarc.html @@ -1,7 +1,7 @@ -MHonArc v2.1 Documentation +MHonArc v2.2 Documentation
    @@ -73,7 +73,7 @@

    Table of Contents


    -98/02/17 18:54:42
    +98/03/03 18:58:30
    MHonArc
    diff --git a/doc/quickstart.html b/doc/quickstart.html index ab78705..68d41fe 100644 --- a/doc/quickstart.html +++ b/doc/quickstart.html @@ -136,13 +136,6 @@

    Converting MH mail folders or Mailbox files

     % mhonarc ~/mail/inbox
    -Requiring content filter libraries ...
    -        mhexternal.pl
    -        mhtxthtml.pl
    -        mhtxtplain.pl
    -        mhtxtsetext.pl
    -Requiring charset filter libraries ...
    -        iso8859.pl
     Converting messages to .
     Reading /mnt/ehood/mail/inbox ..........
     Writing mail ...
    @@ -263,11 +256,11 @@ 

    Examples
    -97/06/05 18:43:40
    +98/03/03 18:58:31
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources.html b/doc/resources.html index 2166132..7d7a808 100644 --- a/doc/resources.html +++ b/doc/resources.html @@ -116,28 +116,27 @@

    Resource Index

    Resource list

    +
    - + + - - - - + @@ -146,18 +145,16 @@

    Resource list

    + - - - - + @@ -166,18 +163,16 @@

    Resource list

    + - - - - + @@ -186,18 +181,16 @@

    Resource list

    + - - - - + @@ -206,18 +199,16 @@

    Resource list

    + - - - - + @@ -226,18 +217,16 @@

    Resource list

    + - - - - + @@ -246,23 +235,22 @@

    Resource list

    + + - - - - + @@ -271,18 +259,16 @@

    Resource list

    + - - - - + @@ -291,28 +277,28 @@

    Resource list

    + - - - - + + - + + - + @@ -321,18 +307,16 @@

    Resource list

    + - - - - + @@ -341,18 +325,16 @@

    Resource list

    + - - - - + @@ -361,13 +343,16 @@

    Resource list

    + - + + + - + @@ -376,23 +361,21 @@

    Resource list

    + - - - - - +


    ADD ARCHIVE AUTHORBEGINAUTHOREND
    AUTHOREND AUTHSORT BOTLINKS
    CHARSETCONVERTERS CONLENDATEFIELDS
    DATEFIELDS DAYBEGIN DAYEND DBFILE DECODEHEADS DEFINEDERIVED DEFINEVARDEFRCFILE
    DEFRCFILE DEFRCNAME DOC
    DOCURL EDITIDXEXCS
    EXCS EXPIREAGE EXPIREDATE FIELDORDER FIELDSBEG FIELDSEND FIELDSTYLESFLDBEG
    FLDBEG FLDEND FOLREFS
    FOLUPBEGIN FOLUPENDFOLUPLITXT
    FOLUPLITXT FOOTER FORCE FROMFIELDS GENIDX GMTDATEFMT GZIPEXEGZIPFILES
    GZIPFILES GZIPLINKS HEADBODYSEP
    HEADER HTMLEXTICONS
    ICONS IDXFNAME IDXLABEL IDXPGBEGIN IDXPGEND IDXPREFIX IDXSIZEINCLUDE
    INCLUDE LABELBEG LABELEND
    LABELSTYLES LISTBEGINLISTEND
    LISTEND LITEMPLATE LOCALDATEFMT LOCKDELAY LOCKTRIES MAILTO MAILTOURLMAIN
    MAIN MAXSIZE MHPATTERN
    MIMEARGS MIMEFILTERSMODTIME
    MODTIME MONTHS MONTHSABR MSGBODYEND MSGFOOT MSGGMTDATEFMT MSGHEADMSGIDLINK
    MSGLOCALDATEFMT MSGPGBEGIN MSGPGENDMSGPREFIX
    MSGPREFIX MSGSEP MULTIPG
    NEWS NEXTBUTTONNEXTBUTTONIA
    NEXTBUTTONIA NEXTLINK NEXTLINKIA NEXTPGLINK NEXTPGLINKIA OTHERINDEXES OUTDIRPERLINC
    PERLINC PREVBUTTON PREVBUTTONIA
    PREVLINK PREVLINKIAPREVPGLINK
    PREVPGLINK PREVPGLINKIA QUIET RCFILE REFSBEGIN REFSEND REFSLITXTREVERSE
    REVERSE RMM SCAN
    SINGLE SORTSUBJECTBEGIN
    SUBJECTARTICLERXPSUBJECTBEGIN SUBJECTEND SUBJECTHEADERSUBSORT
    SUBJECTREPLYRXPSUBSORT TCONTBEGIN TCONTENDTFOOT
    TFOOT THEAD THREAD TIDXFNAME TIDXLABEL TIDXPGBEGIN TIDXPGENDTIDXPREFIX
    TIDXPREFIX TIMEZONES TINDENTBEGIN
    TINDENTEND TITLETLEVELS
    TLEVELS TLIEND TLINONE TLINONEEND TLITXT TNEXTBUTTON TNEXTBUTTONIATNEXTLINK
    TNEXTLINK TNEXTLINKIA TNEXTPGLINK
    TNEXTPGLINKIA TOPLINKSTPREVBUTTON
    TPREVBUTTON TPREVBUTTONIA TPREVLINK TPREVLINKIA TPREVPGLINK TPREVPGLINKIA TREVERSETSINGLETXT
    TSINGLETXTTSLICETSLICEBEGTSLICEEND TSORTTSUBJECTBEG
    TSUBJECTBEG TSUBJECTEND TSUBLISTBEG TSUBLISTEND TSUBSORT TTITLE TTOPBEGINTTOPEND
    TTOPEND UMASK USINGLASTPG
    WEEKDAYS WEEKDAYSABR


    +

    @@ -405,7 +388,7 @@

    Resource list


    -98/02/23 18:35:01
    +98/03/03 18:58:31
    MHonArc
    diff --git a/doc/resources/add.html b/doc/resources/add.html index f6de65b..7de933f 100644 --- a/doc/resources/add.html +++ b/doc/resources/add.html @@ -106,10 +106,10 @@

    See Also


    -97/06/03 17:03:54
    +98/03/03 18:19:25
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/archive.html b/doc/resources/archive.html index 9a5b0af..3cc1b98 100644 --- a/doc/resources/archive.html +++ b/doc/resources/archive.html @@ -68,16 +68,16 @@

    Examples

     <MIMEFilters override>
    -application/*:m2h_external'filter:mhexternal.pl
    -audio/*:m2h_external'filter:mhexternal.pl
    -image/*:m2h_external'filter:mhexternal.pl
    -model/*:m2h_external'filter:mhexternal.pl
    -message/*:m2h_external'filter:mhexternal.pl
    -text/*:m2h_external'filter:mhexternal.pl
    -video/*:m2h_external'filter:mhexternal.pl
    +application/*;m2h_external::filter;mhexternal.pl
    +audio/*;m2h_external::filter;mhexternal.pl
    +image/*;m2h_external::filter;mhexternal.pl
    +model/*;m2h_external::filter;mhexternal.pl
    +message/*;m2h_external::filter;mhexternal.pl
    +text/*;m2h_external::filter;mhexternal.pl
    +video/*;m2h_external::filter;mhexternal.pl
     </MIMEFilters>
    -<MIMEArgs>
    -m2h_external'filter: usename
    +<MIMEArgs override>
    +m2h_external::filter; usename
     </MIMEArgs>
     

    For this example, let's assume this resource file is called @@ -162,7 +162,7 @@

    See Also


    -98/02/23 18:34:19
    +98/03/03 18:51:54
    MHonArc
    diff --git a/doc/resources/authorbegin.html b/doc/resources/authorbegin.html index 07c9c53..b291462 100644 --- a/doc/resources/authorbegin.html +++ b/doc/resources/authorbegin.html @@ -68,93 +68,93 @@

    Default Setting


    Resource Variables

    - +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -205,11 +205,11 @@

    See Also


    -97/06/03 17:03:54
    +98/03/03 18:19:25
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/authorend.html b/doc/resources/authorend.html index 3083dfd..1e59f32 100644 --- a/doc/resources/authorend.html +++ b/doc/resources/authorend.html @@ -90,11 +90,11 @@

    See Also


    -97/06/03 17:03:55
    +98/03/03 18:19:26
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/authsort.html b/doc/resources/authsort.html index b11840a..3908f60 100644 --- a/doc/resources/authsort.html +++ b/doc/resources/authsort.html @@ -89,11 +89,11 @@

    See Also


    -97/06/03 17:03:55
    +98/03/03 18:19:26
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/botlinks.html b/doc/resources/botlinks.html index 56ff853..52fa6c2 100644 --- a/doc/resources/botlinks.html +++ b/doc/resources/botlinks.html @@ -80,289 +80,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -399,10 +403,10 @@

    See Also


    -97/06/03 17:03:55
    +98/03/03 18:19:26
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/charsetconverters.html b/doc/resources/charsetconverters.html index b551b21..cdfae65 100644 --- a/doc/resources/charsetconverters.html +++ b/doc/resources/charsetconverters.html @@ -66,7 +66,7 @@

    Description

    Example:

     <CharsetConverters>
    -iso-8859-1:iso_8859'str2sgml:iso8859.pl
    +iso-8859-1;iso_8859::str2sgml;iso8859.pl
     </CharsetConverters>
     
    @@ -76,14 +76,13 @@

    Description

    source file is optional if the routine is known to be define in an already listed source file.

    - +
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    - @@ -160,19 +159,19 @@

    Default Setting

     <CharsetConverters>
    -plain:main'htmlize:
    -us-ascii:main'htmlize:
    -iso-8859-1:main'htmlize:
    -iso-8859-2:iso_8859'str2sgml:iso8859.pl
    -iso-8859-3:iso_8859'str2sgml:iso8859.pl
    -iso-8859-4:iso_8859'str2sgml:iso8859.pl
    -iso-8859-5:iso_8859'str2sgml:iso8859.pl
    -iso-8859-6:iso_8859'str2sgml:iso8859.pl
    -iso-8859-7:iso_8859'str2sgml:iso8859.pl
    -iso-8859-8:iso_8859'str2sgml:iso8859.pl
    -iso-8859-9:iso_8859'str2sgml:iso8859.pl
    -iso-8859-10:iso_8859'str2sgml:iso8859.pl
    -default:-ignore-
    +plain;		mhonarc::htmlize;
    +us-ascii;	mhonarc::htmlize;
    +iso-8859-1;	mhonarc::htmlize;
    +iso-8859-2;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-3;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-4;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-5;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-6;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-7;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-8;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-9;	iso_8859::str2sgml;	iso8859.pl
    +iso-8859-10;	iso_8859::str2sgml;	iso8859.pl
    +default;	-ignore-
     </CharsetConverters>
     
    @@ -194,7 +193,7 @@

    Examples

     <CharsetConverters>
    -iso-8859-1:-decode-
    +iso-8859-1;-decode-
     </CharsetConverters>
     
    @@ -210,13 +209,15 @@

    Version

    See Also

    -DECODEHEADS +DECODEHEADS, +MIMEFILTERS, +PERLINC


    -98/02/23 16:15:37
    +98/03/03 18:19:26
    MHonArc
    Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/conlen.html b/doc/resources/conlen.html index c6e5f3a..5115655 100644 --- a/doc/resources/conlen.html +++ b/doc/resources/conlen.html @@ -90,10 +90,10 @@

    See Also


    -97/06/03 17:03:56
    +98/03/03 18:19:27
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/datefields.html b/doc/resources/datefields.html index 5d268ba..970d175 100644 --- a/doc/resources/datefields.html +++ b/doc/resources/datefields.html @@ -90,7 +90,7 @@

    See Also


    -98/02/18 18:49:03
    +98/03/03 18:19:27
    MHonArc
    diff --git a/doc/resources/daybegin.html b/doc/resources/daybegin.html index 30f812a..dff876d 100644 --- a/doc/resources/daybegin.html +++ b/doc/resources/daybegin.html @@ -68,93 +68,93 @@

    Default Setting


    Resource Variables

    -
    NOTE

    Package qualification must use Perl 4 syntax. If Perl 5 -'::' -qualification is desired, then values should be separated by -a semi-colon. +

    For backwards compatibility, the values of a converter specification +can be separated with a colon, ":". However, if you use a colon, +package qualification of a function must use Perl 4 syntax.

    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -208,11 +208,11 @@

    See Also


    -97/06/03 17:03:57
    +98/03/03 18:19:27
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/dayend.html b/doc/resources/dayend.html index 6ba8738..0fa6667 100644 --- a/doc/resources/dayend.html +++ b/doc/resources/dayend.html @@ -90,11 +90,11 @@

    See Also


    -97/06/03 17:03:57
    +98/03/03 18:19:27
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/dbfile.html b/doc/resources/dbfile.html index 657f6e5..17e1f9b 100644 --- a/doc/resources/dbfile.html +++ b/doc/resources/dbfile.html @@ -95,10 +95,10 @@

    See Also


    -97/06/03 17:03:57
    +98/03/03 18:19:28
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/decodeheads.html b/doc/resources/decodeheads.html index b7f9509..b8a9734 100644 --- a/doc/resources/decodeheads.html +++ b/doc/resources/decodeheads.html @@ -93,10 +93,10 @@

    See Also


    -97/06/03 17:03:58
    +98/03/03 18:19:28
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/definederived.html b/doc/resources/definederived.html index 355c11a..206c28f 100644 --- a/doc/resources/definederived.html +++ b/doc/resources/definederived.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -442,10 +446,10 @@

    See Also


    -97/06/03 17:03:58
    +98/03/03 18:19:28
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/definevar.html b/doc/resources/definevar.html index 2b5f05a..4c0ba10 100644 --- a/doc/resources/definevar.html +++ b/doc/resources/definevar.html @@ -136,10 +136,10 @@

    See Also


    -98/02/16 14:12:32
    +98/03/03 18:19:28
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/defrcfile.html b/doc/resources/defrcfile.html index d93ee11..a73254c 100644 --- a/doc/resources/defrcfile.html +++ b/doc/resources/defrcfile.html @@ -97,11 +97,11 @@

    See Also


    -97/06/03 17:03:59
    +98/03/03 18:19:29
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/defrcname.html b/doc/resources/defrcname.html index fd18775..b76f59e 100644 --- a/doc/resources/defrcname.html +++ b/doc/resources/defrcname.html @@ -77,11 +77,11 @@

    See Also


    -97/06/03 17:03:59
    +98/03/03 18:19:29
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/doc.html b/doc/resources/doc.html index 0c891de..481a2f7 100644 --- a/doc/resources/doc.html +++ b/doc/resources/doc.html @@ -86,10 +86,10 @@

    See Also


    -97/06/03 17:04:00
    +98/03/03 18:19:29
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/docurl.html b/doc/resources/docurl.html index 19cc4d5..ceee254 100644 --- a/doc/resources/docurl.html +++ b/doc/resources/docurl.html @@ -85,10 +85,10 @@

    See Also


    -97/06/03 17:04:00
    +98/03/03 18:19:29
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/editidx.html b/doc/resources/editidx.html index 3e6ad70..f5ef093 100644 --- a/doc/resources/editidx.html +++ b/doc/resources/editidx.html @@ -84,10 +84,10 @@

    See Also


    -97/06/03 17:04:00
    +98/03/03 18:19:29
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/excs.html b/doc/resources/excs.html index d3b961d..1321c7f 100644 --- a/doc/resources/excs.html +++ b/doc/resources/excs.html @@ -141,10 +141,10 @@

    See Also


    -98/02/13 20:13:06
    +98/03/03 18:19:30
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/expireage.html b/doc/resources/expireage.html index 2ea848e..630bd73 100644 --- a/doc/resources/expireage.html +++ b/doc/resources/expireage.html @@ -137,11 +137,11 @@

    See Also


    -97/06/03 17:04:01
    +98/03/03 18:19:30
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/expiredate.html b/doc/resources/expiredate.html index b46e004..55853ba 100644 --- a/doc/resources/expiredate.html +++ b/doc/resources/expiredate.html @@ -134,11 +134,11 @@

    See Also


    -97/06/03 17:04:02
    +98/03/03 18:19:30
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fieldorder.html b/doc/resources/fieldorder.html index 1953440..42a049d 100644 --- a/doc/resources/fieldorder.html +++ b/doc/resources/fieldorder.html @@ -125,10 +125,10 @@

    See Also


    -98/02/13 20:13:07
    +98/03/03 18:19:31
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fieldsbeg.html b/doc/resources/fieldsbeg.html index 3bf3e41..231998f 100644 --- a/doc/resources/fieldsbeg.html +++ b/doc/resources/fieldsbeg.html @@ -127,10 +127,10 @@

    See Also


    -97/06/03 17:04:02
    +98/03/03 18:19:31
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fieldsend.html b/doc/resources/fieldsend.html index 3af93d3..3bf420d 100644 --- a/doc/resources/fieldsend.html +++ b/doc/resources/fieldsend.html @@ -97,10 +97,10 @@

    See Also


    -97/06/03 17:04:03
    +98/03/03 18:19:31
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fieldstyles.html b/doc/resources/fieldstyles.html index b1e209d..0b4b0d6 100644 --- a/doc/resources/fieldstyles.html +++ b/doc/resources/fieldstyles.html @@ -121,10 +121,10 @@

    See Also


    -97/06/03 17:04:03
    +98/03/03 18:19:31
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fldbeg.html b/doc/resources/fldbeg.html index d8716d2..20b6f9d 100644 --- a/doc/resources/fldbeg.html +++ b/doc/resources/fldbeg.html @@ -93,10 +93,10 @@

    See Also


    -97/06/03 17:04:03
    +98/03/03 18:19:32
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fldend.html b/doc/resources/fldend.html index 04d0459..d6da366 100644 --- a/doc/resources/fldend.html +++ b/doc/resources/fldend.html @@ -93,10 +93,10 @@

    See Also


    -97/06/03 17:04:04
    +98/03/03 18:19:32
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/folrefs.html b/doc/resources/folrefs.html index 7459869..6ecef0f 100644 --- a/doc/resources/folrefs.html +++ b/doc/resources/folrefs.html @@ -44,7 +44,7 @@

    Syntax


    Description

    -

    If the FOLREFS resource is On, then MhonArc will +

    If the FOLREFS resource is On, then MhonArc will list direct follow-ups and references for a message after the message body.

    @@ -53,7 +53,9 @@

    Description

    customized. If you desire to have all message links in a custom format, you may want to shut this resource off and rely on the TPREVLINK and -TNEXTLINK resources. +TNEXTLINK resources, or the +use of the $TSLICE$ resource variable in a +message page resource.

    @@ -91,16 +93,17 @@

    See Also

    TNEXTLINK, TNEXTLINKIA, TPREVLINK, -TPREVLINKIA +TPREVLINKIA, +TSLICE,


    -97/06/03 17:04:04
    +98/03/03 18:19:32
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/folupbegin.html b/doc/resources/folupbegin.html index 24b563e..e5912bd 100644 --- a/doc/resources/folupbegin.html +++ b/doc/resources/folupbegin.html @@ -112,11 +112,11 @@

    See Also


    -97/06/05 17:52:04
    +98/03/03 18:19:32
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/folupend.html b/doc/resources/folupend.html index a1f4f2e..8960764 100644 --- a/doc/resources/folupend.html +++ b/doc/resources/folupend.html @@ -95,11 +95,11 @@

    See Also


    -97/06/05 17:52:04
    +98/03/03 18:19:33
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/foluplitxt.html b/doc/resources/foluplitxt.html index cefd776..9fec758 100644 --- a/doc/resources/foluplitxt.html +++ b/doc/resources/foluplitxt.html @@ -66,93 +66,93 @@

    Default Setting

    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -185,11 +185,11 @@

    See Also


    -97/06/05 17:52:05
    +98/03/03 18:19:33
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/footer.html b/doc/resources/footer.html index 8337086..451aff7 100644 --- a/doc/resources/footer.html +++ b/doc/resources/footer.html @@ -110,10 +110,10 @@

    See Also


    -97/06/03 17:04:05
    +98/03/03 18:19:33
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/force.html b/doc/resources/force.html index 013fbef..e099efd 100644 --- a/doc/resources/force.html +++ b/doc/resources/force.html @@ -104,11 +104,11 @@

    See Also


    -97/06/03 17:04:05
    +98/03/03 18:19:33
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/fromfields.html b/doc/resources/fromfields.html index 8fa8558..5b4003f 100644 --- a/doc/resources/fromfields.html +++ b/doc/resources/fromfields.html @@ -91,7 +91,7 @@

    See Also


    -98/02/23 16:16:27
    +98/03/03 18:19:33
    MHonArc
    diff --git a/doc/resources/genidx.html b/doc/resources/genidx.html index 9dfe531..b0ff91c 100644 --- a/doc/resources/genidx.html +++ b/doc/resources/genidx.html @@ -88,11 +88,11 @@

    See Also


    -97/06/03 17:04:06
    +98/03/03 18:19:34
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/gmtdatefmt.html b/doc/resources/gmtdatefmt.html index 4c16bfa..8571ba5 100644 --- a/doc/resources/gmtdatefmt.html +++ b/doc/resources/gmtdatefmt.html @@ -199,10 +199,10 @@

    See Also


    -97/06/03 17:04:06
    +98/03/03 18:19:34
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/gzipexe.html b/doc/resources/gzipexe.html index 62504b8..d45d071 100644 --- a/doc/resources/gzipexe.html +++ b/doc/resources/gzipexe.html @@ -96,11 +96,11 @@

    See Also


    -97/06/03 17:04:06
    +98/03/03 18:19:34
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/gzipfiles.html b/doc/resources/gzipfiles.html index 9b6402b..bc40cb1 100644 --- a/doc/resources/gzipfiles.html +++ b/doc/resources/gzipfiles.html @@ -92,11 +92,11 @@

    See Also


    -97/06/03 17:04:07
    +98/03/03 18:19:34
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/gziplinks.html b/doc/resources/gziplinks.html index d0c7c15..4565b99 100644 --- a/doc/resources/gziplinks.html +++ b/doc/resources/gziplinks.html @@ -87,11 +87,11 @@

    See Also


    -97/06/03 17:04:07
    +98/03/03 18:19:35
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/headbodysep.html b/doc/resources/headbodysep.html index 79e888b..7654893 100644 --- a/doc/resources/headbodysep.html +++ b/doc/resources/headbodysep.html @@ -68,57 +68,57 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -149,10 +149,10 @@

    See Also


    -97/06/03 17:04:07
    +98/03/03 18:19:35
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/header.html b/doc/resources/header.html index aa5162e..377746c 100644 --- a/doc/resources/header.html +++ b/doc/resources/header.html @@ -111,10 +111,10 @@

    See Also


    -97/06/03 17:04:08
    +98/03/03 18:19:35
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/htmlext.html b/doc/resources/htmlext.html index 9abd28a..24a9525 100644 --- a/doc/resources/htmlext.html +++ b/doc/resources/htmlext.html @@ -95,11 +95,11 @@

    See Also


    -97/06/03 17:04:09
    +98/03/03 18:19:35
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/icons.html b/doc/resources/icons.html index 43245a5..c703fdc 100644 --- a/doc/resources/icons.html +++ b/doc/resources/icons.html @@ -152,10 +152,10 @@

    See Also


    -97/06/03 17:04:09
    +98/03/03 18:19:36
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/idxfname.html b/doc/resources/idxfname.html index 59fd20b..38bd68e 100644 --- a/doc/resources/idxfname.html +++ b/doc/resources/idxfname.html @@ -89,10 +89,10 @@

    See Also


    -97/06/03 17:04:10
    +98/03/03 18:19:36
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/idxlabel.html b/doc/resources/idxlabel.html index 51b180a..e128913 100644 --- a/doc/resources/idxlabel.html +++ b/doc/resources/idxlabel.html @@ -96,11 +96,11 @@

    See Also


    -97/06/03 17:04:10
    +98/03/03 18:19:36
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/idxpgbegin.html b/doc/resources/idxpgbegin.html index afd20c3..6b61040 100644 --- a/doc/resources/idxpgbegin.html +++ b/doc/resources/idxpgbegin.html @@ -72,117 +72,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -229,10 +229,10 @@

    See Also


    -97/06/03 17:04:10
    +98/03/03 18:19:36
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/idxpgend.html b/doc/resources/idxpgend.html index 146aec8..587680f 100644 --- a/doc/resources/idxpgend.html +++ b/doc/resources/idxpgend.html @@ -61,117 +61,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -204,10 +204,10 @@

    See Also


    -97/06/03 17:04:11
    +98/03/03 18:19:37
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/idxprefix.html b/doc/resources/idxprefix.html index 61f42e7..00907f5 100644 --- a/doc/resources/idxprefix.html +++ b/doc/resources/idxprefix.html @@ -103,10 +103,10 @@

    See Also


    -97/06/03 17:04:11
    +98/03/03 18:19:37
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/idxsize.html b/doc/resources/idxsize.html index 53303f5..f86a10a 100644 --- a/doc/resources/idxsize.html +++ b/doc/resources/idxsize.html @@ -88,10 +88,10 @@

    See Also


    -97/06/03 17:04:11
    +98/03/03 18:19:37
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/include.html b/doc/resources/include.html index aeb8b6d..1c882da 100644 --- a/doc/resources/include.html +++ b/doc/resources/include.html @@ -100,10 +100,10 @@

    See Also


    -97/06/03 17:04:12
    +98/03/03 18:19:37
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/labelbeg.html b/doc/resources/labelbeg.html index 6f30647..be5ec9b 100644 --- a/doc/resources/labelbeg.html +++ b/doc/resources/labelbeg.html @@ -95,10 +95,10 @@

    See Also


    -97/06/03 17:04:12
    +98/03/03 18:19:37
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/labelend.html b/doc/resources/labelend.html index e6dc4bd..f2f905e 100644 --- a/doc/resources/labelend.html +++ b/doc/resources/labelend.html @@ -95,10 +95,10 @@

    See Also


    -97/06/03 17:04:13
    +98/03/03 18:19:38
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/labelstyles.html b/doc/resources/labelstyles.html index 3e2070d..36d988f 100644 --- a/doc/resources/labelstyles.html +++ b/doc/resources/labelstyles.html @@ -122,10 +122,10 @@

    See Also


    -97/06/03 17:04:13
    +98/03/03 18:19:38
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/listbegin.html b/doc/resources/listbegin.html index ffe904c..53ef867 100644 --- a/doc/resources/listbegin.html +++ b/doc/resources/listbegin.html @@ -85,117 +85,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -250,10 +250,10 @@

    See Also


    -97/06/03 17:04:13
    +98/03/03 18:19:38
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/listend.html b/doc/resources/listend.html index 8d4cc1d..649d36e 100644 --- a/doc/resources/listend.html +++ b/doc/resources/listend.html @@ -64,117 +64,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -206,10 +206,10 @@

    See Also


    -97/06/03 17:04:14
    +98/03/03 18:19:38
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/litemplate.html b/doc/resources/litemplate.html index cc4e3d4..c8024c1 100644 --- a/doc/resources/litemplate.html +++ b/doc/resources/litemplate.html @@ -66,93 +66,93 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -193,10 +193,10 @@

    See Also


    -97/06/03 17:04:14
    +98/03/03 18:19:39
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/localdatefmt.html b/doc/resources/localdatefmt.html index 49621bc..48d8753 100644 --- a/doc/resources/localdatefmt.html +++ b/doc/resources/localdatefmt.html @@ -199,10 +199,10 @@

    See Also


    -97/06/03 17:04:15
    +98/03/03 18:19:39
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/lockdelay.html b/doc/resources/lockdelay.html index e8a1d87..0b24155 100644 --- a/doc/resources/lockdelay.html +++ b/doc/resources/lockdelay.html @@ -89,11 +89,11 @@

    See Also


    -97/06/03 17:04:15
    +98/03/03 18:19:39
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/locktries.html b/doc/resources/locktries.html index 8d15dba..b84e2e4 100644 --- a/doc/resources/locktries.html +++ b/doc/resources/locktries.html @@ -88,11 +88,11 @@

    See Also


    -97/06/03 17:04:15
    +98/03/03 18:19:39
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/mailto.html b/doc/resources/mailto.html index b1a62e5..ff45d6c 100644 --- a/doc/resources/mailto.html +++ b/doc/resources/mailto.html @@ -90,10 +90,10 @@

    See Also


    -97/06/03 17:04:16
    +98/03/03 18:19:40
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/mailtourl.html b/doc/resources/mailtourl.html index cabcb5e..249d96b 100644 --- a/doc/resources/mailtourl.html +++ b/doc/resources/mailtourl.html @@ -143,7 +143,7 @@

    See Also


    -98/02/23 16:16:05
    +98/03/03 18:19:40
    MHonArc
    Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/main.html b/doc/resources/main.html index 7f8e2c4..41e1c6d 100644 --- a/doc/resources/main.html +++ b/doc/resources/main.html @@ -87,10 +87,10 @@

    See Also


    -97/06/03 17:04:17
    +98/03/03 18:19:40
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/maxsize.html b/doc/resources/maxsize.html index 6468f16..962e616 100644 --- a/doc/resources/maxsize.html +++ b/doc/resources/maxsize.html @@ -98,10 +98,10 @@

    See Also


    -97/06/03 17:04:17
    +98/03/03 18:19:40
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/mhpattern.html b/doc/resources/mhpattern.html index a2235d0..0bb5fed 100644 --- a/doc/resources/mhpattern.html +++ b/doc/resources/mhpattern.html @@ -101,10 +101,10 @@

    See Also


    -97/06/03 17:04:17
    +98/03/03 18:19:40
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/mimeargs.html b/doc/resources/mimeargs.html index 30c1986..42518d4 100644 --- a/doc/resources/mimeargs.html +++ b/doc/resources/mimeargs.html @@ -51,13 +51,13 @@

    Description

    The syntax for each line of the the MIMEARGS element is as follows:

    -

    content-type:argument-string +

    content-type;argument-string

    Or,

    -

    filter-name:argument-string +

    filter-name;argument-string

    The format of argument strings is dependent on the filter that @@ -71,11 +71,9 @@

    Description

    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    - @@ -88,10 +86,10 @@

    Default Setting

     <MIMEArgs>
    -image/gif:inline
    -image/jpeg:inline
    -image/x-xbitmap:inline
    -image/x-xbm:inline
    +image/gif;	 inline
    +image/jpeg;	 inline
    +image/x-xbitmap; inline
    +image/x-xbm;	 inline
     </MIMEArgs>
     
    @@ -133,7 +131,7 @@

    See Also


    -98/02/23 16:15:37
    +98/03/03 18:19:41
    MHonArc
    Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/mimefilters.html b/doc/resources/mimefilters.html index 9045968..1cd64d0 100644 --- a/doc/resources/mimefilters.html +++ b/doc/resources/mimefilters.html @@ -51,9 +51,9 @@

    Description

    The syntax for each line of the the MIMEFILTERS element is as follows:

    -

    content-type:routine-name:file-of-routine

    +

    content-type;routine-name;file-of-routine

    -

    The definition of each colon-separated value is as follows: +

    The definition of each semi-colon-separated value is as follows:

    @@ -67,19 +67,7 @@

    Description

    routine-name

    The actual routine name of the filter. The name should be fully qualified by the package it is defined in -(e.g. "mypackage'filter").

    - -
    NOTE

    Package qualification must use Perl 4 syntax when specifing -arguments at the filter name level. If Perl 5 -'::' -qualification is desired, then values should be separated by -a semi-colon. +

    For backwards compatibility, the values of a MIMEARGS specification +can be separated with a colon, ":". However, if you use a colon, +package qualification of a function must use Perl 4 syntax.

    - - - - -
    NOTE

    Package qualification must use Perl 4 syntax. If Perl 5 -'::' -qualification is desired, then values should be separated by -a semi-colon. -

    -
    +(e.g. "mypackage::filter").

    file-of-routine

    The name of the file that defines @@ -92,10 +80,21 @@

    Description

    -

    Any whitespace is stripped out before processing. + + + + + +
    NOTE

    For backwards compatibility, the values of a filter specification +can be separated with a colon, ":". However, if you use a colon, +package qualification of a function must use Perl 4 syntax. +

    +
    + +

    Whitespace is stripped out for each filter specification.

    -

    Writing Filters

    +

    Writing Filters

    If you want to write your own filter for use in MHonArc, you need to know the Perl programming language. The following @@ -170,7 +169,7 @@

    Argument Descriptions
    `\034' character. To make your filter less likely to break due to changes in MHonArc, you may use the -$readmail'FieldSep +$readmail::FieldSep variable instead of `\034'.

    @@ -229,12 +228,12 @@
    Argument Descriptions
    Return Value
    -

    The return value is treated as an array. The first item in the array +

    The return value is treated as a list. The first item of the list is a string representing the HTML markup to insert in the HTMLized message. An empty string may be returned to tell MHonArc that the routine was unable to filter data.

    -

    Any other array items are treated as names of any files that were +

    Any other list items are treated as names of any files that were generated by the filter. MHonArc needs to keep track if any extra files that a filter may generate in order for MHonArc to delete those files if the message gets removed from the archive. @@ -263,7 +262,7 @@

    Filter Writing Tips

  • If the filter creates derived files (like the image filters), -you may use the variable $'OUTDIR +you may use the variable $mhonarc::OUTDIR to determine the location of the mail archive.

    @@ -271,7 +270,7 @@

    Filter Writing Tips

    NOTE

    Do not include -$'OUTDIR as part as the +$mhonarc::OUTDIR as part as the filename that is returned to MHonArc. If the filter does create files, just return the base name. @@ -288,13 +287,17 @@

    Filter Writing Tips

    on the file, and if the file does not return true, Perl will abort execution.

    +
  • Test your filter before production use. +

    Using C

    If a MIME filter requires the utilization of a C program, or other non-Perl executable, a Perl wrapper must be written for the -program in-order to interface with MHonArc. +program in-order to interface with MHonArc. The wrapper must +follow the conventions described in +Writing Filters.

    @@ -303,22 +306,23 @@

    Default Setting

     <MIMEFilters>
    -application/*:m2h_external'filter:mhexternal.pl
    -application/x-patch:m2h_text_plain'filter:mhtxtplain.pl
    -audio/*:m2h_external'filter:mhexternal.pl
    -model/*:m2h_external'filter:mhexternal.pl
    -image/*:m2h_external'filter:mhexternal.pl
    -message/partial:m2h_text_plain'filter:mhtxtplain.pl
    -text/*:m2h_text_plain'filter:mhtxtplain.pl
    -text/enriched:m2h_text_enriched'filter:mhtxtenrich.pl
    -text/html:m2h_text_html'filter:mhtxthtml.pl
    -text/plain:m2h_text_plain'filter:mhtxtplain.pl
    -text/richtext:m2h_text_enriched'filter:mhtxtenrich.pl
    -text/setext:m2h_text_setext'filter:mhtxtsetext.pl
    -text/tab-separated-values:m2h_text_plain'filter:mhtxtplain.pl
    -text/x-html:m2h_text_html'filter:mhtxthtml.pl
    -text/x-setext:m2h_text_setext'filter:mhtxtsetext.pl
    -video/*:m2h_external'filter:mhexternal.pl
    +application/*;		   m2h_external::filter;	mhexternal.pl
    +application/x-patch;	   m2h_text_plain::filter;	mhtxtplain.pl
    +audio/*;		   m2h_external::filter;	mhexternal.pl
    +chemical/*;		   m2h_external::filter;	mhexternal.pl
    +model/*;		   m2h_external::filter;	mhexternal.pl
    +image/*;		   m2h_external::filter;	mhexternal.pl
    +message/partial;	   m2h_text_plain::filter;	mhtxtplain.pl
    +text/*;			   m2h_text_plain::filter;	mhtxtplain.pl
    +text/enriched;		   m2h_text_enriched::filter;	mhtxtenrich.pl
    +text/html;		   m2h_text_html::filter;	mhtxthtml.pl
    +text/plain;		   m2h_text_plain::filter;	mhtxtplain.pl
    +text/richtext;		   m2h_text_enriched::filter;	mhtxtenrich.pl
    +text/setext;		   m2h_text_setext::filter;	mhtxtsetext.pl
    +text/tab-separated-values; m2h_text_tsv::filter;	mhtxttsv.pl
    +text/x-html;		   m2h_text_html::filter;	mhtxthtml.pl
    +text/x-setext;		   m2h_text_setext::filter;	mhtxtsetext.pl
    +video/*;		   m2h_external::filter;	mhexternal.pl
     </MIMEFilters>
     
    @@ -326,7 +330,7 @@

    Default Setting


    -

    m2h_external'filter

    +

    m2h_external::filter

    The filter extracts the data into a separate file and puts a hyperlink to the file into the HTMLized message.

    @@ -337,13 +341,12 @@

    m2h_external'filter

    generated.

    -

    m2h_external'filter can take the +

    m2h_external::filter can take the following arguments:

    - - - - - - + + + - -
    iconurl="url"

    Use "url" as the url for the icon to use @@ -353,13 +356,11 @@

    m2h_external'filter

    The double quotes are required.

    inline

    Inline image data by default if content-disposition not defined.

    ext=ext

    Use ext as the filename extension. @@ -368,7 +369,6 @@

    m2h_external'filter

    content-type not recognized by the filter.

    type="description"

    Use "description" as type description of the @@ -378,7 +378,6 @@

    m2h_external'filter

    content-type not recognized by the filter.

    subdir

    Place derived file in a subdirectory of the archive. @@ -387,7 +386,13 @@

    m2h_external'filter

    specified to avoid security and name conflict problems.

    target=name

    Set the TARGET attribute of anchor link to file +Default value is undefined (ie. no TARGET attribute will be +written). +

    +
    useicon

    Include a content-type icon with the hyperlink to @@ -396,7 +401,6 @@

    m2h_external'filter

    defined by the ICONS resource.

    usename

    Use (file)name attribute for determining name @@ -406,450 +410,694 @@

    m2h_external'filter

    option).

    All arguments should be separated by at least one space.

    -

    The following table shows the default list of content-types, -with descriptions, m2h_external'filter +

    The following table shows the default list of content-types with the +filename extension used and a short +description that m2h_external::filter recognizes:

    +
    - - - +
    Content-typeDescription
    + + - + + - + + + + + + - + + - + + - + + - + + + + + + - + + - + + - + + - - + + + - + + - + + - + + - + + - + + - + + - + + - + + + + + + + + + + - + + - + + - + + - + + - - - - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + + + + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + + + + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + + + + + - + + - + + - + + - + + - + + - + + - + + - - - - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - - + + + - + + - + + - + + - + + - + + - - - - - + + + - + + - + + - + + - + + - + + - + + - + + - - - - + +
    Content-typeExtensionDescription
    application/astoundapplication/astoundasd Astound presentation
    application/fastmanapplication/envoyevyEnvoy file
    application/fastmanlcc fastman file
    application/fractalsapplication/fractalsfif Fractal Image Format
    application/igesapplication/igesiges IGES file
    application/mac-binhex40application/mac-binhex40hqx Mac BinHex archive
    application/mbedletapplication/mathematicamaMathematica Notebook document
    application/mbedletmbd mbedlet file
    application/mswordapplication/msworddoc MS-Word document
    application/octet-streamapplication/octet-streambin Binary data
    application/odaapplication/odaoda ODA file
    application/pdfPDF document
    application/pdfpdfAdobe PDF document
    application/pgpapplication/pgppgp PGP message
    application/pgp-signatureapplication/pgp-signaturepgp PGP signature
    application/postscriptapplication/postscriptps PostScript document
    application/rtfapplication/rtfrtf RTF file
    application/sgmlapplication/sgmlsgml SGML document
    application/studiomapplication/studiomsmp Studio M file
    application/timbuktuapplication/timbuktutbt timbuktu file
    application/vnd.ms-excelapplication/vis5dv5dVis5D dataset
    application/vnd.hp-hpglhpgHPGL file
    application/vnd.ms-excelxls MS-Excel spreadsheet
    application/vnd.ms-powerpointapplication/vnd.ms-powerpointppt MS-Powerpoint presentation
    application/vnd.ms-projectapplication/vnd.ms-projectmpp MS-Project file
    application/winhlpapplication/winhlphlp WinHelp document
    application/wordperfect5.1application/wordperfect5.1hlp WordPerfect 5.1 document
    application/x-NET-InstallNet Install file
    application/x-asapapplication/x-asapasp asap file
    application/x-bcpioapplication/x-bcpiobcpio BCPIO file
    application/x-compressapplication/x-compressZ Unix compressed data
    application/x-cpioapplication/x-cpiocpio CPIO file
    application/x-cshapplication/x-cshcsh C-Shell script
    application/x-dotapplication/x-dotdot dot file
    application/x-dviapplication/x-dvidvi TeX dvi file
    application/x-earthtimeapplication/x-earthtimeetc Earthtime file
    application/x-envoyapplication/x-envoyevy Envoy file
    application/x-excelapplication/x-excelxls MS-Excel spreadsheet
    application/x-gtarapplication/x-gtargtar GNU Unix tar archive
    application/x-gzipapplication/x-gzipgz GNU Zip compressed data
    application/x-hdfapplication/x-hdfhdf HDF file
    application/x-javascriptapplication/x-javascriptjs JavaScript source
    application/x-kshapplication/x-kshksh Korn Shell script
    application/x-latexapplication/x-latexlatex LaTeX document
    application/x-makerapplication/x-makerfm FrameMaker document
    application/x-mifapplication/x-mifmif Frame MIF document
    application/x-mochaapplication/x-mochamoc mocha file
    application/x-msaccessapplication/x-msaccessmdb MS-Access database
    application/x-mscardfileapplication/x-mscardfilecrd MS-CardFile
    application/x-msclipapplication/x-msclipclp MS-Clip file
    application/x-msmediaviewapplication/x-msmediaviewm14 MS-Media View file
    application/x-msmetafileapplication/x-msmetafilewmf MS-Metafile
    application/x-msmoneyapplication/x-msmoneymny MS-Money file
    application/x-mspublisherapplication/x-mspublisherpub MS-Publisher document
    application/x-msscheduleapplication/x-msschedulescd MS-Schedule file
    application/x-msterminalapplication/x-msterminaltrm MS-Terminal
    application/x-mswriteapplication/x-mswritewri MS-Write document
    application/x-netcdfapplication/x-net-installinsNet Install file
    application/x-netcdfcdf Cdf file
    application/x-ns-proxy-autoconfigapplication/x-ns-proxy-autoconfigproxy Netscape Proxy Auto Config
    application/x-patchapplication/x-patchpatch Source code patch
    application/x-perlapplication/x-perlpl Perl program
    application/x-pointplusapplication/x-pointpluscss pointplus file
    application/x-salsaapplication/x-salsaslc salsa file
    application/x-scriptapplication/x-scriptscript A script file
    application/x-shapplication/x-shsh Bourne shell script
    application/x-sharapplication/x-sharshar Unix shell archive
    application/x-spriteapplication/x-spritespr sprite file
    application/x-stuffitapplication/x-stuffitsit Macintosh archive
    application/x-sv4cpioapplication/x-sv4cpiosv4cpio SV4Cpio file
    application/x-sv4crcapplication/x-sv4crcsv4crc SV4Crc file
    application/x-tarapplication/x-tartar Unix tar archive
    application/x-tclapplication/x-tcltcl Tcl script
    application/x-texapplication/x-textex TeX document
    application/x-texinfoapplication/x-texinfotexinfo TeXInfo document
    application/x-timbuktuapplication/x-timbuktutbp timbuktu file
    application/x-tkinedapplication/x-tkinedtki tkined file
    application/x-troffapplication/x-troffroff Troff document
    application/x-troff-manapplication/x-troff-manman Unix manual page
    application/x-troff-meapplication/x-troff-meme Troff ME-macros document
    application/x-troff-msapplication/x-troff-msms Troff MS-macros document
    application/x-ustarapplication/x-ustarustar UStar file
    application/x-wais-sourceapplication/x-wais-sourcesrc WAIS Source
    application/x-zip-compressedapplication/x-zip-compressedzip Zip compressed data
    application/zipapplication/zipzip Zip archive
    audio/basicaudio/basicsnd Basic audio
    audio/echospeechaudio/echospeeches Echospeech audio
    audio/midiaudio/midimidi MIDI audio
    audio/x-aiffaudio/x-aiffaif AIF audio
    audio/x-epacaudio/x-epacpae epac audio
    audio/x-midiaudio/x-midimidi MIDI audio
    audio/x-pacaudio/x-mpegmp2MPEG audio
    audio/x-pacpac pac audio
    audio/x-pn-realaudioaudio/x-pn-realaudiora PN Realaudio
    audio/x-wavaudio/x-wavwav Wave audio
    image/bmpchemical/chem3dc3dChem3d chemical test
    chemical/chemdrawchmChemdraw chemical test
    chemical/cifcifCIF chemical test
    chemical/cmlcmlCML chemical test
    chemical/cxfcxfChemical Exhange Format file
    chemical/daylight-smilessmiSMILES format file
    chemical/embl-dl-nucleotideembEMBL nucleotide format file
    chemical/gaussian-inputgauGaussian chemical test
    chemical/gcg8-sequencegcgGCG format file
    chemical/genbankgenGENbank data
    chemical/jcamp-dxjdxJcamp chemical spectra test
    chemical/kinemagekinKinemage chemical test
    chemical/macromodel-inputmmdMacromodel chemical test
    chemical/mdl-molfilemolMOL mdl chemical test
    chemical/mdl-rdfrdfRDF chemical test
    chemical/mdl-rxnrxnRXN chemical test
    chemical/mdl-sdfsdfSDF chemical test
    chemical/mdl-tgftgfTGF chemical test
    chemical/mifmifMIF chemical test
    chemical/mopac-inputmopMOPAC data
    chemical/ncbi-asn1asnNCBI data
    chemical/pdbpdbPDB chemical test
    chemical/rosdalrosRosdal data
    image/bmpbmp Windows bitmap
    image/cgmimage/cgmcgm Computer Graphics Metafile
    image/fifimage/fiffif Fractal Image Format image
    image/gifimage/g3faxg3fGroup III FAX image
    image/gifgif GIF image
    image/iefimage/iefief IEF image
    image/ifsimage/ifsifs IFS image
    image/jpegimage/jpegjpg JPEG image
    image/pngimage/pngpng PNG image
    image/tiffimage/tifftif TIFF image
    image/vndimage/vnddwg VND image
    image/waveletimage/waveletwi Wavelet image
    image/x-bmpWindows bitmap
    image/x-cmu-rasterimage/x-cmu-rasterras CMU raster
    image/x-pbmimage/x-pbmpbm Portable bitmap
    image/x-pcximage/x-pcxpcx PCX image
    image/x-pgmimage/x-pgmpgm Portable graymap
    image/x-pictimage/x-pictpict Mac PICT image
    image/x-pnmimage/x-pnmpnm Portable anymap
    image/x-portable-anymapimage/x-portable-anymappnm Portable anymap
    image/x-portable-bitmapimage/x-portable-bitmappbm Portable bitmap
    image/x-portable-graymapimage/x-portable-graymappgm Portable graymap
    image/x-portable-pixmapimage/x-portable-pixmapppm Portable pixmap
    image/x-ppmimage/x-ppmppm Portable pixmap
    image/x-rgbimage/x-rgbrgb RGB image
    image/x-xbitmapimage/x-xbitmapxbm X bitmap
    image/x-xbmimage/x-xbmxbm X bitmap
    image/x-xpixmapimage/x-xpixmapxpm X pixmap
    image/x-xpmimage/x-xpmxpm X pixmap
    image/x-xwdimage/x-xwdxwd X window dump
    image/x-xwindowdumpimage/x-xwindowdumpxwd X window dump
    model/igesmodel/igesiges IGES model
    model/meshmodel/meshmesh Mesh model
    model/vrmlmodel/vrmlwrl VRML model
    text/enrichedEnriched document
    text/enrichedrtxText-enriched document
    text/htmltext/htmlhtml HTML document
    text/plaintext/plaintxt Text document
    text/richtexttext/richtextrtx Richtext document
    text/setexttext/setextstx Setext document
    text/sgmltext/sgmlsgml SGML document
    text/x-htmlHTML document
    text/x-setextSetext document
    text/tab-separated-valuestsvTab separated values
    text/x-speechtext/x-speechtalk Speech document
    video/isivideovideo/isivideofvi isi video
    video/mpegvideo/mpegmpg MPEG movie
    video/msvideovideo/msvideoavi MS Video
    video/quicktimevideo/quicktimemov QuickTime movie
    video/vivovideo/vivoviv vivo video
    video/waveletvideo/waveletwv Wavelet video
    video/x-msvideoMS video
    video/x-sgi-movievideo/x-sgi-moviemovie SGI movie
    +

    -

    m2h_text_enriched'filter

    +

    m2h_text_enriched::filter

    This filter is designed to process text/enriched, or text/richtext, data. The following table summarizes the translation of text/enriched commands to HTML tags:

    - - +
    +
    + - @@ -911,6 +1159,7 @@

    m2h_text_enriched'filter

    Text/Enriched CommandHTML Translation
    <Bold> <B> Stripped
    +

    If the text/enriched contains non-ASCII character, the filter will convert the characters to the appropriate entity references. @@ -926,7 +1175,7 @@

    m2h_text_enriched'filter


    -

    m2h_text_html'filter

    +

    m2h_text_html::filter

    This filter is designed to process text/html or text/x-html data. @@ -937,7 +1186,7 @@

    m2h_text_html'filter


    -

    m2h_text_plain'filter

    +

    m2h_text_plain::filter

    This filter is designed to process text/plain messages and messages with no MIME information. The @@ -963,7 +1212,7 @@

    m2h_text_plain'filter

    -

    m2h_text_plain'filter can take the +

    m2h_text_plain::filter can take the following arguments:

    @@ -971,12 +1220,19 @@

    m2h_text_plain'filter

    - + + + + - + -
    + +
    asis=set1:...asis=set1:...

    Colon separated lists of charsets to leave as-is. Only HTML special characters will be converted into entities.

    default=charset

    Character set to use as the default if no character set +is defined for the message. If option not specified, +"us-ascii" is used. +

    +
    keepspace

    Preserve all spaces if the nonfixed option is specified. All spaces and tabs will be translated to the @@ -984,7 +1240,7 @@

    m2h_text_plain'filter

    maxwidth=#maxwidth=#

    Force the maximum width of lines to be # characters in length. Any lines longer than # characters will be wrapped. @@ -1021,12 +1277,19 @@

    m2h_text_plain'filter

    All arguments should be separated by at least one space.


    -

    m2h_text_setext'filter

    +

    m2h_text_setext::filter

    This filter converts text/setext and text/x-setext messages to HTML.

    +
    +

    m2h_text_tsv::filter

    + +

    This filter converts text/tab-separated-values to HTML. The +tabular data will be converted into an HTML table. +

    +

    Resource Variables

    @@ -1052,6 +1315,7 @@

    Version

    See Also

    +CHARSETCONVERTERS, MIMEARGS, PERLINC

    @@ -1059,7 +1323,7 @@

    See Also


    -98/02/23 16:15:38
    +98/03/03 18:19:41
    MHonArc
    Copyright © 1997-1998 Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/modtime.html b/doc/resources/modtime.html index d943805..4ea14e0 100644 --- a/doc/resources/modtime.html +++ b/doc/resources/modtime.html @@ -90,10 +90,10 @@

    See Also


    -97/06/03 17:04:19
    +98/03/03 18:19:41
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/months.html b/doc/resources/months.html index 72398a7..4715150 100644 --- a/doc/resources/months.html +++ b/doc/resources/months.html @@ -102,10 +102,10 @@

    See Also


    -97/06/03 17:04:19
    +98/03/03 18:19:41
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/monthsabr.html b/doc/resources/monthsabr.html index e012945..2bb23b8 100644 --- a/doc/resources/monthsabr.html +++ b/doc/resources/monthsabr.html @@ -102,10 +102,10 @@

    See Also


    -97/06/03 17:04:19
    +98/03/03 18:19:42
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgbodyend.html b/doc/resources/msgbodyend.html index c4417a8..9d296f4 100644 --- a/doc/resources/msgbodyend.html +++ b/doc/resources/msgbodyend.html @@ -54,57 +54,57 @@

    Default Setting

    Resource Variables

    - +
    - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -133,11 +133,11 @@

    See Also


    -97/06/05 17:52:05
    +98/03/03 18:19:42
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgfoot.html b/doc/resources/msgfoot.html index 8069776..e68d2c3 100644 --- a/doc/resources/msgfoot.html +++ b/doc/resources/msgfoot.html @@ -59,289 +59,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -374,10 +378,10 @@

    See Also


    -97/06/03 17:04:20
    +98/03/03 18:19:42
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msggmtdatefmt.html b/doc/resources/msggmtdatefmt.html index 752a1a0..e144c91 100644 --- a/doc/resources/msggmtdatefmt.html +++ b/doc/resources/msggmtdatefmt.html @@ -190,10 +190,10 @@

    See Also


    -97/06/03 17:04:20
    +98/03/03 18:19:42
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msghead.html b/doc/resources/msghead.html index 78bdef3..70d7be9 100644 --- a/doc/resources/msghead.html +++ b/doc/resources/msghead.html @@ -59,289 +59,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -374,10 +378,10 @@

    See Also


    -97/06/03 17:04:21
    +98/03/03 18:19:43
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgidlink.html b/doc/resources/msgidlink.html new file mode 100644 index 0000000..5648903 --- /dev/null +++ b/doc/resources/msgidlink.html @@ -0,0 +1,391 @@ + + + +MHonArc Resources: MSGIDLINK + + + +
    +MHonArc Resource List
    +
    + +
    +

    MSGIDLINK

    + + +

    Syntax

    + +
    + +
    Envariable
    +

    N/A +

    +
    + +
    Element
    +

    +<MSGIDLINK>
    +markup ...
    +</MSGIDLINK>
    +

    +
    + +
    Command-line Option
    +

    N/A +

    +
    + +
    + + +

    Description

    + +

    MSGIDLINK defines the hyperlink markup for embedded message-ids +in message pages. When MHonArc processes messages, it will scan +the message header and body for message-ids of referenced message. +If the referenced message is in the archive, MHonArc will hyperlink +the message-id to the reference message. The format of the +hyperlink generated is controled by the MSGIDLINK resource. +

    + + +

    Default Setting

    + +
    +<A $A_HREF$>$MSGID$</A>
    +
    + + +

    Resource Variables

    + +
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VariableValue
    $DATE$The date of the message.
    $DDMMYY$Message date in dd/mm/yy format.
    $DOCURL$URL to documentation.
    $FIRSTPG$Filename of first page of main index.
    $FROM$The complete text in the From: field of the message.
    $FROMADDR$The e-mail address in the From: field of the message.
    $FROMNAME$The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$Current GMT date.
    $ICON$The context-type sensistive icon.
    $ICONURL$The URL to the context-type sensistive icon.
    $IDXFNAME$Filename of main index page.
    $IDXLABEL$Label for main index page.
    $IDXPREFIX$Prefix of filenames of main index pages.
    $IDXSIZE$Max number of messages that may be listed in index page.
    $IDXTITLE$The title of the main index page.
    $LASTPG$Filename of last page in of main index.
    $LOCALDATE$Current local date.
    $MMDDYY$Message date in mm/dd/yy format.
    $MSGGMTDATE$GMT date of current message.
    $MSGID$The message-id of the message.
    $MSGLOCALDATE$Local date of current message.
    $MSGNUM$The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$Filename prefix for message files.
    $NEXTBUTTON$Next button markup linking to the next message.
    $NEXTFROM$Content of From field of the next message.
    $NEXTFROMADDR$E-mail address contained in From field of the next message.
    $NEXTFROMNAME$Human name contained in From field of the next message.
    $NEXTLINK$Next link markup linking to the next message.
    $NEXTMSG$Filename of next message.
    $NEXTMSGNUM$Number assigned to next message.
    $NEXTSUBJECT$Subject of next message.
    $NUMFOLUP$Number of explicit follow-ups to the message.
    $NUMOFMSG$Number of messages in the archive.
    $NUMOFPAGES$Number of index pages.
    $ORDNUM$The current listing number of the message.
    $OUTDIR$Pathname of archive.
    $PREVBUTTON$Previous button markup linking to the previous message.
    $PREVFROM$Content of From field of the previous message.
    $PREVFROMADDR$E-mail address contained in From field of the previous message.
    $PREVFROMNAME$Human name contained in From field of the previous message.
    $PREVLINK$Previous link markup linking to the previous message.
    $PREVMSG$Filename of previous message.
    $PREVMSGNUM$Number assigned to previous message.
    $PREVSUBJECT$Subject of previous message.
    $PROG$Program name
    $SUBJECTNA$The subject text of the message without the anchor element.
    $TFIRSTPG$Filename of first page of thread index.
    $TIDXFNAME$Filename of thread index page.
    $TIDXLABEL$Label for thread index page.
    $TIDXPREFIX$Prefix of filenames of thread index pages.
    $TIDXTITLE$Title of thread index.
    $TLASTPG$Filename of last page of thread index.
    $TNEXTBUTTON$Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$Subject of previous message according to the list order of the thread index.
    $TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$Program version.
    $YYMMDD$Message date in yy/mm/dd format.
    + + +

    Examples

    + +

    If you have an archives that is using frames, you may want +to change MSGIDLINK to set the TARGET attibute of the anchor like +the following: +

    +
    +<MsgIdLink>
    +<A TARGET="MAIN" $A_HREF$>$MSGID$</A>
    +</MsgIdLink>
    +
    + + +

    Version

    + +

    2.2.0 +

    + + +

    See Also

    + +

    +

    + + +
    +
    +98/03/03 18:19:43
    + +MHonArc
    +Copyright © 1998, Earl Hood, ehood@medusa.acs.uci.edu
    +
    + + + diff --git a/doc/resources/msglocaldatefmt.html b/doc/resources/msglocaldatefmt.html index e50d795..536ef89 100644 --- a/doc/resources/msglocaldatefmt.html +++ b/doc/resources/msglocaldatefmt.html @@ -191,10 +191,10 @@

    See Also


    -97/06/03 17:04:21
    +98/03/03 18:19:43
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgpgbegin.html b/doc/resources/msgpgbegin.html index 0724e7d..36b53f3 100644 --- a/doc/resources/msgpgbegin.html +++ b/doc/resources/msgpgbegin.html @@ -70,289 +70,293 @@

    Default Setting


    Resource Variables

    - +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -385,10 +389,10 @@

    See Also


    -97/06/03 17:04:21
    +98/03/03 18:19:43
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgpgend.html b/doc/resources/msgpgend.html index a6f4ba7..59a628a 100644 --- a/doc/resources/msgpgend.html +++ b/doc/resources/msgpgend.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -378,10 +382,10 @@

    See Also


    -97/06/03 17:04:22
    +98/03/03 18:19:44
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgprefix.html b/doc/resources/msgprefix.html index 96e8cca..5b8927b 100644 --- a/doc/resources/msgprefix.html +++ b/doc/resources/msgprefix.html @@ -89,11 +89,11 @@

    See Also


    -97/06/03 17:04:22
    +98/03/03 18:19:44
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/msgsep.html b/doc/resources/msgsep.html index e14d3ae..5caaa02 100644 --- a/doc/resources/msgsep.html +++ b/doc/resources/msgsep.html @@ -108,10 +108,10 @@

    See Also


    -97/06/03 17:04:23
    +98/03/03 18:19:44
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/multipg.html b/doc/resources/multipg.html index f414c62..62308de 100644 --- a/doc/resources/multipg.html +++ b/doc/resources/multipg.html @@ -100,10 +100,10 @@

    See Also


    -97/06/03 17:04:23
    +98/03/03 18:19:44
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/news.html b/doc/resources/news.html index 2c794f7..db10aef 100644 --- a/doc/resources/news.html +++ b/doc/resources/news.html @@ -89,10 +89,10 @@

    See Also


    -97/06/03 17:04:23
    +98/03/03 18:19:45
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/nextbutton.html b/doc/resources/nextbutton.html index 889d1bd..bb607a8 100644 --- a/doc/resources/nextbutton.html +++ b/doc/resources/nextbutton.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -388,10 +392,10 @@

    See Also


    -97/06/03 17:04:24
    +98/03/03 18:19:45
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/nextbuttonia.html b/doc/resources/nextbuttonia.html index 382e60c..26bb314 100644 --- a/doc/resources/nextbuttonia.html +++ b/doc/resources/nextbuttonia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -388,10 +392,10 @@

    See Also


    -97/06/03 17:04:24
    +98/03/03 18:19:45
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/nextlink.html b/doc/resources/nextlink.html index 81229f2..a4bdaa6 100644 --- a/doc/resources/nextlink.html +++ b/doc/resources/nextlink.html @@ -75,289 +75,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -403,10 +407,10 @@

    See Also


    -97/06/03 17:04:25
    +98/03/03 18:19:45
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/nextlinkia.html b/doc/resources/nextlinkia.html index 530d603..5f0f377 100644 --- a/doc/resources/nextlinkia.html +++ b/doc/resources/nextlinkia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -381,10 +385,10 @@

    See Also


    -97/06/03 17:04:25
    +98/03/03 18:19:46
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/nextpglink.html b/doc/resources/nextpglink.html index a0c2312..122f913 100644 --- a/doc/resources/nextpglink.html +++ b/doc/resources/nextpglink.html @@ -67,117 +67,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -212,10 +212,10 @@

    See Also


    -97/06/03 17:04:25
    +98/03/03 18:19:46
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/nextpglinkia.html b/doc/resources/nextpglinkia.html index ec41252..0398130 100644 --- a/doc/resources/nextpglinkia.html +++ b/doc/resources/nextpglinkia.html @@ -67,117 +67,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -212,10 +212,10 @@

    See Also


    -97/06/03 17:04:26
    +98/03/03 18:19:46
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/otherindexes.html b/doc/resources/otherindexes.html index f5d03ec..d98c07b 100644 --- a/doc/resources/otherindexes.html +++ b/doc/resources/otherindexes.html @@ -195,10 +195,10 @@

    See Also


    -97/06/06 16:47:51
    +98/03/03 18:19:46
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/outdir.html b/doc/resources/outdir.html index c0135e9..a4e3a53 100644 --- a/doc/resources/outdir.html +++ b/doc/resources/outdir.html @@ -86,10 +86,10 @@

    See Also


    -97/06/03 17:04:27
    +98/03/03 18:19:46
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/perlinc.html b/doc/resources/perlinc.html index 8ba61fd..955a6b1 100644 --- a/doc/resources/perlinc.html +++ b/doc/resources/perlinc.html @@ -120,10 +120,10 @@

    See Also


    -97/06/03 17:04:27
    +98/03/03 18:19:47
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/prevbutton.html b/doc/resources/prevbutton.html index 35ae9f6..d73ebfb 100644 --- a/doc/resources/prevbutton.html +++ b/doc/resources/prevbutton.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -388,10 +392,10 @@

    See Also


    -97/06/03 17:04:27
    +98/03/03 18:19:47
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/prevbuttonia.html b/doc/resources/prevbuttonia.html index 15afadc..9cb6549 100644 --- a/doc/resources/prevbuttonia.html +++ b/doc/resources/prevbuttonia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -388,10 +392,10 @@

    See Also


    -97/06/03 17:04:28
    +98/03/03 18:19:47
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/prevlink.html b/doc/resources/prevlink.html index a35438b..e8d0a62 100644 --- a/doc/resources/prevlink.html +++ b/doc/resources/prevlink.html @@ -75,289 +75,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -403,10 +407,10 @@

    See Also


    -97/06/03 17:04:28
    +98/03/03 18:19:47
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/prevlinkia.html b/doc/resources/prevlinkia.html index e53344c..ac373e1 100644 --- a/doc/resources/prevlinkia.html +++ b/doc/resources/prevlinkia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -381,10 +385,10 @@

    See Also


    -97/06/03 17:04:29
    +98/03/03 18:19:48
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/prevpglink.html b/doc/resources/prevpglink.html index 625219b..8299ae2 100644 --- a/doc/resources/prevpglink.html +++ b/doc/resources/prevpglink.html @@ -67,117 +67,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -212,10 +212,10 @@

    See Also


    -97/06/03 17:04:29
    +98/03/03 18:19:48
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/prevpglinkia.html b/doc/resources/prevpglinkia.html index 247c7ea..ae512ee 100644 --- a/doc/resources/prevpglinkia.html +++ b/doc/resources/prevpglinkia.html @@ -67,117 +67,117 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -212,10 +212,10 @@

    See Also


    -97/06/03 17:04:29
    +98/03/03 18:19:48
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/quiet.html b/doc/resources/quiet.html index b082992..349a0ff 100644 --- a/doc/resources/quiet.html +++ b/doc/resources/quiet.html @@ -83,10 +83,10 @@

    See Also


    -97/06/03 17:04:30
    +98/03/03 18:19:48
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/rcfile.html b/doc/resources/rcfile.html index 06d79c3..27fb172 100644 --- a/doc/resources/rcfile.html +++ b/doc/resources/rcfile.html @@ -359,11 +359,11 @@

    See Also


    -97/06/03 17:04:30
    +98/03/03 18:19:49
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/refsbegin.html b/doc/resources/refsbegin.html index 8c0359c..411ef69 100644 --- a/doc/resources/refsbegin.html +++ b/doc/resources/refsbegin.html @@ -113,11 +113,11 @@

    See Also


    -97/06/05 17:52:06
    +98/03/03 18:19:49
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/refsend.html b/doc/resources/refsend.html index 0530899..d1473aa 100644 --- a/doc/resources/refsend.html +++ b/doc/resources/refsend.html @@ -95,11 +95,11 @@

    See Also


    -97/06/05 17:52:06
    +98/03/03 18:19:49
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/refslitxt.html b/doc/resources/refslitxt.html index 6c1f5ee..5ef85ec 100644 --- a/doc/resources/refslitxt.html +++ b/doc/resources/refslitxt.html @@ -66,93 +66,93 @@

    Default Setting

    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NEXTPG$$NEXTPG$ Filename of next page of the main index.
    $NEXTPGLINK$$NEXTPGLINK$ Markup linking to the next page of the main index.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PAGENUM$$PAGENUM$ Current index page number.
    $PREVPG$$PREVPG$ Filename of the previous page of the main index.
    $PREVPGLINK$$PREVPGLINK$ Markup linking to the previous page of the main index.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -185,11 +185,11 @@

    See Also


    -97/06/05 17:52:06
    +98/03/03 18:19:49
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/reverse.html b/doc/resources/reverse.html index de3130a..efa478f 100644 --- a/doc/resources/reverse.html +++ b/doc/resources/reverse.html @@ -102,10 +102,10 @@

    See Also


    -97/06/03 17:04:31
    +98/03/03 18:19:50
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/rmm.html b/doc/resources/rmm.html index b599806..6bf8388 100644 --- a/doc/resources/rmm.html +++ b/doc/resources/rmm.html @@ -123,10 +123,10 @@

    See Also


    -98/02/17 13:28:23
    +98/03/03 18:19:50
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/scan.html b/doc/resources/scan.html index 890a7e9..ea4d2ca 100644 --- a/doc/resources/scan.html +++ b/doc/resources/scan.html @@ -143,7 +143,7 @@

    See Also


    -98/02/17 18:53:49
    +98/03/03 18:19:50
    MHonArc
    Copyright © 1997-1998 Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/single.html b/doc/resources/single.html index fbd49ac..051be45 100644 --- a/doc/resources/single.html +++ b/doc/resources/single.html @@ -98,11 +98,11 @@

    See Also


    -97/06/03 17:04:32
    +98/03/03 18:19:50
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/sort.html b/doc/resources/sort.html index 6352f33..b29b4df 100644 --- a/doc/resources/sort.html +++ b/doc/resources/sort.html @@ -91,10 +91,10 @@

    See Also


    -97/06/03 17:04:32
    +98/03/03 18:19:51
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/subjectarticlerxp.html b/doc/resources/subjectarticlerxp.html new file mode 100644 index 0000000..38affd9 --- /dev/null +++ b/doc/resources/subjectarticlerxp.html @@ -0,0 +1,110 @@ + + + +MHonArc Resources: SUBJECTARTICLERXP + + + +
    +MHonArc Resource List
    +
    + +
    +

    SUBJECTARTICLERXP

    + + +

    Syntax

    + +
    + +
    Envariable
    +

    +M2H_SUBJECTARTICLERXP=perl_regex +

    +
    + +
    Element
    +

    +<SUBJECTARTICLERXP>
    +perl_regex
    +</SUBJECTARTICLERXP>
    +

    +
    + +
    Command-line Option
    +

    +-subjectarticlerxp perl_regex +

    +
    + +
    + + +

    Description

    + +

    SUBJECTARTICLERXP defines the Perl regular expression matching +leading articles (eg: "the", "a", "an") in subject text. +

    + +

    SUBJECTARTICLERXP is used by MHonArc for sorting. +The regex defined is used in s/// +operation with the case-insensitive modifier. +The regex should be anchored to the beginning of the string. +

    + +

    The SUBJECTARTICLERXP is normally changed to suit a particular +locale. +

    + + +

    Default Setting

    + +
    +^(the|a|an)\s+
    +
    + + +

    Resource Variables

    + +

    N/A +

    + + +

    Examples

    + +

    If you are archiving French message, the following setting +maybe appropriate: +

    +
    +<SubjectArticleRxp>
    +^l(es|e|a)\s+
    +</SubjectArticleRxp>
    +
    + + +

    Version

    + +

    2.2.0 +

    + + +

    See Also

    + +

    +SUBJECTREPLYRXP +

    + + +
    +
    +98/03/03 18:19:51
    + +MHonArc
    +Copyright © 1998, Earl Hood, ehood@medusa.acs.uci.edu
    +
    + + + diff --git a/doc/resources/subjectbegin.html b/doc/resources/subjectbegin.html index b6faf93..08b24e0 100644 --- a/doc/resources/subjectbegin.html +++ b/doc/resources/subjectbegin.html @@ -67,93 +67,93 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -204,11 +204,11 @@

    See Also


    -97/06/03 17:04:33
    +98/03/03 18:19:51
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/subjectend.html b/doc/resources/subjectend.html index a49a969..cf1239c 100644 --- a/doc/resources/subjectend.html +++ b/doc/resources/subjectend.html @@ -90,11 +90,11 @@

    See Also


    -97/06/03 17:04:33
    +98/03/03 18:19:51
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/subjectheader.html b/doc/resources/subjectheader.html index 0dcc289..74229ae 100644 --- a/doc/resources/subjectheader.html +++ b/doc/resources/subjectheader.html @@ -65,57 +65,57 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -145,10 +145,10 @@

    See Also


    -97/06/03 17:04:33
    +98/03/03 18:19:51
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/subjectreplyrxp.html b/doc/resources/subjectreplyrxp.html new file mode 100644 index 0000000..eb6280f --- /dev/null +++ b/doc/resources/subjectreplyrxp.html @@ -0,0 +1,109 @@ + + + +MHonArc Resources: SUBJECTREPLYRXP + + + +
    +MHonArc Resource List
    +
    + +
    +

    SUBJECTREPLYRXP

    + + +

    Syntax

    + +
    + +
    Envariable
    +

    +M2H_SUBJECTREPLYRXP=perl_regex +

    +
    + +
    Element
    +

    +<SUBJECTREPLYRXP>
    +perl_regex
    +</SUBJECTREPLYRXP>
    +

    +
    + +
    Command-line Option
    +

    +-subjectreplyrxp perl_regex +

    +
    + +
    + + +

    Description

    + +

    SUBJECTREPLYRXP defines the Perl regular expression matching +subject text that denotes a reply message. For example, the +string "Re: " is commonly prepended to the subject +to denote a reply. +

    + +

    SUBJECTREPLYRXP is used by MHonArc for sorting and threading +purposes. The regex defined is used in s/// +operation loops with the case-insensitive modifier. Hence, the regex should eventually fail if +called repeatedly on the same string in an s/// operation. +If not, an infinite loop will result. In sum, SUBJECTREPLYRXP +should NOT be able to match the null string. Also, +the regex should be anchored to the beginning of the string. +

    + +

    The SUBJECTREPLYRXP is normally changed to suit a particular +locale or if unusual notations are being used to denote replies. +

    + + +

    Default Setting

    + +
    +^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*
    +
    + + +

    Resource Variables

    + +

    N/A +

    + + +

    Examples

    + +

    None. +

    + + +

    Version

    + +

    2.2.0 +

    + + +

    See Also

    + +

    +SUBJECTARTICLERXP +

    + + +
    +
    +98/03/03 18:19:52
    + +MHonArc
    +Copyright © 1998, Earl Hood, ehood@medusa.acs.uci.edu
    +
    + + + diff --git a/doc/resources/subsort.html b/doc/resources/subsort.html index 4714b6c..e6738ad 100644 --- a/doc/resources/subsort.html +++ b/doc/resources/subsort.html @@ -90,10 +90,10 @@

    See Also


    -97/06/03 17:04:34
    +98/03/03 18:19:52
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tcontbegin.html b/doc/resources/tcontbegin.html index cfa0776..4db5fcd 100644 --- a/doc/resources/tcontbegin.html +++ b/doc/resources/tcontbegin.html @@ -76,93 +76,93 @@

    Default Setting

    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -192,11 +192,11 @@

    See Also


    -97/06/03 17:04:34
    +98/03/03 18:19:52
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tcontend.html b/doc/resources/tcontend.html index f28777e..4736eab 100644 --- a/doc/resources/tcontend.html +++ b/doc/resources/tcontend.html @@ -83,11 +83,11 @@

    See Also


    -97/06/03 17:04:34
    +98/03/03 18:19:52
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tfoot.html b/doc/resources/tfoot.html index 8fc42cc..9b2716f 100644 --- a/doc/resources/tfoot.html +++ b/doc/resources/tfoot.html @@ -61,113 +61,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -217,10 +217,10 @@

    See Also


    -97/06/03 17:04:35
    +98/03/03 18:19:53
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/thead.html b/doc/resources/thead.html index 0ea0783..deff5e9 100644 --- a/doc/resources/thead.html +++ b/doc/resources/thead.html @@ -82,113 +82,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -245,10 +245,10 @@

    See Also


    -97/06/03 17:04:35
    +98/03/03 18:19:53
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/thread.html b/doc/resources/thread.html index 4d7d834..0d6b50d 100644 --- a/doc/resources/thread.html +++ b/doc/resources/thread.html @@ -87,10 +87,10 @@

    See Also


    -97/06/03 17:04:36
    +98/03/03 18:19:53
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tidxfname.html b/doc/resources/tidxfname.html index 4684a4e..9d22569 100644 --- a/doc/resources/tidxfname.html +++ b/doc/resources/tidxfname.html @@ -89,10 +89,10 @@

    See Also


    -97/06/03 17:04:36
    +98/03/03 18:19:53
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tidxlabel.html b/doc/resources/tidxlabel.html index 5b5fc69..8b00c23 100644 --- a/doc/resources/tidxlabel.html +++ b/doc/resources/tidxlabel.html @@ -90,11 +90,11 @@

    See Also


    -97/06/03 17:04:36
    +98/03/03 18:19:54
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tidxpgbegin.html b/doc/resources/tidxpgbegin.html index 092cd41..2790b06 100644 --- a/doc/resources/tidxpgbegin.html +++ b/doc/resources/tidxpgbegin.html @@ -72,113 +72,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -224,10 +224,10 @@

    See Also


    -97/06/03 17:04:37
    +98/03/03 18:19:54
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tidxpgend.html b/doc/resources/tidxpgend.html index 0a16533..2455b84 100644 --- a/doc/resources/tidxpgend.html +++ b/doc/resources/tidxpgend.html @@ -61,113 +61,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -198,10 +198,10 @@

    See Also


    -97/06/03 17:04:37
    +98/03/03 18:19:54
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tidxprefix.html b/doc/resources/tidxprefix.html index 6b2ad4c..fe9e441 100644 --- a/doc/resources/tidxprefix.html +++ b/doc/resources/tidxprefix.html @@ -104,10 +104,10 @@

    See Also


    -97/06/03 17:04:37
    +98/03/03 18:19:54
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/timezones.html b/doc/resources/timezones.html index 33363eb..911138c 100644 --- a/doc/resources/timezones.html +++ b/doc/resources/timezones.html @@ -121,10 +121,10 @@

    See Also


    -97/06/03 17:04:38
    +98/03/03 18:19:55
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tindentbegin.html b/doc/resources/tindentbegin.html index e8dec80..6f4419b 100644 --- a/doc/resources/tindentbegin.html +++ b/doc/resources/tindentbegin.html @@ -108,11 +108,11 @@

    See Also


    -97/06/03 17:04:38
    +98/03/03 18:19:55
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tindentend.html b/doc/resources/tindentend.html index fa7411d..cd3d4c3 100644 --- a/doc/resources/tindentend.html +++ b/doc/resources/tindentend.html @@ -85,11 +85,11 @@

    See Also


    -97/06/03 17:04:39
    +98/03/03 18:19:55
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/title.html b/doc/resources/title.html index d98aa66..599c162 100644 --- a/doc/resources/title.html +++ b/doc/resources/title.html @@ -97,10 +97,10 @@

    See Also


    -97/06/03 17:04:39
    +98/03/03 18:19:55
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tlevels.html b/doc/resources/tlevels.html index dc12dfc..cab2b50 100644 --- a/doc/resources/tlevels.html +++ b/doc/resources/tlevels.html @@ -87,10 +87,10 @@

    See Also


    -97/06/03 17:04:40
    +98/03/03 18:19:56
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tliend.html b/doc/resources/tliend.html index 0d3797e..879f95c 100644 --- a/doc/resources/tliend.html +++ b/doc/resources/tliend.html @@ -180,10 +180,10 @@

    See Also


    -97/06/03 17:04:40
    +98/03/03 18:19:56
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tlinone.html b/doc/resources/tlinone.html index 05fedcc..3df4d0d 100644 --- a/doc/resources/tlinone.html +++ b/doc/resources/tlinone.html @@ -98,10 +98,10 @@

    See Also


    -97/06/03 17:04:40
    +98/03/03 18:19:56
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tlinoneend.html b/doc/resources/tlinoneend.html index 87445ca..151ce27 100644 --- a/doc/resources/tlinoneend.html +++ b/doc/resources/tlinoneend.html @@ -97,10 +97,10 @@

    See Also


    -97/06/03 17:04:41
    +98/03/03 18:19:56
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tlitxt.html b/doc/resources/tlitxt.html index bb97dbf..ad630b5 100644 --- a/doc/resources/tlitxt.html +++ b/doc/resources/tlitxt.html @@ -72,93 +72,93 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -191,10 +191,10 @@

    See Also


    -97/06/03 17:04:41
    +98/03/03 18:19:56
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tnextbutton.html b/doc/resources/tnextbutton.html index 36f4490..38075dc 100644 --- a/doc/resources/tnextbutton.html +++ b/doc/resources/tnextbutton.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -386,10 +390,10 @@

    See Also


    -97/06/03 17:04:42
    +98/03/03 18:19:57
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tnextbuttonia.html b/doc/resources/tnextbuttonia.html index efd2ee1..7a1ef5f 100644 --- a/doc/resources/tnextbuttonia.html +++ b/doc/resources/tnextbuttonia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -386,10 +390,10 @@

    See Also


    -97/06/03 17:04:42
    +98/03/03 18:19:57
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tnextlink.html b/doc/resources/tnextlink.html index d1fabb2..3323b44 100644 --- a/doc/resources/tnextlink.html +++ b/doc/resources/tnextlink.html @@ -71,289 +71,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -397,10 +401,10 @@

    See Also


    -97/06/03 17:04:43
    +98/03/03 18:19:57
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tnextlinkia.html b/doc/resources/tnextlinkia.html index 6b66de7..8f2ecd1 100644 --- a/doc/resources/tnextlinkia.html +++ b/doc/resources/tnextlinkia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -379,10 +383,10 @@

    See Also


    -97/06/03 17:04:44
    +98/03/03 18:19:57
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tnextpglink.html b/doc/resources/tnextpglink.html index e86b51b..a8ad19c 100644 --- a/doc/resources/tnextpglink.html +++ b/doc/resources/tnextpglink.html @@ -67,113 +67,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -208,10 +208,10 @@

    See Also


    -97/06/03 17:04:44
    +98/03/03 18:19:58
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tnextpglinkia.html b/doc/resources/tnextpglinkia.html index 6fba4c1..cb205b7 100644 --- a/doc/resources/tnextpglinkia.html +++ b/doc/resources/tnextpglinkia.html @@ -67,113 +67,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -208,10 +208,10 @@

    See Also


    -97/06/03 17:04:45
    +98/03/03 18:19:58
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/toplinks.html b/doc/resources/toplinks.html index c9f661b..aad29cc 100644 --- a/doc/resources/toplinks.html +++ b/doc/resources/toplinks.html @@ -71,289 +71,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -403,10 +407,10 @@

    See Also


    -97/06/03 17:04:45
    +98/03/03 18:19:58
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tprevbutton.html b/doc/resources/tprevbutton.html index 36afeb9..b32ae36 100644 --- a/doc/resources/tprevbutton.html +++ b/doc/resources/tprevbutton.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -386,10 +390,10 @@

    See Also


    -97/06/03 17:04:45
    +98/03/03 18:19:58
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tprevbuttonia.html b/doc/resources/tprevbuttonia.html index 3611fb8..03b95b9 100644 --- a/doc/resources/tprevbuttonia.html +++ b/doc/resources/tprevbuttonia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -386,10 +390,10 @@

    See Also


    -97/06/03 17:04:46
    +98/03/03 18:19:59
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tprevlink.html b/doc/resources/tprevlink.html index 4987504..85a48a8 100644 --- a/doc/resources/tprevlink.html +++ b/doc/resources/tprevlink.html @@ -71,289 +71,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -397,10 +401,10 @@

    See Also


    -97/06/03 17:04:46
    +98/03/03 18:19:59
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tprevlinkia.html b/doc/resources/tprevlinkia.html index db72fce..37ae1b7 100644 --- a/doc/resources/tprevlinkia.html +++ b/doc/resources/tprevlinkia.html @@ -63,289 +63,293 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + @@ -379,10 +383,10 @@

    See Also


    -97/06/03 17:04:47
    +98/03/03 18:19:59
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tprevpglink.html b/doc/resources/tprevpglink.html index 73d783d..4394adb 100644 --- a/doc/resources/tprevpglink.html +++ b/doc/resources/tprevpglink.html @@ -67,113 +67,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NEXTBUTTON$$NEXTBUTTON$ Next button markup linking to the next message.
    $NEXTFROM$$NEXTFROM$ Content of From field of the next message.
    $NEXTFROMADDR$$NEXTFROMADDR$ E-mail address contained in From field of the next message.
    $NEXTFROMNAME$$NEXTFROMNAME$ Human name contained in From field of the next message.
    $NEXTLINK$$NEXTLINK$ Next link markup linking to the next message.
    $NEXTMSG$$NEXTMSG$ Filename of next message.
    $NEXTMSGNUM$$NEXTMSGNUM$ Number assigned to next message.
    $NEXTSUBJECT$$NEXTSUBJECT$ Subject of next message.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PREVBUTTON$$PREVBUTTON$ Previous button markup linking to the previous message.
    $PREVFROM$$PREVFROM$ Content of From field of the previous message.
    $PREVFROMADDR$$PREVFROMADDR$ E-mail address contained in From field of the previous message.
    $PREVFROMNAME$$PREVFROMNAME$ Human name contained in From field of the previous message.
    $PREVLINK$$PREVLINK$ Previous link markup linking to the previous message.
    $PREVMSG$$PREVMSG$ Filename of previous message.
    $PREVMSGNUM$$PREVMSGNUM$ Number assigned to previous message.
    $PREVSUBJECT$$PREVSUBJECT$ Subject of previous message.
    $PROG$$PROG$ Program name
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTBUTTON$$TNEXTBUTTON$ Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$$TNEXTFROM$ Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$$TNEXTFROMADDR$ E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$$TNEXTFROMNAME$ Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$$TNEXTLINK$ Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$$TNEXTMSG$ Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$$TNEXTMSGNUM$ Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$$TNEXTSUBJECT$ Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$$TPREVBUTTON$ Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$$TPREVFROM$ Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$$TPREVFROMADDR$ E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$$TPREVFROMNAME$ Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$$TPREVLINK$ Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$$TPREVMSG$ Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$$TPREVMSGNUM$ Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$$TPREVSUBJECT$ Subject of previous message according to the list order of the thread index.
    $VERSION$$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$ Program version.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -208,10 +208,10 @@

    See Also


    -97/06/03 17:04:47
    +98/03/03 18:19:59
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tprevpglinkia.html b/doc/resources/tprevpglinkia.html index 9d473a7..979055c 100644 --- a/doc/resources/tprevpglinkia.html +++ b/doc/resources/tprevpglinkia.html @@ -67,113 +67,113 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -208,10 +208,10 @@

    See Also


    -97/06/03 17:04:48
    +98/03/03 18:20:00
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/treverse.html b/doc/resources/treverse.html index 93b0142..7f79163 100644 --- a/doc/resources/treverse.html +++ b/doc/resources/treverse.html @@ -95,10 +95,10 @@

    See Also


    -97/06/03 17:04:48
    +98/03/03 18:20:00
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tsingletxt.html b/doc/resources/tsingletxt.html index be8723a..0454f27 100644 --- a/doc/resources/tsingletxt.html +++ b/doc/resources/tsingletxt.html @@ -70,93 +70,93 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -188,10 +188,10 @@

    See Also


    -97/06/03 17:04:48
    +98/03/03 18:20:00
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tslice.html b/doc/resources/tslice.html new file mode 100644 index 0000000..dcdf716 --- /dev/null +++ b/doc/resources/tslice.html @@ -0,0 +1,111 @@ + + + +MHonArc Resources: TSLICE + + + +
    +MHonArc Resource List
    +
    + +
    +

    TSLICE

    + + +

    Syntax

    + +
    + +
    Envariable
    +

    +M2H_TSLICE=number:number +

    +
    + +
    Element
    +

    +<TSLICE>
    +number:number
    +</TSLICE>
    +

    +
    + +
    Command-line Option
    +

    +-tslice number:number +

    +
    + +
    + + +

    Description

    + +

    TSLICE sets the size of the thread listing "slice" (ie. a portion +of the complete thread listing) when the +$TSLICE$ resource variable is used. The value +of the TSLICE resource is two numbers separated by a colon. +The first number is the number of messages listed before the +current message in the thread slice. The second number is +the number of messages listed after the current message. +

    + + +

    Default Setting

    + +
    +0:4
    +
    + + +

    Resource Variables

    + +

    N/A +

    + + +

    Examples

    + +

    The default setting causes a thread slice to start with the +current message. However, you may want to have the current message +in the middle so the reader can see message that come before along +with after the current message. The following causes the +previous two and next two messages to be listed, with the current +in the middle: +

    + +
    +<TSlice>
    +2:2
    +</TSlice>
    +
    + + +

    Version

    + +

    2.2.0 +

    + + +

    See Also

    + +

    +TSLICEBEG, +TSLICEBEG +

    + + +
    +
    +98/03/03 18:20:00
    + +MHonArc
    +Copyright © 1998, Earl Hood, ehood@medusa.acs.uci.edu
    +
    + + + diff --git a/doc/resources/tslicebeg.html b/doc/resources/tslicebeg.html new file mode 100644 index 0000000..7f3ee4b --- /dev/null +++ b/doc/resources/tslicebeg.html @@ -0,0 +1,403 @@ + + + +MHonArc Resources: TSLICEBEG + + + +
    +MHonArc Resource List
    +
    + +
    +

    TSLICEBEG

    + + +

    Syntax

    + +
    + +
    Envariable
    +

    N/A +

    +
    + +
    Element
    +

    +<TSLICEBEG>
    +markup...
    +</TSLICEBEG>
    +

    +
    + +
    Command-line Option
    +

    N/A +

    +
    + +
    + + +

    Description

    + +

    TSLICEBEG defines the starting markup of a thread listing +"slice" from the use of the $TSLICE$ resource +variable. TSLICEBEG is comparable to +the THEAD resource. However, TSLICEBEG scope +only covers the starting markup of the thread listing while +THEAD will also includes the header markup for thread indexes. +Since the +TTOPBEGIN, +TLITXT, +TLIEND, +TSINGLETXT, +TSUBJECTBEG, +and +TTOPEND +resources are reused in thread slices, TSLICEBEG should normally +be equivalent to the thread listing start portion of THEAD. +

    + + +

    Default Setting

    + +
    +<TSliceBeg>
    +<BLOCKQUOTE><UL>
    +</TSliceBeg>
    +
    + + +

    Resource Variables

    + +
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VariableValue
    $DATE$The date of the message.
    $DDMMYY$Message date in dd/mm/yy format.
    $DOCURL$URL to documentation.
    $FIRSTPG$Filename of first page of main index.
    $FROM$The complete text in the From: field of the message.
    $FROMADDR$The e-mail address in the From: field of the message.
    $FROMNAME$The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$Current GMT date.
    $ICON$The context-type sensistive icon.
    $ICONURL$The URL to the context-type sensistive icon.
    $IDXFNAME$Filename of main index page.
    $IDXLABEL$Label for main index page.
    $IDXPREFIX$Prefix of filenames of main index pages.
    $IDXSIZE$Max number of messages that may be listed in index page.
    $IDXTITLE$The title of the main index page.
    $LASTPG$Filename of last page in of main index.
    $LOCALDATE$Current local date.
    $MMDDYY$Message date in mm/dd/yy format.
    $MSGGMTDATE$GMT date of current message.
    $MSGID$The message-id of the message.
    $MSGLOCALDATE$Local date of current message.
    $MSGNUM$The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$Filename prefix for message files.
    $NEXTBUTTON$Next button markup linking to the next message.
    $NEXTFROM$Content of From field of the next message.
    $NEXTFROMADDR$E-mail address contained in From field of the next message.
    $NEXTFROMNAME$Human name contained in From field of the next message.
    $NEXTLINK$Next link markup linking to the next message.
    $NEXTMSG$Filename of next message.
    $NEXTMSGNUM$Number assigned to next message.
    $NEXTSUBJECT$Subject of next message.
    $NUMFOLUP$Number of explicit follow-ups to the message.
    $NUMOFMSG$Number of messages in the archive.
    $NUMOFPAGES$Number of index pages.
    $ORDNUM$The current listing number of the message.
    $OUTDIR$Pathname of archive.
    $PREVBUTTON$Previous button markup linking to the previous message.
    $PREVFROM$Content of From field of the previous message.
    $PREVFROMADDR$E-mail address contained in From field of the previous message.
    $PREVFROMNAME$Human name contained in From field of the previous message.
    $PREVLINK$Previous link markup linking to the previous message.
    $PREVMSG$Filename of previous message.
    $PREVMSGNUM$Number assigned to previous message.
    $PREVSUBJECT$Subject of previous message.
    $PROG$Program name
    $SUBJECTNA$The subject text of the message without the anchor element.
    $TFIRSTPG$Filename of first page of thread index.
    $TIDXFNAME$Filename of thread index page.
    $TIDXLABEL$Label for thread index page.
    $TIDXPREFIX$Prefix of filenames of thread index pages.
    $TIDXTITLE$Title of thread index.
    $TLASTPG$Filename of last page of thread index.
    $TNEXTBUTTON$Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$Subject of previous message according to the list order of the thread index.
    $TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$Program version.
    $YYMMDD$Message date in yy/mm/dd format.
    + + +

    Examples

    + +

    None. +

    + + +

    Version

    + +

    2.2.0 +

    + + +

    See Also

    + +

    +TSLICEEND, +TTOPBEGIN, +TLITXT, +TLIEND, +TSINGLETXT, +TSUBJECTBEG, +TTOPEND +

    + + +
    +
    +98/03/03 18:20:01
    + +MHonArc
    +Copyright © 1998, Earl Hood, ehood@medusa.acs.uci.edu
    +
    + + + diff --git a/doc/resources/tsliceend.html b/doc/resources/tsliceend.html new file mode 100644 index 0000000..5d0bcc6 --- /dev/null +++ b/doc/resources/tsliceend.html @@ -0,0 +1,403 @@ + + + +MHonArc Resources: TSLICEEND + + + +
    +MHonArc Resource List
    +
    + +
    +

    TSLICEEND

    + + +

    Syntax

    + +
    + +
    Envariable
    +

    N/A +

    +
    + +
    Element
    +

    +<TSLICEEND>
    +markup...
    +</TSLICEEND>
    +

    +
    + +
    Command-line Option
    +

    N/A +

    +
    + +
    + + +

    Description

    + +

    TSLICEEND defines the end markup of a thread listing +"slice" from the use of the $TSLICE$ resource +variable. TSLICEEND is comparable to +the TFOOT resource. However, TSLICEEND scope +only covers the end markup of the thread listing while +TFOOT will also includes the footer markup for thread indexes. +Since the +TTOPBEGIN, +TLITXT, +TLIEND, +TSINGLETXT, +TSUBJECTBEG, +and +TTOPEND +resources are reused in thread slices, TSLICEEND should normally +be equivalent to the thread listing end portion of TFOOT. +

    + + +

    Default Setting

    + +
    +<TSliceBeg>
    +</UL></BLOCKQUOTE>
    +</TSliceBeg>
    +
    + + +

    Resource Variables

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VariableValue
    $DATE$The date of the message.
    $DDMMYY$Message date in dd/mm/yy format.
    $DOCURL$URL to documentation.
    $FIRSTPG$Filename of first page of main index.
    $FROM$The complete text in the From: field of the message.
    $FROMADDR$The e-mail address in the From: field of the message.
    $FROMNAME$The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $GMTDATE$Current GMT date.
    $ICON$The context-type sensistive icon.
    $ICONURL$The URL to the context-type sensistive icon.
    $IDXFNAME$Filename of main index page.
    $IDXLABEL$Label for main index page.
    $IDXPREFIX$Prefix of filenames of main index pages.
    $IDXSIZE$Max number of messages that may be listed in index page.
    $IDXTITLE$The title of the main index page.
    $LASTPG$Filename of last page in of main index.
    $LOCALDATE$Current local date.
    $MMDDYY$Message date in mm/dd/yy format.
    $MSGGMTDATE$GMT date of current message.
    $MSGID$The message-id of the message.
    $MSGLOCALDATE$Local date of current message.
    $MSGNUM$The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$Filename prefix for message files.
    $NEXTBUTTON$Next button markup linking to the next message.
    $NEXTFROM$Content of From field of the next message.
    $NEXTFROMADDR$E-mail address contained in From field of the next message.
    $NEXTFROMNAME$Human name contained in From field of the next message.
    $NEXTLINK$Next link markup linking to the next message.
    $NEXTMSG$Filename of next message.
    $NEXTMSGNUM$Number assigned to next message.
    $NEXTSUBJECT$Subject of next message.
    $NUMFOLUP$Number of explicit follow-ups to the message.
    $NUMOFMSG$Number of messages in the archive.
    $NUMOFPAGES$Number of index pages.
    $ORDNUM$The current listing number of the message.
    $OUTDIR$Pathname of archive.
    $PREVBUTTON$Previous button markup linking to the previous message.
    $PREVFROM$Content of From field of the previous message.
    $PREVFROMADDR$E-mail address contained in From field of the previous message.
    $PREVFROMNAME$Human name contained in From field of the previous message.
    $PREVLINK$Previous link markup linking to the previous message.
    $PREVMSG$Filename of previous message.
    $PREVMSGNUM$Number assigned to previous message.
    $PREVSUBJECT$Subject of previous message.
    $PROG$Program name
    $SUBJECTNA$The subject text of the message without the anchor element.
    $TFIRSTPG$Filename of first page of thread index.
    $TIDXFNAME$Filename of thread index page.
    $TIDXLABEL$Label for thread index page.
    $TIDXPREFIX$Prefix of filenames of thread index pages.
    $TIDXTITLE$Title of thread index.
    $TLASTPG$Filename of last page of thread index.
    $TNEXTBUTTON$Next button markup linking to the next message according to the thread index list order.
    $TNEXTFROM$Content of From field of the next message according to the list order of the thread index.
    $TNEXTFROMADDR$E-mail address contained in From field of the next message according to the list order of the thread index.
    $TNEXTFROMNAME$Human name contained in From field of the next message according to the list order of the thread index.
    $TNEXTLINK$Next link markup linking to the next message according to the thread index list order.
    $TNEXTMSG$Filename of next message according to the list order of the thread index.
    $TNEXTMSGNUM$Number assigned to next message according to the list order of the thread index.
    $TNEXTSUBJECT$Subject of next message according to the list order of the thread index.
    $TPREVBUTTON$Previous button markup linking to the previous message according to the thread index list order.
    $TPREVFROM$Content of From field of the previous message according to the list order of the thread index.
    $TPREVFROMADDR$E-mail address contained in From field of the previous message according to the list order of the thread index.
    $TPREVFROMNAME$Human name contained in From field of the previous message according to the list order of the thread index.
    $TPREVLINK$Previous link markup linking to the previous message according to the thread index list order.
    $TPREVMSG$Filename of previous message according to the list order of the thread index.
    $TPREVMSGNUM$Number assigned to previous message according to the list order of the thread index.
    $TPREVSUBJECT$Subject of previous message according to the list order of the thread index.
    $TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
    $VERSION$Program version.
    $YYMMDD$Message date in yy/mm/dd format.
    + + +

    Examples

    + +

    None. +

    + + +

    Version

    + +

    2.2.0 +

    + + +

    See Also

    + +

    +TSLICEBEG, +TTOPBEGIN, +TLITXT, +TLIEND, +TSINGLETXT, +TSUBJECTBEG, +TTOPEND +

    + + +
    +
    +98/03/03 18:20:01
    + +MHonArc
    +Copyright © 1998, Earl Hood, ehood@medusa.acs.uci.edu
    +
    + + + diff --git a/doc/resources/tsort.html b/doc/resources/tsort.html index 3e671cc..039ad72 100644 --- a/doc/resources/tsort.html +++ b/doc/resources/tsort.html @@ -83,11 +83,11 @@

    See Also


    -97/06/03 17:04:49
    +98/03/03 18:20:01
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tsubjectbeg.html b/doc/resources/tsubjectbeg.html index 2a16cec..56f4ca5 100644 --- a/doc/resources/tsubjectbeg.html +++ b/doc/resources/tsubjectbeg.html @@ -98,10 +98,10 @@

    See Also


    -97/06/03 17:04:49
    +98/03/03 18:20:01
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tsubjectend.html b/doc/resources/tsubjectend.html index 52d8480..daec3c2 100644 --- a/doc/resources/tsubjectend.html +++ b/doc/resources/tsubjectend.html @@ -84,10 +84,10 @@

    See Also


    -97/06/03 17:04:49
    +98/03/03 18:20:02
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tsublistbeg.html b/doc/resources/tsublistbeg.html index 68988da..0fe29a6 100644 --- a/doc/resources/tsublistbeg.html +++ b/doc/resources/tsublistbeg.html @@ -60,113 +60,113 @@

    Default Setting


    Resource Variables

    - +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -198,10 +198,10 @@

    See Also


    -97/06/03 17:04:50
    +98/03/03 18:20:02
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tsublistend.html b/doc/resources/tsublistend.html index e6627d9..949f78b 100644 --- a/doc/resources/tsublistend.html +++ b/doc/resources/tsublistend.html @@ -87,10 +87,10 @@

    See Also


    -97/06/03 17:04:50
    +98/03/03 18:20:02
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/tsubsort.html b/doc/resources/tsubsort.html index a0c5b01..0e03b79 100644 --- a/doc/resources/tsubsort.html +++ b/doc/resources/tsubsort.html @@ -82,11 +82,11 @@

    See Also


    -97/06/03 17:04:51
    +98/03/03 18:20:02
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/ttitle.html b/doc/resources/ttitle.html index ed774b6..8a17281 100644 --- a/doc/resources/ttitle.html +++ b/doc/resources/ttitle.html @@ -97,10 +97,10 @@

    See Also


    -98/02/13 20:05:54
    +98/03/03 18:20:02
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/ttopbegin.html b/doc/resources/ttopbegin.html index 28370a9..838ce41 100644 --- a/doc/resources/ttopbegin.html +++ b/doc/resources/ttopbegin.html @@ -62,93 +62,93 @@

    Default Setting


    Resource Variables

    -
    VariableValue
    $DOCURL$$DOCURL$ URL to documentation.
    $FIRSTPG$$FIRSTPG$ Filename of first page of main index.
    $GMTDATE$$GMTDATE$ Current GMT date.
    $IDXFNAME$$IDXFNAME$ Filename of main index page.
    $IDXLABEL$$IDXLABEL$ Label for main index page.
    $IDXPREFIX$$IDXPREFIX$ Prefix of filenames of main index pages.
    $IDXSIZE$$IDXSIZE$ Max number of messages that may be listed in index page.
    $IDXTITLE$$IDXTITLE$ The title of the main index page.
    $LASTPG$$LASTPG$ Filename of last page in of main index.
    $LOCALDATE$$LOCALDATE$ Current local date.
    $NUMOFIDXMSG$$NUMOFIDXMSG$ Number of message listed.
    $NUMOFMSG$$NUMOFMSG$ Number of messages in the archive.
    $NUMOFPAGES$$NUMOFPAGES$ Number of index pages.
    $OUTDIR$$OUTDIR$ Pathname of archive.
    $PROG$$PROG$ Program name
    $TFIRSTPG$$TFIRSTPG$ Filename of first page of thread index.
    $TIDXFNAME$$TIDXFNAME$ Filename of thread index page.
    $TIDXLABEL$$TIDXLABEL$ Label for thread index page.
    $TIDXPREFIX$$TIDXPREFIX$ Prefix of filenames of thread index pages.
    $TIDXTITLE$$TIDXTITLE$ Title of thread index.
    $TLASTPG$$TLASTPG$ Filename of last page of thread index.
    $TNEXTPG$$TNEXTPG$ Filename of next page of the thread index.
    $TNEXTPGLINK$$TNEXTPGLINK$ Markup linking to the next page of the thread index.
    $TPREVPG$$TPREVPG$ Filename of the previous page of the thread index.
    $TPREVPGLINK$$TPREVPGLINK$ Markup linking to the previous page of the thread index.
    $VERSION$$VERSION$ Program version.
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -244,10 +244,10 @@

    See Also


    -97/06/03 17:04:52
    +98/03/03 18:20:03
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/ttopend.html b/doc/resources/ttopend.html index 3fa8a49..b5276a1 100644 --- a/doc/resources/ttopend.html +++ b/doc/resources/ttopend.html @@ -86,10 +86,10 @@

    See Also


    -97/06/03 17:04:52
    +98/03/03 18:20:03
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/umask.html b/doc/resources/umask.html index 656a8e8..b5436cd 100644 --- a/doc/resources/umask.html +++ b/doc/resources/umask.html @@ -93,10 +93,10 @@

    See Also


    -97/06/03 17:04:52
    +98/03/03 18:20:03
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/usinglastpg.html b/doc/resources/usinglastpg.html index c6483b0..ae1aa1a 100644 --- a/doc/resources/usinglastpg.html +++ b/doc/resources/usinglastpg.html @@ -92,7 +92,7 @@

    See Also


    -98/02/23 16:16:27
    +98/03/03 18:20:03
    MHonArc
    diff --git a/doc/resources/weekdays.html b/doc/resources/weekdays.html index 30d70bd..bcf86b0 100644 --- a/doc/resources/weekdays.html +++ b/doc/resources/weekdays.html @@ -102,10 +102,10 @@

    See Also


    -97/06/03 17:04:53
    +98/03/03 18:20:04
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/doc/resources/weekdaysabr.html b/doc/resources/weekdaysabr.html index 6250f72..8ee0fc1 100644 --- a/doc/resources/weekdaysabr.html +++ b/doc/resources/weekdaysabr.html @@ -103,10 +103,10 @@

    See Also


    -97/06/03 17:04:53
    +98/03/03 18:20:04
    MHonArc
    -Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu
    +Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu
    diff --git a/examples/def-mime.rc b/examples/def-mime.rc new file mode 100644 index 0000000..022fd20 --- /dev/null +++ b/examples/def-mime.rc @@ -0,0 +1,54 @@ + + + + + + +plain; mhonarc::htmlize; +us-ascii; mhonarc::htmlize; +iso-8859-1; mhonarc::htmlize; +iso-8859-2; iso_8859::str2sgml; iso8859.pl +iso-8859-3; iso_8859::str2sgml; iso8859.pl +iso-8859-4; iso_8859::str2sgml; iso8859.pl +iso-8859-5; iso_8859::str2sgml; iso8859.pl +iso-8859-6; iso_8859::str2sgml; iso8859.pl +iso-8859-7; iso_8859::str2sgml; iso8859.pl +iso-8859-8; iso_8859::str2sgml; iso8859.pl +iso-8859-9; iso_8859::str2sgml; iso8859.pl +iso-8859-10; iso_8859::str2sgml; iso8859.pl +default; -ignore- + + + +application/*; m2h_external::filter; mhexternal.pl +application/x-patch; m2h_text_plain::filter; mhtxtplain.pl +audio/*; m2h_external::filter; mhexternal.pl +chemical/*; m2h_external::filter; mhexternal.pl +model/*; m2h_external::filter; mhexternal.pl +image/*; m2h_external::filter; mhexternal.pl +message/partial; m2h_text_plain::filter; mhtxtplain.pl +text/*; m2h_text_plain::filter; mhtxtplain.pl +text/enriched; m2h_text_enriched::filter; mhtxtenrich.pl +text/html; m2h_text_html::filter; mhtxthtml.pl +text/plain; m2h_text_plain::filter; mhtxtplain.pl +text/richtext; m2h_text_enriched::filter; mhtxtenrich.pl +text/setext; m2h_text_setext::filter; mhtxtsetext.pl +text/tab-separated-values; m2h_text_tsv::filter; mhtxttsv.pl +text/x-html; m2h_text_html::filter; mhtxthtml.pl +text/x-setext; m2h_text_setext::filter; mhtxtsetext.pl +video/*; m2h_external::filter; mhexternal.pl + + + +image/gif; inline +image/jpeg; inline +image/x-xbitmap; inline +image/x-xbm; inline + + diff --git a/examples/frames.rc b/examples/frames.rc index 6112958..4df1bf3 100644 --- a/examples/frames.rc +++ b/examples/frames.rc @@ -1,5 +1,5 @@ - @@ -116,18 +116,18 @@ width="100%" border=0 cellpadding=0 cellspacing=0 - -25 +50 @@ -156,9 +156,11 @@ frm$MSGNUM$.html Message View - - - + + + @@ -227,7 +229,7 @@ $MAIN-TITLE$ (thread)
    VariableValue
    $A_ATTR$$A_ATTR$ The NAME and HREF attributes to use in an anchor to link to the archived message. The NAME attribute links the messages to the index page.
    $A_HREF$$A_HREF$ The HREF attribute to use in an anchor to link to the archived message.
    $A_NAME$$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
    $DATE$$DATE$ The date of the message.
    $DDMMYY$$DDMMYY$ Message date in dd/mm/yy format.
    $FROM$$FROM$ The complete text in the From: field of the message.
    $FROMADDR$$FROMADDR$ The e-mail address in the From: field of the message.
    $FROMNAME$$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
    $ICON$$ICON$ The context-type sensistive icon.
    $ICONURL$$ICONURL$ The URL to the context-type sensistive icon.
    $MMDDYY$$MMDDYY$ Message date in mm/dd/yy format.
    $MSGGMTDATE$$MSGGMTDATE$ GMT date of current message.
    $MSGID$$MSGID$ The message-id of the message.
    $MSGLOCALDATE$$MSGLOCALDATE$ Local date of current message.
    $MSGNUM$$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
    $MSGPREFIX$$MSGPREFIX$ Filename prefix for message files.
    $NUMFOLUP$$NUMFOLUP$ Number of explicit follow-ups to the message.
    $ORDNUM$$ORDNUM$ The current listing number of the message.
    $SUBJECT$$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
    $SUBJECTNA$$SUBJECTNA$ The subject text of the message without the anchor element.
    $YYMMDD$$YYMMDD$ Message date in yy/mm/dd format.
    -
    Page $PAGENUM$ of $NUMOFPAGES$ +Page $PAGENUM$ of $NUMOFPAGES$
    <<<< $TPREVPGLINK$ @@ -235,7 +237,8 @@ $MAIN-TITLE$ (thread) >>>>
    -
    +
    +
      @@ -244,7 +247,8 @@ $MAIN-TITLE$ (thread) -->
    @@ -253,7 +257,7 @@ $MAIN-TITLE$ (thread) -
    $TNEXTPGLINK$ >>>>
    Page $PAGENUM$ of $NUMOFPAGES$ +Page $PAGENUM$ of $NUMOFPAGES$
    @@ -263,7 +267,6 @@ $MAIN-TITLE$ (thread) --> -

  • $SUBJECTNA$
    $FROMNAME$ @@ -272,7 +275,6 @@ $MAIN-TITLE$ (thread) -->
  • -

    @@ -376,10 +378,11 @@ $MAIN-TITLE$ (date) +
    -
    Page $PAGENUM$ of $NUMOFPAGES$ +Page $PAGENUM$ of $NUMOFPAGES$
    <<<< $PREVPGLINK$ @@ -387,7 +390,8 @@ $MAIN-TITLE$ (date) >>>>
    -
    +
    +
      @@ -396,7 +400,8 @@ $MAIN-TITLE$ (date) -->
    -
    +
    +
    @@ -405,7 +410,7 @@ $MAIN-TITLE$ (date) -
    $NEXTPGLINK$ >>>>
    Page $PAGENUM$ of $NUMOFPAGES$ +Page $PAGENUM$ of $NUMOFPAGES$
    @@ -436,7 +441,7 @@ href="frm$MSGNUM$.html">$SUBJECTNA$ we need to be sure this is what we want. --> -

    $SUBJECTNA$

    +

    $SUBJECTNA$


    @@ -500,9 +505,40 @@ xref So we need to be sure this is what we want. --> -
    +
    + + +$MSGID$ + + + + +Partial thread listing: +$TSLICE$ + + + +0:4 + + +
      + + +
    + + diff --git a/faq/general.html b/faq/general.html index c916c87..6aa1a47 100644 --- a/faq/general.html +++ b/faq/general.html @@ -67,7 +67,7 @@

    What is MHonArc?

    What's the latest version of MhonArc?

    -

    2.1.1 +

    2.2.0

    @@ -263,7 +263,7 @@

    Are their "real-world" examples of MHonArc usage?
    -98/02/18 18:56:44
    +98/03/03 19:19:45
    MHonArc
    diff --git a/install.cfg b/install.cfg index 5c329a2..6646741 100644 --- a/install.cfg +++ b/install.cfg @@ -1,5 +1,5 @@ ##************************************************************************## -## 98/02/23 17:19:26 +## 98/03/03 19:05:40 ##************************************************************************## ## Set flags @@ -29,6 +29,7 @@ $rellib = 'lib'; # Location of source lib files relative to install.me 'base64.pl', 'ewhutil.pl', 'iso8859.pl', + 'mhamain.pl', 'mhdb.pl', 'mhdysub.pl', 'mhexternal.pl', @@ -44,6 +45,7 @@ $rellib = 'lib'; # Location of source lib files relative to install.me 'mhtxthtml.pl', 'mhtxtplain.pl', 'mhtxtsetext.pl', + 'mhtxttsv.pl', 'mhusage.pl', 'mhutil.pl', 'osinit.pl', diff --git a/lib/base64.pl b/lib/base64.pl index 13423ba..625eecf 100644 --- a/lib/base64.pl +++ b/lib/base64.pl @@ -3,7 +3,7 @@ # A. P. Barrett , October 1993 # $Revision: 1.4 $$Date: 1994/08/11 16:08:51 $ # -# @(#) base64.pl 1.2 98/02/23 14:05:54 +# @(#) base64.pl 2.1 98/03/02 20:24:23 # # Modified March 21, 1996 by ehood@convex.com # -> Changes to base64'uudecode to strip out any begin/end @@ -98,8 +98,8 @@ sub b64decode { # substr() usage added by ehood, 1996/04/16 - local ($str) = shift; - local ($result, $tmp, $offset, $len) = ('','', 0, 0); + local($str) = shift; + local($result, $tmp, $offset, $len); # zap bad characters and translate others to uuencode alphabet eval qq{ @@ -110,7 +110,9 @@ sub b64decode # break into lines of 60 encoded chars, prepending "M" for uuencode, # and then using perl's builtin uudecoder to convert to binary. # - $len = length($str); # store length + $result = ''; # init return string + $offset = 0; # init offset to 0 + $len = length($str); # store length while ($offset+60 <= $len) { # loop until < 60 chars left $tmp = substr($str, $offset, 60); # grap 60 char block $offset += 60; # increment offset diff --git a/lib/ewhutil.pl b/lib/ewhutil.pl index bb36890..385b86a 100644 --- a/lib/ewhutil.pl +++ b/lib/ewhutil.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) ewhutil.pl 1.6 98/02/23 14:06:53 @(#) +## @(#) ewhutil.pl 2.1 98/03/02 20:24:24 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: diff --git a/lib/iso8859.pl b/lib/iso8859.pl index 047858f..98be9a1 100644 --- a/lib/iso8859.pl +++ b/lib/iso8859.pl @@ -1,12 +1,12 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) iso8859.pl 1.2 97/06/03 @(#) +## @(#) iso8859.pl 2.1 98/03/02 20:24:24 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: ## Routines to process data encoded in iso8859 character sets. ##---------------------------------------------------------------------------## -## Copyright (C) 1996 Earl Hood, ehood@medusa.acs.uci.edu +## Copyright (C) 1996,1998 Earl Hood, ehood@medusa.acs.uci.edu ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by diff --git a/lib/mhamain.pl b/lib/mhamain.pl new file mode 100644 index 0000000..6ce7a19 --- /dev/null +++ b/lib/mhamain.pl @@ -0,0 +1,1411 @@ +##---------------------------------------------------------------------------## +## File: +## @(#) mhamain.pl 2.2 98/03/03 15:12:11 +## Author: +## Earl Hood ehood@medusa.acs.uci.edu +## Description: +## Main library for MHonArc. +##---------------------------------------------------------------------------## +## MHonArc -- Internet mail-to-HTML converter +## Copyright (C) 1995-1998 Earl Hood, ehood@medusa.acs.uci.edu +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +## 02111-1307, USA +##---------------------------------------------------------------------------## + +package mhonarc; + +$VERSION = "2.2.0"; +$VINFO =<) { last if /$FROM/o; } + MBOX: while (!eof($fh)) { + print STDOUT "." unless $QUIET; + $mesg = ''; + ($index,$from,$date,$sub,$header) = + &read_mail_header($fh, *mesg, *fields); + + if ($index ne '') { + ($From{$index},$Date{$index},$Subject{$index}) = + ($from,$date,$sub); + $MsgHead{$index} = $mesg; + + if ($ADD && !$SLOW) { $AddIndex{$index} = 1; } + $IndexNum{$index} = &getNewMsgNum(); + + $Message{$index} = &read_mail_body( + $fh, + $index, + $header, + *fields); + if ($SLOW && $DoArchive) { + &output_mail($index, 1, 1); + $Update{$IndexNum{$index}} = 1; + delete($MsgHead{$index}); + delete($Message{$index}); + } + } else { + &read_mail_body($fh, $index, $header, *fields, 1); + } + } + close($fh); + + } # END: else UUCP mailbox + } # END: foreach $mbox + } # END: Else converting mailboxes + + ## All done if not creating an archive + if (!$DoArchive) { + return 1; + } + + ## Check if there are any new messages + if (!$EDITIDX && !$IDXONLY && $i == $NumOfMsgs) { + print STDOUT "\nNo new messages\n" unless $QUIET; + return 1; + } + + ##---------------------------------------------## + ## Setup data structures for final HTML output ## + ##---------------------------------------------## + + ## Remove old message if hit maximum size or expiration + if (!$IDXONLY && (($MAXSIZE && ($NumOfMsgs > $MAXSIZE)) || + $ExpireTime || $ExpireDateTime)) { + + @array = sort increase_index keys %Subject; + + &ign_signals(); # Ignore termination signals + + while ($index = shift(@array)) { + last unless + ($MAXSIZE && ($NumOfMsgs > $MAXSIZE)) || + (&expired_time(&get_time_from_index($index))); + + &delmsg($index); + $IdxMinPg = 0; + $TIdxMinPg = 0; + $Update{$IndexNum{$array[0]}} = 1; # Update next + foreach (split(/$bs/o, $FollowOld{$index})) { # Update any replies + $Update{$IndexNum{$_}} = 1; + } + $Update{$IndexNum{$TListOrder[$Index2TLoc{$index}-1]}} = 1; + $Update{$IndexNum{$TListOrder[$Index2TLoc{$index}+1]}} = 1; + } + } + + ## Set MListOrder + @MListOrder = &sort_messages(); + + ## Compute follow up messages with side-effect of setting %Index2MLoc + $i = 0; + foreach $index (@MListOrder) { + $Index2MLoc{$index} = $i; $i++; + + $FolCnt{$index} = 0 unless $FolCnt{$index}; + if (@array2 = split(/$X/o, $Refs{$index})) { + $tmp2 = $array2[$#array2]; + next unless defined($IndexNum{$MsgId{$tmp2}}); + $tmp = $MsgId{$tmp2}; + if ($Follow{$tmp}) { $Follow{$tmp} .= $bs . $index; } + else { $Follow{$tmp} = $index; } + $FolCnt{$tmp}++; + } + } + + ## Compute thread information (sets ThreadList, TListOrder, Index2TLoc) + &compute_threads(); + + ## Check for which messages to update when adding to archive + if (!$IDXONLY && $ADD) { + if ($UPDATE_ALL) { + foreach $index (@MListOrder) { $Update{$IndexNum{$index}} = 1; } + $IdxMinPg = 0; + $TIdxMinPg = 0; + + } else { + $i = 0; + foreach $index (@MListOrder) { + ## Check for New follow-up links + if ($FollowOld{$index} ne $Follow{$index}) { + $Update{$IndexNum{$index}} = 1; + } + ## Check if new message; must update links in prev/next msgs + if ($AddIndex{$index}) { + + # Mark where main index page updates start + if ($MULTIIDX) { + $tmp = int($Index2MLoc{$index}/$IDXSIZE)+1; + $IdxMinPg = $tmp + if ($tmp < $IdxMinPg || $IdxMinPg < 0); + } + + # Mark previous/next messages + $Update{$IndexNum{$MListOrder[$i-1]}} = 1 + if $i > 0; + $Update{$IndexNum{$MListOrder[$i+1]}} = 1 + if $i < $#MListOrder; + } + ## Check for New reference links + foreach (split(/$X/o, $Refs{$index})) { + $tmp = $MsgId{$_}; + if (defined($IndexNum{$tmp}) && $AddIndex{$tmp}) { + $Update{$IndexNum{$index}} = 1; + } + } + $i++; + } + $i = 0; + foreach $index (@TListOrder) { + ## Check if new message; must update links in prev/next msgs + if ($AddIndex{$index}) { + + # Mark where thread index page updates start + if ($MULTIIDX) { + $tmp = int($Index2TLoc{$index}/$IDXSIZE)+1; + $TIdxMinPg = $tmp + if ($tmp < $TIdxMinPg || $TIdxMinPg < 0); + } + + # Mark previous/next message in thread + $Update{$IndexNum{$TListOrder[$i-1]}} = 1 + if $i > 0; + $Update{$IndexNum{$TListOrder[$i+1]}} = 1 + if $i < $#TListOrder; + } + $i++; + } + } + } + + ## Compute total number of pages + $i = $NumOfPages; + if ($MULTIIDX && $IDXSIZE) { + $NumOfPages = int($NumOfMsgs/$IDXSIZE); + ++$NumOfPages if ($NumOfMsgs/$IDXSIZE) > $NumOfPages; + $NumOfPages = 1 if $NumOfPages == 0; + } else { + $NumOfPages = 1; + } + + ## Update all pages for $LASTPG$ + if ($UsingLASTPG && ($i != $NumOfPages)) { + $IdxMinPg = 0; + $TIdxMinPg = 0; + } + + ##------------## + ## Write Data ## + ##------------## + &ign_signals(); # Ignore termination signals + print STDOUT "\n" unless $QUIET; + + ## Write indexes and mail + if (!$IDXONLY) { + &write_mail(); + &write_main_index() if $MAIN; + &write_thread_index() if $THREAD; + + } elsif ($THREAD) { + &write_thread_index(); + + } elsif ($MAIN) { + &write_main_index(); + } + + ## Write any alternate indexes + if (!$IDXONLY) { + + ## Write database + print STDOUT "Writing database ...\n" unless $QUIET; + &output_db($DBPathName); + + $IdxMinPg = 0; $TIdxMinPg = 0; + + foreach $tmp (@OtherIdxs) { + $THREAD = 0; + $tmp = "${OUTDIR}${DIRSEP}$tmp" + unless ($tmp =~ m%^/%) || (-e $tmp); + + if (&read_fmt_file($tmp)) { + if ($THREAD) { + &write_thread_index(); + } else { + &write_main_index(); + } + } + } + + print STDOUT "$NumOfMsgs messages\n" unless $QUIET; + } + + 1; +} + +##--------------------------------------------------------------------------- +## Function to do scan feature. +## +sub scan { + local($key, $num, $index, $day, $mon, $year, $from, $date, + $subject, $time, @array); + + print STDOUT "$NumOfMsgs messages in $OUTDIR:\n\n"; + print STDOUT sprintf("%5s %s %-15s %-43s\n", + "Msg #", "YYYY/MM/DD", "From", "Subject"); + print STDOUT sprintf("%5s %s %-15s %-43s\n", + "-" x 5, "----------", "-" x 15, "-" x 43); + + @array = &sort_messages(); + foreach $index (@array) { + $date = &time2mmddyy((split(/$X/o, $index))[0], 'yyyymmdd'); + $num = $IndexNum{$index}; + $from = substr(&extract_email_name($From{$index}), 0, 15); + $subject = substr($Subject{$index}, 0, 43); + print STDOUT sprintf("%5d %s %-15s %-43s\n", + $num, $date, $from, $subject); + } +} + +##--------------------------------------------------------------------------- +## Routine to perform conversion of a single mail message to +## HTML. +## +sub single { + local($mhead,$index,$from,$date,$sub,$header,$handle,$mesg, + $template,$filename,%fields); + + ## Prevent any verbose output + $QUIET = 1; + + ## See where input is coming from + if ($ARGV[0]) { + ($handle = &file_open($ARGV[0])) || + die("ERROR: Unable to open $ARGV[0]\n"); + $filename = $ARGV[0]; + } else { + $handle = 'STDIN'; + } + + ## Read header + ($index,$from,$date,$sub,$header) = + &read_mail_header($handle, *mhead, *fields); + + ($From{$index},$Date{$index},$Subject{$index}) = ($from,$date,$sub); + $MsgHead{$index} = $mhead; + + ## Read rest of message + $Message{$index} = &read_mail_body($handle, $index, $header, *fields); + + ## Output mail + &output_mail($index, 1, 0); + + close($handle); +} + +##--------------------------------------------------------------------------- +## Function for removing messages. +## +sub rmm { + local(@numbers) = (); + local($key, %Num2Index, $num); + local($_); + + ## Create list of messages to remove + foreach (@_) { + # range + if (/^(\d+)-(\d+)$/) { + push(@numbers, $1 .. $2); # range op removes leading zeros + next; + } + # single number + if (/^\d+$/) { + push(@numbers, int($_)); # int() removes leading zeros + next; + } + # probably message-id + push(@numbers, $_); + } + + if ($#numbers < 0) { + die("ERROR: No messages specified\n"); + } + + ## Make hash to perform deletions + foreach $key (keys %IndexNum) { + $Num2Index{$IndexNum{$key}} = $key; + } + + ## Remove messages + foreach $num (@numbers) { + # message number + if (($num =~ /^\d+$/) && ($key = $Num2Index{$num})) { + &delmsg($key); + next; + } + + # message-id + $num =~ s/[<>]//g; # remove <>'s in case message-id + if ($key = $MsgId{$num}) { + &delmsg($key); + next; + } + + # message not in archive + warn qq/Warning: Message "$num" not in archive\n/; + } +} + +##--------------------------------------------------------------------------- +sub delmsg { + local($key) = @_; + local($filename); + local($pathname); + + &defineIndex2MsgId(); + $msgnum = $IndexNum{$key}; return 0 if ($msgnum eq ''); + $filename = join($DIRSEP, $OUTDIR, &msgnum_filename($msgnum)); + delete $ContentType{$key}; + delete $Date{$key}; + delete $From{$key}; + delete $IndexNum{$key}; + delete $Refs{$key}; + delete $Subject{$key}; + delete $MsgId{$Index2MsgId{$key}}; + &file_remove($filename); + foreach $filename (split(/$X/o, $Derived{$key})) { + $pathname = "${OUTDIR}${DIRSEP}${filename}"; + if (-d $pathname) { + &dir_remove($pathname); + } else { + &file_remove("${OUTDIR}${DIRSEP}${filename}"); + } + } + delete $Derived{$key}; + $NumOfMsgs--; + 1; +} + +##--------------------------------------------------------------------------- +## write_mail outputs converted mail. It takes a reference to an +## array containing indexes of messages to output. +## +sub write_mail { + local($hack) = (0); + print STDOUT "Writing mail " unless $QUIET; + + if ($SLOW && !$ADD) { + $ADD = 1; + $hack = 1; + } + + foreach $index (@MListOrder) { + print STDOUT "." unless $QUIET; + &output_mail($index, $AddIndex{$index}, 0); + } + + if ($hack) { + $ADD = 0; + } + + print STDOUT "\n" unless $QUIET; +} + +##--------------------------------------------------------------------------- +## write_main_index outputs main index of archive +## +sub write_main_index { + local(@array) = (); + local($outhandle, $i, $i_p0, $filename, $tmpl, $isfirst, $tmp, + $mlfh, $mlinfh); + local(@a, $PageNum); + + @array = &sort_messages(); + + for ($PageNum = 1; $PageNum <= $NumOfPages; $PageNum++) { + if ($MULTIIDX) { + @a = splice(@array, 0, $IDXSIZE); + } + next if $PageNum < $IdxMinPg; + + $isfirst = 1; + + if ($MULTIIDX) { + if ($PageNum > 1) { + $IDXPATHNAME = join("", $OUTDIR, $DIRSEP, + $IDXPREFIX, $PageNum, ".", $HtmlExt); + } else { + $IDXPATHNAME = ${OUTDIR} . ${DIRSEP} . ${IDXNAME}; + } + } else { + if ($IDXSIZE && (($i = ($#array+1) - $IDXSIZE) > 0)) { + if ($REVSORT) { + splice(@array, $IDXSIZE); + } else { + splice(@array, 0, $i); + } + } + $IDXPATHNAME = ${OUTDIR} . ${DIRSEP} . ${IDXNAME}; + *a = *array; + } + + ## Open/create index file + if ($ADD) { + if (&file_exists($IDXPATHNAME)) { + &file_copy($IDXPATHNAME, "${OUTDIR}${DIRSEP}tmp.$$"); + ($mlinfh = &file_open("${OUTDIR}${DIRSEP}tmp.$$")) + || die("ERROR: Unable to open ${OUTDIR}${DIRSEP}tmp.$$\n"); + $MLCP = 1; + } else { + $MLCP = 0; + } + } + if ($IDXONLY) { + $outhandle = STDOUT; + } else { + ($outhandle = &file_create($IDXPATHNAME, $GzipFiles)) || + die("ERROR: Unable to create $IDXPATHNAME\n"); + } + print STDOUT "Writing $IDXPATHNAME ...\n" unless $QUIET; + + ## Print top part of index + &output_maillist_head($outhandle, $mlinfh); + + ## Output links to messages + + if ($NOSORT) { + foreach $index (@a) { + ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + + } elsif ($SUBSORT) { + local($prevsub) = ''; + foreach $index (@a) { + if (($tmp = &get_base_subject($index)) ne $prevsub) { + $prevsub = $tmp; + if (!$isfirst) { + ($tmpl = $SUBJECTEND) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } else { + $isfirst = 0; + } + ($tmpl = $SUBJECTBEG) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + ($tmpl = $SUBJECTEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + + } elsif ($AUTHSORT) { + local($prevauth) = ''; + foreach $index (@a) { + if (($tmp = &get_base_author($index)) ne $prevauth) { + $prevauth = $tmp; + if (!$isfirst) { + ($tmpl = $AUTHEND) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } else { + $isfirst = 0; + } + ($tmpl = $AUTHBEG) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + ($tmpl = $AUTHEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + + } else { + local($prevdate) = ''; + local($time); + foreach $index (@a) { + $time = &get_time_from_index($index); + $tmp = join("", (localtime($time))[3,4,5]); + if ($tmp ne $prevdate) { + $prevdate = $tmp; + if (!$isfirst) { + ($tmpl = $DAYEND) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } else { + $isfirst = 0; + } + ($tmpl = $DAYBEG) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + ($tmpl = $DAYEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $outhandle $tmpl; + } + + ## Print bottom part of index + &output_maillist_foot($outhandle, $mlinfh); + close($outhandle) unless $IDXONLY; + if ($MLCP) { + close($mlinfh); + &file_remove("${OUTDIR}${DIRSEP}tmp.$$"); + } + } +} + +##--------------------------------------------------------------------------- +## read_mail_header() is responsible for parsing the header of +## a mail message. +## +sub read_mail_header { + local($handle, *mesg, *fields) = @_; + local(%l2o, $header, $index, $from, $sub, $date, $tmp, $msgid, + @refs, @array); + + $header = &readmail'MAILread_file_header($handle, *fields, *l2o); + @refs = (); + @array = (); + + ##------------## + ## Get Msg-ID ## + ##------------## + $msgid = $fields{'message-id'} || $fields{'msg-id'} || + $fields{'content-id'}; + if (!($msgid =~ s/\s*<([^>]*)>\s*/$1/g)) { + $msgid =~ s/^\s*//; + $msgid =~ s/\s*$//; + } + + ## Return if message already exists in archive ## + if ($msgid && defined($MsgId{$msgid})) { + return ("", "", "", "", ""); + } + + ##----------## + ## Get date ## + ##----------## + $date = ""; $index = ""; + foreach (@DateFields) { + next unless $fields{$_}; + + ## Treat received field specially + if ($_ eq 'received') { + @array = split(/;/, + (split(/$readmail'FieldSep/o, $fields{$_}))[0]); + $date = pop @array; + ## Any other field should just be a date + } else { + $date = (split(/$readmail'FieldSep/o, $fields{$_}))[0]; + } + + ## See if time_t can be determined. + if (($date =~ /\w/) && (@array = &parse_date($date))) { + $index = &get_time_from_date(@array[1..$#array]); + last; + } + } + if ($index eq "") { + warn "\nWarning: Could not parse date for message\n", + " Message-Id: <$msgid>\n"; + $date = "" unless $date =~ /\S/; + $index = time; # Use current time + } + + ## Return if message too old to add ## + if (&expired_time($index)) { + return ("", "", "", "", ""); + } + + ##-------------## + ## Get Subject ## + ##-------------## + if ($fields{'subject'} !~ /^\s*$/) { + ($sub = $fields{'subject'}) =~ s/\s*$//; + } else { + $sub = 'No Subject'; + } + + ##----------## + ## Get From ## + ##----------## + $from = ""; + foreach (@FromFields) { + next unless $fields{$_}; + $from = $fields{$_}; + last; + } + $from = 'No Author' unless $from; + + ##----------------## + ## Get References ## + ##----------------## + $tmp = $fields{'references'}; + while ($tmp =~ s/<([^>]+)>//) { + push(@refs, $1); + } + $tmp = $fields{'in-reply-to'}; + if ($tmp =~ s/^[^<]*<([^>]*)>.*$/$1/) { + push(@refs, $tmp) unless $tmp =~ /^\s*$/; + } + + ##------------------------## + ## Create HTML for header ## + ##------------------------## + $mesg .= &htmlize_header(*fields, *l2o); + + ## Insure uniqueness of msg-id + $index .= $X . sprintf("%d",$LastMsgNum+1); + + if ($fields{'content-type'}) { + ($tmp = $fields{'content-type'}) =~ m%^\s*([\w-\./]+)%; + $tmp = $1 || 'text/plain'; + $tmp =~ tr/A-Z/a-z/; + } else { + $tmp = 'text/plain'; + } + $ContentType{$index} = $tmp; + + if ($msgid) { + $MsgId{$msgid} = $index; + $NewMsgId{$msgid} = $index; # Track new message-ids + } + &remove_dups(*refs); # Remove duplicate msg-ids + $Refs{$index} = join($X, @refs) if (@refs); + + ($index,$from,$date,$sub,$header); +} + +##--------------------------------------------------------------------------- +## read_mail_body() reads in the body of a message. The returned +## filtered body is in $ret. +## +sub read_mail_body { + local($handle, $index, $header, *fields, $skip) = @_; + local($ret, $data) = ('', ''); + local(@files) = (); + + ## Define "globals" for use by filters + ## NOTE: This stuff can be handled better, and will be done + ## when/if I get around to rewriting mhonarc in Perl 5. + ## + $MHAmsgnum = &fmt_msgnum($IndexNum{$index}) unless $skip; + + ## Slurp of message body + ## UUCP mailbox + if ($MBOX) { + if ($CONLEN && $fields{"content-length"}) { # Check for content-length + local($len, $cnt) = ($fields{"content-length"}, 0); + if ($len) { + while (<$handle>) { + $cnt += length($_); # Increment byte count + $data .= $_; # Save data + last if $cnt >= $len # Last if hit length + } + } + # Slurp up bogus data if required (should I do this?) + while (!/$FROM/o && !eof($handle)) { + $_ = <$handle>; + } + + } else { # No content-length + while (<$handle>) { + last if /$FROM/o; + $data .= $_; + } + } + + ## MH message file + } else { + while (<$handle>) { + $data .= $_; + } + } + + ## Filter data + return '' if $skip; + $fields{'content-type'} = 'text/plain' + if $fields{'content-type'} =~ /^\s*$/; + ($ret, @files) = &readmail'MAILread_body($header, $data, + $fields{'content-type'}, + $fields{'content-transfer-encoding'}); + $ret = join('', + "
    \n", + "
    Warning
    \n", + "
    Could not process message with given Content-Type: \n", + "", $fields{'content-type'}, "\n", + "
    \n", + "
    \n" + ) unless $ret; + if (@files) { + $Derived{$index} = join($X, @files); + } + $ret; +} + +##--------------------------------------------------------------------------- +## Output/edit a mail message. +## $index => current index (== $array[$i]) +## $force => flag if mail is written and not editted, regardless +## $nocustom => ignore sections with user customization +## +sub output_mail { + local($index, $force, $nocustom) = @_; + local($msgi, $tmp, $tmp2, $template, @array2); + local($filepathname, $tmppathname, $i_p0, $filename, $msghandle, + $msginfh, $drvfh); + local($adding) = ($ADD && !$force && !$SINGLE); + + $i_p0 = &fmt_msgnum($IndexNum{$index}); + + $filename = &msgnum_filename($IndexNum{$index}); + $filepathname = join($DIRSEP, $OUTDIR, $filename); + $tmppathname = join($DIRSEP, $OUTDIR, "msgtmp.$$"); + + if ($adding) { + return ($i_p0,$filename) unless $Update{$IndexNum{$index}}; + &file_copy($filepathname, $tmppathname); + ($msginfh = &file_open($tmppathname)) || + die("ERROR: Unable to open $tmppathname\n"); + } + if ($SINGLE) { + $msghandle = 'STDOUT'; + } else { + ($msghandle = &file_create($filepathname, $GzipFiles)) || + die("ERROR: Unable to create $filepathname\n"); + } + + ## Output HTML header + if ($adding) { + while (<$msginfh>) { + last if /\n", + "\n", + "\n", + "\n", + "\n", + "\n"; + foreach (split(/$X/o, $Refs{$index})) { + print $msghandle + "\n"; + } + print $msghandle "\n"; + + # Add in user defined markup + ($template = $MSGPGBEG) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + print $msghandle "\n"; + + ## Output header + if ($adding) { + while (<$msginfh>) { + last if /\n"; + if (!$nocustom) { + ($template = $MSGHEAD) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + print $msghandle "\n"; + + ## Output Prev/Next/Index links at top + if ($adding) { + while (<$msginfh>) { last if /\n"; + if (!$nocustom && !$SINGLE) { + ($template = $TOPLINKS) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + print $msghandle "\n\n"; + + ## Output message body + if ($adding) { + $tmp2 = ''; + while (<$msginfh>) { + $tmp2 .= $_; + last if /\n"; + print $msghandle "\n"; + ($template = $SUBJECTHEADER) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + print $msghandle "\n"; + + $MsgHead{$index} =~ s%($AddrExp)%&link_refmsgid($1)%geo; + $Message{$index} =~ s%($AddrExp)%&link_refmsgid($1)%geo; + + print $msghandle $MsgHead{$index}; + print $msghandle "\n"; + ($template = $HEADBODYSEP) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + print $msghandle "\n"; + print $msghandle "\n"; + print $msghandle $Message{$index}, "\n"; + print $msghandle "\n"; + print $msghandle "\n"; + } + + ## Output any followup messages + if ($adding) { + while (<$msginfh>) { last if /\n"; + ($template = $MSGBODYEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + if (!$nocustom && $DoFolRefs) { + @array2 = split(/$bs/o, $Follow{$index}); + if ($#array2 >= 0) { + ($template = $FOLUPBEGIN) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + foreach (@array2) { + ($template = $FOLUPLITXT) =~ + s/$VarExp/&replace_li_var($1,$_)/geo; + print $msghandle $template; + } + ($template = $FOLUPEND) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + } + print $msghandle "\n"; + + ## Output any references + if ($adding) { + while (<$msginfh>) { last if /\n"; + if (!$nocustom && $DoFolRefs) { + @array2 = split(/$X/o, $Refs{$index}); + $tmp2 = 0; # flag for when first ref printed + if ($#array2 >= 0) { + foreach (@array2) { + if (defined($IndexNum{$MsgId{$_}})) { + if (!$tmp2) { + ($template = $REFSBEGIN) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + $tmp2 = 1; + } + ($template = $REFSLITXT) =~ + s/$VarExp/&replace_li_var($1,$MsgId{$_})/geo; + print $msghandle $template; + } + } + if ($tmp2) { + ($template = $REFSEND) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + } + } + print $msghandle "\n"; + + ## Output verbose links to prev/next message in list + if ($adding) { + while (<$msginfh>) { last if /\n"; + if (!$nocustom && !$SINGLE) { + ($template = $BOTLINKS) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + print $msghandle "\n\n"; + + ## Output footer + if ($adding) { + while (<$msginfh>) { + last if /\n"; + if (!$nocustom) { + ($template = $MSGFOOT) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + print $msghandle "\n"; + + if (!$nocustom) { + ($template = $MSGPGEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + print $msghandle $template; + } + + close($msghandle) if (!$SINGLE); + if ($adding) { + close($msginfh); + &file_remove($tmppathname); + } + + ## Create user defined files + foreach (keys %UDerivedFile) { + ($tmp = $_) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + $tmp2 = join($DIRSEP, $OUTDIR, $tmp); + if ($drvfh = &file_create($tmp2, $GzipFiles)) { + ($template = $UDerivedFile{$_}) =~ + s/$VarExp/&replace_li_var($1,$index)/geo; + print $drvfh $template; + close($drvfh); + if ($Derived{$index}) { + $Derived{$index} .= $X . $tmp; + } else { + $Derived{$index} = $tmp; + } + } else { + warn "Warning: Unable to create $tmp2\n"; + } + } + if (@array2 = split(/$X/o, $Derived{$index})) { + &remove_dups(*array2); + $Derived{$index} = join($X, @array2); + } + + ## Set modification times -- Use eval incase OS does not support utime. + if ($MODTIME && !$SINGLE) { + eval q% + $tmp = &get_time_from_index($index); + @array2 = split(/$X/o, $Derived{$index}); + grep($_ = $OUTDIR . $DIRSEP . $_, @array2); + unshift(@array2, $filepathname); + &file_utime($tmp, $tmp, @array2); + %; + } + + ($i_p0, $filename); +} + +##--------------------------------------------------------------------------- +## Routine to convert a msgid to an anchor +## +sub link_refmsgid { + local($refmsgid, $onlynew) = @_; + + if (defined($IndexNum{$MsgId{$refmsgid}}) && + (!$onlynew || $NewMsgId{$refmsgid})) { + local($lreftmpl) = $MSGIDLINK; + $lreftmpl =~ s/$VarExp/&replace_li_var($1,$MsgId{$refmsgid})/geo; + $lreftmpl; + } else { + $refmsgid; + } +} + +##--------------------------------------------------------------------------- +## output_maillist_head() outputs the beginning of the index page. +## +sub output_maillist_head { + local($handle, $cphandle) = @_; + local($tmp, $index, $headfh); + $index = ""; + + print $handle "\n"; + + ## Output title + ($tmp = $IDXPGBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; + print $handle $tmp; + print $handle "\n"; + + if ($MLCP) { + while (<$cphandle>) { last if /\n"; + if ($headfh = &file_open($HEADER)) { + while (<$headfh>) { print $handle $_; } + close($headfh); + } else { + warn "Warning: Unable to open header: $HEADER\n"; + } + if ($MLCP) { + while (<$cphandle>) { last if /\n"; + } elsif ($MLCP) { # Preserve maillist header + while (<$cphandle>) { + print $handle $_; + last if /\n", + "\n"; + } + + print $handle "\n"; + ($tmp = $LIBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; + print $handle $tmp; +} + +##--------------------------------------------------------------------------- +## output_maillist_foot() outputs the end of the index page. +## +sub output_maillist_foot { + local($handle, $cphandle) = @_; + local($tmp, $index, $footfh); + $index = ""; + + ($tmp = $LIEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; + print $handle $tmp; + print $handle "\n"; + + ## Skip past index in old maillist file + if ($MLCP) { + while (<$cphandle>) { last if /\n"; + if ($footfh = &file_open($FOOTER)) { + while (<$footfh>) { print $handle $_; } + close($footfh); + } else { + warn "Warning: Unable to open footer: $FOOTER\n"; + } + if ($MLCP) { + while (<$cphandle>) { last if /\n"; + } elsif ($MLCP) { # Preserve maillist footer + while (<$cphandle>) { + print $handle $_; + last if /\n", + "\n"; + } + + &output_doclink($handle); + + ## Close document + ($tmp = $IDXPGEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; + print $handle $tmp; + + print $handle "\n"; +} + +##--------------------------------------------------------------------------- +## Output link to documentation, if specified +## +sub output_doclink { + local($handle) = ($_[0]); + if (!$NODOC && $DOCURL) { + print $handle "
    \n"; + print $handle + "
    \n", + "Mail converted by ", + qq|MHonArc $VERSION\n|, + "
    \n"; + } +} + +############################################################################# +## Miscellaneous routines +############################################################################# +##--------------------------------------------------------------------------- +sub getNewMsgNum { + $NumOfMsgs++; $LastMsgNum++; + $LastMsgNum; +} + +##--------------------------------------------------------------------------- +## ign_signals() sets mhonarc to ignore termination signals. This +## routine is called right before an archive is written/editted to +## help prevent archive corruption. +## +sub ign_signals { + $SIG{'ABRT'} = 'IGNORE'; + $SIG{'HUP'} = 'IGNORE'; + $SIG{'INT'} = 'IGNORE'; + $SIG{'PIPE'} = 'IGNORE'; + $SIG{'QUIT'} = 'IGNORE'; + $SIG{'TERM'} = 'IGNORE'; + $SIG{'USR1'} = 'IGNORE'; + $SIG{'USR2'} = 'IGNORE'; +} + +##--------------------------------------------------------------------------- +## set_handler() sets up the quit() routine to be called when +## a termination signal is sent to mhonarc. +## +sub set_handler { + $SIG{'ABRT'} = q/mhonarc'quit/; + $SIG{'HUP'} = q/mhonarc'quit/; + $SIG{'INT'} = q/mhonarc'quit/; + $SIG{'PIPE'} = q/mhonarc'quit/; + $SIG{'QUIT'} = q/mhonarc'quit/; + $SIG{'TERM'} = q/mhonarc'quit/; + $SIG{'USR1'} = q/mhonarc'quit/; + $SIG{'USR2'} = q/mhonarc'quit/; +} + +##--------------------------------------------------------------------------- +## Routine to clean up stuff +## +sub clean_up { + &remove_lock_file(); + $EndTime = (times)[0]; + local($cputime) = $EndTime - $StartTime; + if ($TIME) { + printf(STDERR "\nTime: %.2f CPU seconds\n", $cputime); + } + $cputime; +} + +##--------------------------------------------------------------------------- +## Quit execution +## +sub quit { + &clean_up(); + exit 0; +} + +##--------------------------------------------------------------------------- +## Create Index2MsgId if not defined +## +sub defineIndex2MsgId { + if (!defined(%Index2MsgId)) { + foreach (keys %MsgId) { + $Index2MsgId{$MsgId{$_}} = $_; + } + } +} + +##--------------------------------------------------------------------------- +1; diff --git a/lib/mhdb.pl b/lib/mhdb.pl index 6ccc281..4176d84 100644 --- a/lib/mhdb.pl +++ b/lib/mhdb.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhdb.pl 1.15 98/02/23 16:25:11 +## @(#) mhdb.pl 2.2 98/03/03 14:27:42 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -54,17 +54,22 @@ sub output_db { &print_assoc(DB, 'HeadHeads', *HeadHeads); &print_assoc(DB, 'Icons', *Icons); &print_assoc(DB, 'IndexNum', *IndexNum); - &print_assoc(DB, "main'MIMECharSetConverters", - *main'MIMECharSetConverters); - &print_assoc(DB, "main'MIMEFilters", *main'MIMEFilters); - &print_assoc(DB, "main'MIMEFiltersArgs", *main'MIMEFiltersArgs); + &print_assoc(DB, "readmail'MIMECharSetConverters", + *readmail'MIMECharSetConverters); + &print_assoc(DB, "readmail'MIMECharSetConvertersSrc", + *readmail'MIMECharSetConvertersSrc); + &print_assoc(DB, "readmail'MIMEFilters", + *readmail'MIMEFilters); + &print_assoc(DB, "readmail'MIMEFiltersSrc", + *readmail'MIMEFiltersSrc); + &print_assoc(DB, "readmail'MIMEFiltersArgs", + *readmail'MIMEFiltersArgs); &print_assoc(DB, 'MsgId', *MsgId); &print_assoc(DB, 'Refs', *Refs); &print_assoc(DB, 'Subject', *Subject); &print_assoc(DB, 'UDerivedFile', *UDerivedFile); &print_assoc(DB, 'Zone', *Zone); - &print_array(DB, 'CharSetRequires', *CharSetRequires); &print_array(DB, 'DateFields', *DateFields) unless $IsDefault{'DATEFIELDS'}; &print_array(DB, 'FieldOrder', *FieldOrder); @@ -74,7 +79,6 @@ sub output_db { &print_array(DB, 'months', *months); &print_array(DB, 'OtherIdxs', *OtherIdxs); &print_array(DB, 'PerlINC', *PerlINC); - &print_array(DB, 'Requires', *Requires); &print_array(DB, 'TListOrder', *TListOrder); &print_array(DB, 'Weekdays', *Weekdays); &print_array(DB, 'weekdays', *weekdays); @@ -112,16 +116,18 @@ sub output_db { &print_var(DB, 'NumOfMsgs', *NumOfMsgs); &print_var(DB, 'NumOfPages', *NumOfPages); &print_var(DB, 'THREAD', *THREAD); + &print_var(DB, 'SubArtRxp', *SubArtRxp); + &print_var(DB, 'SubReplyRxp', *SubReplyRxp); &print_var(DB, 'UsingLASTPG', *UsingLASTPG); # Main index resources + &print_var(DB, 'AUTHSORT', *AUTHSORT); + &print_var(DB, 'NOSORT', *NOSORT); + &print_var(DB, 'REVSORT', *REVSORT); + &print_var(DB, 'SUBSORT', *SUBSORT); if ($MAIN) { - &print_var(DB, 'AUTHSORT', *AUTHSORT); &print_var(DB, 'IDXNAME', *IDXNAME); &print_var(DB, 'IDXPREFIX', *IDXPREFIX); - &print_var(DB, 'NOSORT', *NOSORT); - &print_var(DB, 'REVSORT', *REVSORT); - &print_var(DB, 'SUBSORT', *SUBSORT); &print_var(DB, 'TITLE', *TITLE); &print_var(DB, 'AUTHBEG', *AUTHBEG) @@ -162,132 +168,110 @@ sub output_db { if ($THREAD) { &print_var(DB, 'TIDXNAME', *TIDXNAME); &print_var(DB, 'TIDXPREFIX', *TIDXPREFIX); - &print_var(DB, 'TLEVELS', *TLEVELS); - &print_var(DB, 'TNOSORT', *TNOSORT); - &print_var(DB, 'TREVERSE', *TREVERSE); - &print_var(DB, 'TSUBSORT', *TSUBSORT); &print_var(DB, 'TTITLE', *TTITLE); - - &print_var(DB, 'TCONTBEG', *TCONTBEG) - unless $IsDefault{'TCONTBEG'}; - &print_var(DB, 'TCONTEND', *TCONTEND) - unless $IsDefault{'TCONTEND'}; - &print_var(DB, 'TFOOT', *TFOOT) - unless $IsDefault{'TFOOT'}; - &print_var(DB, 'THEAD', *THEAD) - unless $IsDefault{'THEAD'}; &print_var(DB, 'TIDXLABEL', *TIDXLABEL) - unless $IsDefault{'TIDXLABEL'}; + unless $IsDefault{'TIDXLABEL'}; &print_var(DB, 'TIDXPGBEG', *TIDXPGBEG) - unless $IsDefault{'TIDXPGBEG'}; + unless $IsDefault{'TIDXPGBEG'}; &print_var(DB, 'TIDXPGEND', *TIDXPGEND) - unless $IsDefault{'TIDXPGEND'}; - &print_var(DB, 'TINDENTBEG', *TINDENTBEG) - unless $IsDefault{'TINDENTBEG'}; - &print_var(DB, 'TINDENTEND', *TINDENTEND) - unless $IsDefault{'TINDENTEND'}; - &print_var(DB, 'TLIEND', *TLIEND) - unless $IsDefault{'TLIEND'}; - &print_var(DB, 'TLINONE', *TLINONE) - unless $IsDefault{'TLINONE'}; - &print_var(DB, 'TLINONEEND', *TLINONEEND) - unless $IsDefault{'TLINONEEND'}; - &print_var(DB, 'TLITXT', *TLITXT) - unless $IsDefault{'TLITXT'}; + unless $IsDefault{'TIDXPGEND'}; &print_var(DB, 'TNEXTPGLINK', *TNEXTPGLINK) - unless $IsDefault{'TNEXTPGLINK'}; + unless $IsDefault{'TNEXTPGLINK'}; &print_var(DB, 'TNEXTPGLINKIA', *TNEXTPGLINKIA) - unless $IsDefault{'TNEXTPGLINKIA'}; + unless $IsDefault{'TNEXTPGLINKIA'}; &print_var(DB, 'TPREVPGLINK', *TPREVPGLINK) - unless $IsDefault{'TPREVPGLINK'}; + unless $IsDefault{'TPREVPGLINK'}; &print_var(DB, 'TPREVPGLINKIA', *TPREVPGLINKIA) - unless $IsDefault{'TPREVPGLINKIA'}; - &print_var(DB, 'TSINGLETXT', *TSINGLETXT) - unless $IsDefault{'TSINGLETXT'}; - &print_var(DB, 'TSUBJECTBEG', *TSUBJECTBEG) - unless $IsDefault{'TSUBJECTBEG'}; - &print_var(DB, 'TSUBJECTEND', *TSUBJECTEND) - unless $IsDefault{'TSUBJECTEND'}; - &print_var(DB, 'TSUBLISTBEG', *TSUBLISTBEG) - unless $IsDefault{'TSUBLISTBEG'}; - &print_var(DB, 'TSUBLISTEND', *TSUBLISTEND) - unless $IsDefault{'TSUBLISTEND'}; - &print_var(DB, 'TTOPBEG', *TTOPBEG) - unless $IsDefault{'TTOPBEG'}; - &print_var(DB, 'TTOPEND', *TTOPEND) - unless $IsDefault{'TTOPEND'}; + unless $IsDefault{'TPREVPGLINKIA'}; } + &print_var(DB, 'TLEVELS', *TLEVELS); + &print_var(DB, 'TNOSORT', *TNOSORT); + &print_var(DB, 'TREVERSE', *TREVERSE); + &print_var(DB, 'TSUBSORT', *TSUBSORT); + &print_var(DB, 'TCONTBEG', *TCONTBEG) unless $IsDefault{'TCONTBEG'}; + &print_var(DB, 'TCONTEND', *TCONTEND) unless $IsDefault{'TCONTEND'}; + &print_var(DB, 'TFOOT', *TFOOT) unless $IsDefault{'TFOOT'}; + &print_var(DB, 'THEAD', *THEAD) unless $IsDefault{'THEAD'}; + &print_var(DB, 'TINDENTBEG', *TINDENTBEG) + unless $IsDefault{'TINDENTBEG'}; + &print_var(DB, 'TINDENTEND', *TINDENTEND) + unless $IsDefault{'TINDENTEND'}; + &print_var(DB, 'TLIEND', *TLIEND) unless $IsDefault{'TLIEND'}; + &print_var(DB, 'TLINONE', *TLINONE) unless $IsDefault{'TLINONE'}; + &print_var(DB, 'TLINONEEND', *TLINONEEND) + unless $IsDefault{'TLINONEEND'}; + &print_var(DB, 'TLITXT', *TLITXT) unless $IsDefault{'TLITXT'}; + &print_var(DB, 'TSINGLETXT', *TSINGLETXT) + unless $IsDefault{'TSINGLETXT'}; + &print_var(DB, 'TSUBJECTBEG', *TSUBJECTBEG) + unless $IsDefault{'TSUBJECTBEG'}; + &print_var(DB, 'TSUBJECTEND', *TSUBJECTEND) + unless $IsDefault{'TSUBJECTEND'}; + &print_var(DB, 'TSUBLISTBEG', *TSUBLISTBEG) + unless $IsDefault{'TSUBLISTBEG'}; + &print_var(DB, 'TSUBLISTEND', *TSUBLISTEND) + unless $IsDefault{'TSUBLISTEND'}; + &print_var(DB, 'TTOPBEG', *TTOPBEG) unless $IsDefault{'TTOPBEG'}; + &print_var(DB, 'TTOPEND', *TTOPEND) unless $IsDefault{'TTOPEND'}; - &print_var(DB, 'BOTLINKS', *BOTLINKS) - unless $IsDefault{'BOTLINKS'}; - &print_var(DB, 'FIELDSBEG', *FIELDSBEG) - unless $IsDefault{'FIELDSBEG'}; - &print_var(DB, 'FIELDSEND', *FIELDSEND) - unless $IsDefault{'FIELDSEND'}; - &print_var(DB, 'FLDBEG', *FLDBEG) - unless $IsDefault{'FLDBEG'}; - &print_var(DB, 'FLDEND', *FLDEND) - unless $IsDefault{'FLDEND'}; + ## Other resources + &print_var(DB, 'BOTLINKS', *BOTLINKS) unless $IsDefault{'BOTLINKS'}; + &print_var(DB, 'FIELDSBEG', *FIELDSBEG) unless $IsDefault{'FIELDSBEG'}; + &print_var(DB, 'FIELDSEND', *FIELDSEND) unless $IsDefault{'FIELDSEND'}; + &print_var(DB, 'FLDBEG', *FLDBEG) unless $IsDefault{'FLDBEG'}; + &print_var(DB, 'FLDEND', *FLDEND) unless $IsDefault{'FLDEND'}; &print_var(DB, 'FOLUPBEGIN', *FOLUPBEGIN) unless $IsDefault{'FOLUPBEGIN'}; - &print_var(DB, 'FOLUPEND', *FOLUPEND) - unless $IsDefault{'FOLUPEND'}; + &print_var(DB, 'FOLUPEND', *FOLUPEND) unless $IsDefault{'FOLUPEND'}; &print_var(DB, 'FOLUPLITXT', *FOLUPLITXT) unless $IsDefault{'FOLUPLITXT'}; &print_var(DB, 'HEADBODYSEP ', *HEADBODYSEP) unless $IsDefault{'HEADBODYSEP'}; - &print_var(DB, 'LABELBEG', *LABELBEG) - unless $IsDefault{'LABELBEG'}; - &print_var(DB, 'LABELEND', *LABELEND) - unless $IsDefault{'LABELEND'}; + &print_var(DB, 'LABELBEG', *LABELBEG) unless $IsDefault{'LABELBEG'}; + &print_var(DB, 'LABELEND', *LABELEND) unless $IsDefault{'LABELEND'}; &print_var(DB, 'MSGBODYEND', *MSGBODYEND) unless $IsDefault{'MSGBODYEND'}; - &print_var(DB, 'MSGPGBEG', *MSGPGBEG) - unless $IsDefault{'MSGPGBEG'}; - &print_var(DB, 'MSGPGEND', *MSGPGEND) - unless $IsDefault{'MSGPGEND'}; + &print_var(DB, 'MSGIDLINK', *MSGIDLINK) unless $IsDefault{'MSGIDLINK'}; + &print_var(DB, 'MSGPGBEG', *MSGPGBEG) unless $IsDefault{'MSGPGBEG'}; + &print_var(DB, 'MSGPGEND', *MSGPGEND) unless $IsDefault{'MSGPGEND'}; &print_var(DB, 'NEXTBUTTON', *NEXTBUTTON) unless $IsDefault{'NEXTBUTTON'}; &print_var(DB, 'NEXTBUTTONIA', *NEXTBUTTONIA) unless $IsDefault{'NEXTBUTTONIA'}; - &print_var(DB, 'NEXTLINK', *NEXTLINK) - unless $IsDefault{'NEXTLINK'}; + &print_var(DB, 'NEXTLINK', *NEXTLINK) unless $IsDefault{'NEXTLINK'}; &print_var(DB, 'NEXTLINKIA', *NEXTLINKIA) unless $IsDefault{'NEXTLINKIA'}; &print_var(DB, 'PREVBUTTON', *PREVBUTTON) unless $IsDefault{'PREVBUTTON'}; &print_var(DB, 'PREVBUTTONIA', *PREVBUTTONIA) unless $IsDefault{'PREVBUTTONIA'}; - &print_var(DB, 'PREVLINK', *PREVLINK) - unless $IsDefault{'PREVLINK'}; + &print_var(DB, 'PREVLINK', *PREVLINK) unless $IsDefault{'PREVLINK'}; &print_var(DB, 'PREVLINKIA', *PREVLINKIA) unless $IsDefault{'PREVLINKIA'}; - &print_var(DB, 'REFSBEGIN', *REFSBEGIN) - unless $IsDefault{'REFSBEGIN'}; - &print_var(DB, 'REFSEND', *REFSEND) - unless $IsDefault{'REFSEND'}; - &print_var(DB, 'REFSLITXT', *REFSLITXT) - unless $IsDefault{'REFSLITXT'}; + &print_var(DB, 'REFSBEGIN', *REFSBEGIN) unless $IsDefault{'REFSBEGIN'}; + &print_var(DB, 'REFSEND', *REFSEND) unless $IsDefault{'REFSEND'}; + &print_var(DB, 'REFSLITXT', *REFSLITXT) unless $IsDefault{'REFSLITXT'}; &print_var(DB, 'SUBJECTHEADER ', *SUBJECTHEADER) unless $IsDefault{'SUBJECTHEADER'}; &print_var(DB, 'TNEXTBUTTON', *TNEXTBUTTON) unless $IsDefault{'TNEXTBUTTON'}; &print_var(DB, 'TNEXTBUTTONIA', *TNEXTBUTTONIA) unless $IsDefault{'TNEXTBUTTONIA'}; - &print_var(DB, 'TNEXTLINK', *TNEXTLINK) - unless $IsDefault{'TNEXTLINK'}; + &print_var(DB, 'TNEXTLINK', *TNEXTLINK) unless $IsDefault{'TNEXTLINK'}; &print_var(DB, 'TNEXTLINKIA', *TNEXTLINKIA) unless $IsDefault{'TNEXTLINKIA'}; - &print_var(DB, 'TOPLINKS', *TOPLINKS) - unless $IsDefault{'TOPLINKS'}; + &print_var(DB, 'TOPLINKS', *TOPLINKS) unless $IsDefault{'TOPLINKS'}; &print_var(DB, 'TPREVBUTTON', *TPREVBUTTON) unless $IsDefault{'TPREVBUTTON'}; &print_var(DB, 'TPREVBUTTONIA', *TPREVBUTTONIA) unless $IsDefault{'TPREVBUTTONIA'}; - &print_var(DB, 'TPREVLINK', *TPREVLINK) - unless $IsDefault{'TPREVLINK'}; + &print_var(DB, 'TPREVLINK', *TPREVLINK) unless $IsDefault{'TPREVLINK'}; &print_var(DB, 'TPREVLINKIA', *TPREVLINKIA) unless $IsDefault{'TPREVLINKIA'}; + &print_var(DB, 'TSLICEBEG', *TSLICEBEG) unless $IsDefault{'TSLICEBEG'}; + &print_var(DB, 'TSLICEEND', *TSLICEEND) unless $IsDefault{'TSLICEEND'}; + &print_var(DB, 'TSliceNBefore', *TSliceNBefore); + &print_var(DB, 'TSliceNAfter', *TSliceNAfter); &print_var(DB, 'UMASK', *UMASK); print DB "1;\n"; # for require diff --git a/lib/mhdysub.pl b/lib/mhdysub.pl index 976f211..2c8ba93 100644 --- a/lib/mhdysub.pl +++ b/lib/mhdysub.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhdysub.pl 1.2 97/02/17 @(#) +## @(#) mhdysub.pl 2.1 98/03/02 @(#) ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,6 +25,8 @@ ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ##---------------------------------------------------------------------------## +package mhonarc; + ##--------------------------------------------------------------------------- ## create_routines is used to dynamically create routines that ## would benefit from being create at run-time. Routines diff --git a/lib/mhexternal.pl b/lib/mhexternal.pl index 2a16f2f..ffaaba5 100644 --- a/lib/mhexternal.pl +++ b/lib/mhexternal.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhexternal.pl 1.14 98/02/23 14:12:44 +## @(#) mhexternal.pl 2.2 98/03/03 18:47:20 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -41,7 +41,6 @@ package m2h_external; %ExtCnt = (); # Array of filename counters for generated files $UnknownExt = 'bin'; -$UnknownType = 'Unrecognized Data'; $SubDir = 0; %CTExt = ( @@ -50,28 +49,32 @@ package m2h_external; ##----------------------------------------------------------------------- 'application/astound', 'asd:Astound presentation', + 'application/envoy', 'evy:Envoy file', 'application/fastman', 'lcc:fastman file', 'application/fractals', 'fif:Fractal Image Format', 'application/iges', 'iges:IGES file', 'application/mac-binhex40', 'hqx:Mac BinHex archive', + 'application/mathematica', 'ma:Mathematica Notebook document', 'application/mbedlet', 'mbd:mbedlet file', 'application/msword', 'doc:MS-Word document', 'application/octet-stream', 'bin:Binary data', 'application/oda', 'oda:ODA file', - 'application/pdf', 'pdf:PDF document', + 'application/pdf', 'pdf:Adobe PDF document', 'application/pgp', 'pgp:PGP message', 'application/pgp-signature', 'pgp:PGP signature', - 'application/postscript', 'ps:PostScript document', + 'application/postscript', 'ps,eps,ai:PostScript document', 'application/rtf', 'rtf:RTF file', 'application/sgml', 'sgml:SGML document', 'application/studiom', 'smp:Studio M file', 'application/timbuktu', 'tbt:timbuktu file', + 'application/vnd.hp-hpgl', 'hpg,hpgl:HPGL file', 'application/vnd.ms-excel', 'xls:MS-Excel spreadsheet', 'application/vnd.ms-powerpoint', 'ppt:MS-Powerpoint presentation', 'application/vnd.ms-project', 'mpp:MS-Project file', + 'application/vis5d', 'v5d:Vis5D dataset', 'application/winhlp', 'hlp:WinHelp document', 'application/wordperfect5.1', 'hlp:WordPerfect 5.1 document', - 'application/x-NET-Install', 'ins:Net Install file', + 'application/x-net-install', 'ins:Net Install file', 'application/x-asap', 'asp:asap file', 'application/x-bcpio', 'bcpio:BCPIO file', 'application/x-cpio', 'cpio:CPIO file', @@ -128,27 +131,55 @@ package m2h_external; 'application/x-wais-source', 'src:WAIS Source', 'application/x-zip-compressed', 'zip:Zip compressed data', 'application/zip', 'zip:Zip archive', + 'audio/basic', 'snd:Basic audio', 'audio/echospeech', 'es:Echospeech audio', 'audio/midi', 'midi:MIDI audio', - 'audio/x-aiff', 'aif:AIF audio', + 'audio/x-aiff', 'aif,aiff,aifc:AIF audio', 'audio/x-epac', 'pae:epac audio', 'audio/x-midi', 'midi:MIDI audio', + 'audio/x-mpeg', 'mp2:MPEG audio', 'audio/x-pac', 'pac:pac audio', - 'audio/x-pn-realaudio', 'ra:PN Realaudio', + 'audio/x-pn-realaudio', 'ra,ram:PN Realaudio', 'audio/x-wav', 'wav:Wave audio', + + 'chemical/chem3d', 'c3d:Chem3d chemical test', + 'chemical/chemdraw', 'chm:Chemdraw chemical test', + 'chemical/cif', 'cif:CIF chemical test', + 'chemical/cml', 'cml:CML chemical test', + 'chemical/cxf', 'cxf:Chemical Exhange Format file', + 'chemical/daylight-smiles', 'smi:SMILES format file', + 'chemical/embl-dl-nucleotide', 'emb,embl:EMBL nucleotide format file', + 'chemical/gaussian-input', 'gau:Gaussian chemical test', + 'chemical/gcg8-sequence', 'gcg:GCG format file', + 'chemical/genbank', 'gen:GENbank data', + 'chemical/jcamp-dx', 'jdx:Jcamp chemical spectra test', + 'chemical/kinemage', 'kin:Kinemage chemical test', + 'chemical/macromodel-input', 'mmd,mmod:Macromodel chemical test', + 'chemical/mopac-input', 'gau:Mopac chemical test', + 'chemical/mdl-molfile', 'mol:MOL mdl chemical test', + 'chemical/mdl-rdf', 'rdf:RDF chemical test', + 'chemical/mdl-rxn', 'rxn:RXN chemical test', + 'chemical/mdl-sdf', 'sdf:SDF chemical test', + 'chemical/mdl-tgf', 'tgf:TGF chemical test', + 'chemical/mif', 'mif:MIF chemical test', + 'chemical/mopac-input', 'mop:MOPAC data ', + 'chemical/ncbi-asn1', 'asn:NCBI data', + 'chemical/pdb', 'pdb:PDB chemical test', + 'chemical/rosdal', 'ros:Rosdal data', + 'image/bmp', 'bmp:Windows bitmap', 'image/cgm', 'cgm:Computer Graphics Metafile', 'image/fif', 'fif:Fractal Image Format image', + 'image/g3fax', 'g3f:Group III FAX image', 'image/gif', 'gif:GIF image', 'image/ief', 'ief:IEF image', 'image/ifs', 'ifs:IFS image', - 'image/jpeg', 'jpg:JPEG image', + 'image/jpeg', 'jpg,jpeg,jpe:JPEG image', 'image/png', 'png:PNG image', - 'image/tiff', 'tif:TIFF image', + 'image/tiff', 'tif,tiff:TIFF image', 'image/vnd', 'dwg:VND image', 'image/wavelet', 'wi:Wavelet image', - 'image/x-bmp', 'bmp:Windows bitmap', 'image/x-cmu-raster', 'ras:CMU raster', 'image/x-pbm', 'pbm:Portable bitmap', 'image/x-pcx', 'pcx:PCX image', @@ -167,25 +198,26 @@ package m2h_external; 'image/x-xpm', 'xpm:X pixmap', 'image/x-xwd', 'xwd:X window dump', 'image/x-xwindowdump', 'xwd:X window dump', + 'model/iges', 'iges:IGES model', 'model/vrml', 'wrl:VRML model', 'model/mesh', 'mesh:Mesh model', - 'text/enriched', 'rtx:Enriched document', + + 'text/enriched', 'rtx:Text-enriched document', 'text/html', 'html:HTML document', 'text/plain', 'txt:Text document', 'text/richtext', 'rtx:Richtext document', 'text/setext', 'stx:Setext document', 'text/sgml', 'sgml:SGML document', - 'text/x-html', 'html:HTML document', - 'text/x-setext', 'stx:Setext document', + 'text/tab-separated-values', 'tsv:Tab separated values', 'text/x-speech', 'talk:Speech document', + 'video/isivideo', 'fvi:isi video', - 'video/mpeg', 'mpg:MPEG movie', + 'video/mpeg', 'mpg,mpeg,mpe:MPEG movie', 'video/msvideo', 'avi:MS Video', - 'video/quicktime', 'mov:QuickTime movie', + 'video/quicktime', 'mov,qt:QuickTime movie', 'video/vivo', 'viv:vivo video', 'video/wavelet', 'wv:Wavelet video', - 'video/x-msvideo', 'avi:MS video', 'video/x-sgi-movie', 'movie:SGI movie', ); @@ -196,27 +228,30 @@ package m2h_external; ## Argument string may contain the following values. Each value ## should be separated by a space: ## +## ext=ext Use `ext' as the filename extension. +## +## iconurl="url" Use "url" for location of icon to use. +## ## inline Inline image data by default if ## content-disposition not defined. ## -## usename Use (file)name attribute for determining name -## of derived file. Use this option with caution -## since it can lead to filename conflicts and -## security problems. +## subdir Place derived files in a subdirectory ## -## ext=ext Use `ext' as the filename extension. +## target=name Set TARGET attribute for anchor link to file. +## Defaults to not defined. ## ## type="description" ## Use "description" as type description of the ## data. The double quotes are required. ## -## subdir Place derived files in a subdirectory -## ## useicon Include an icon as part of the link to the ## extracted file. Url for icon is obtained ## ICONS resource or from the iconurl option. ## -## iconurl="url" Use "url" for location of icon to use. +## usename Use (file)name attribute for determining name +## of derived file. Use this option with caution +## since it can lead to filename conflicts and +## security problems. ## sub filter { local($header, *fields, *data, $isdecode, $args) = @_; @@ -228,7 +263,9 @@ sub filter { $ctype, $type, $ext, $iconurl, $icon_mu, $inline, + $target, $inext, $intype); + local($debug) = 0; ## Init variables $name = ''; @@ -240,13 +277,24 @@ sub filter { $intype = ''; $iconurl = ''; $icon_mu = ''; + $target = ''; + + if ($args =~ /debug/i) { + $debug = 1; + } ## Get content-type ($ctype) = $fields{'content-type'} =~ m%^\s*([\w\-\./]+)%; $ctype =~ tr/A-Z/a-z/; ## Get disposition - ($disp, $nameparm) = &'MAILhead_get_disposition(*fields); + ($disp, $nameparm) = &readmail'MAILhead_get_disposition(*fields); + + if ($debug) { + &debug("Content-type: $ctype", + "Disposition: $disp; filename=$nameparm", + "Arg-string: $args"); + } ## Check if using name if ($args =~ /usename/i) { @@ -257,7 +305,7 @@ sub filter { ## Chech if file goes in a subdirectory if ($args =~ /subdir/i) { - $path = join('', $'MsgPrefix, $'MHAmsgnum, '.dir'); + $path = join('', $mhonarc'MsgPrefix, $mhonarc'MHAmsgnum, '.dir'); } else { $path = ''; } @@ -270,41 +318,60 @@ sub filter { } ## Check if extension and type description passed in - if ($args =~ /ext=(\S+)/i) { $inext = $1; } + if ($args =~ /ext=(\S+)/i) { $inext = $1; $inext =~ s/['"]//g; } if ($args =~ /type="([^"]+)"/i) { $intype = $1; } ## Check if using icon if ($args =~ /useicon/i) { - $iconurl = $'Icons{$ctype} || $'Icons{'unknown'}; + $iconurl = $mhonarc'Icons{$ctype} || $mhonarc'Icons{'unknown'}; if ($args =~ /iconurl="([^"]+)"/i) { $iconurl = $1; } $icon_mu = qq{} if $iconurl; } ## Determine default filename extension - ($ext, $type) = split(/:/, $CTExt{$ctype}, 2); - $ext = $inext if $inext; + if ($inext) { + $ext = $inext; + } else { + if (defined($CTExt{$ctype})) { + ($ext, $type) = split(/:/, $CTExt{$ctype}, 2); + } else { + local($ctype2) = $ctype; + $ctype2 =~ s%/x-%/%i; + ($ext, $type) = split(/:/, $CTExt{$ctype2}, 2); + } + $ext = (split(/,/, $ext))[0]; + } $type = $intype if $intype; if (!$ext) { $ext = $UnknownExt; - $type = "$UnknownType: $ctype"; + $type = $ctype; } $pre = $ext; substr($pre, 3) = "" if length($pre) > 3; # Prune prefix to 3 chars + ## Check if target specified + if ($args =~ /target="([^"]+)"/i) { $target = $1; } + elsif ($args =~ /target=(\S+)/i) { $target = $1; } + $target =~ s/['"]//g; + $target = qq/ TARGET="$target"/ if $target; + ## Write file $filename = &write_file(*data, $path, $name, $pre, $ext); - ($urlfile = $filename) =~ s/([^\w])/sprintf("%%%X",unpack("C",$1))/ge; + ($urlfile = $filename) =~ s/([^\w.\-\/])/sprintf("%%%X",unpack("C",$1))/ge; + if ($debug) { + &debug("File-written: $filename"); + } ## Create HTML markup if ($inline && ($ctype =~ /image/i)) { $ret = "

    " . &htmlize($fields{'content-description'}) . "

    \n" if ($fields{'content-description'}); - $ret .= qq{

    \n}; } else { - $ret = qq{

    $icon_mu } . + $ret = qq{

    $icon_mu } . (&htmlize($fields{'content-description'}) || $nameparm || $type) . qq{

    \n}; @@ -316,9 +383,9 @@ sub write_file { local(*stuff, $path, $fname, $pre, $ext) = @_; local($tmp, $cnt) = ('', ''); - $tmp = $'OUTDIR; + $tmp = $mhonarc'OUTDIR; if ($path) { - $tmp .= $'DIRSEP . $path; + $tmp .= $mhonarc'DIRSEP . $path; mkdir($tmp, 0777); } @@ -328,7 +395,7 @@ sub write_file { $fname = $pre . sprintf("%05d.",$cnt) . $ext; $ExtCnt{$ext} = 0 if $path; } - $tmp .= $'DIRSEP . $fname; + $tmp .= $mhonarc'DIRSEP . $fname; if (open(OUTFILE, "> $tmp")) { binmode(OUTFILE); # For MS-DOS @@ -339,8 +406,8 @@ sub write_file { } join("", - ($'SINGLE ? $'OUTDIR.$'DIRSEP : ""), - ($path ? join($'DIRSEP,$path,$fname) : $fname)); + ($mhonarc'SINGLE ? $mhonarc'OUTDIR.$mhonarc'DIRSEP : ""), + ($path ? join($mhonarc'DIRSEP,$path,$fname) : $fname)); } sub set_cnt { @@ -379,5 +446,12 @@ sub dump_ctext_hash { } } +sub debug { + foreach (@_) { + print STDERR "m2h_external: ", $_; + print STDERR "\n" unless /\n$/; + } +} + ##--------------------------------------------------------------------------- 1; diff --git a/lib/mhfile.pl b/lib/mhfile.pl index 3b0709c..3022c32 100644 --- a/lib/mhfile.pl +++ b/lib/mhfile.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhfile.pl 1.2 98/02/23 14:13:52 +## @(#) mhfile.pl 2.1 98/03/02 20:24:34 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,11 +25,13 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## +package mhonarc; + ##---------------------------------------------------------------------------## sub file_open { local($file) = shift; - local($handle) = 'FOPEN' . ++$_fo_cnt; + local($handle) = q/mhonarc'FOPEN/ . ++$_fo_cnt; local($gz) = $file =~ /\.gz$/; return $handle if $gz && (open($handle, "$GzipExe -cd $file |")); @@ -41,7 +43,7 @@ sub file_open { sub file_create { local($file) = shift; local($gz) = shift; - local($handle) = 'FCREAT' . ++$_fc_cnt; + local($handle) = q/mhonarc'FCREAT/ . ++$_fc_cnt; if ($gz) { $file .= ".gz" unless $file =~ /\.gz$/; @@ -97,7 +99,7 @@ sub dir_remove { @files = grep(!/^(\.|\..)$/i, readdir(DIR)); closedir(DIR); foreach (@files) { - &dir_remove($file . $'DIRSEP . $_); + &dir_remove($file . $mhonarc'DIRSEP . $_); } if (!rmdir($file)) { warn qq{Warning: Unable to remove "$file": $!\n}; diff --git a/lib/mhidxrc.pl b/lib/mhidxrc.pl index 4adb73a..70a93fc 100644 --- a/lib/mhidxrc.pl +++ b/lib/mhidxrc.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhidxrc.pl 1.8 98/02/23 16:25:37 +## @(#) mhidxrc.pl 2.2 98/03/03 14:29:10 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,6 +25,8 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## +package mhonarc; + ##-----------------## ## Index resources ## ##-----------------## @@ -33,7 +35,8 @@ $SUBSORT ? 'Subject' : $AUTHSORT ? 'Author' : 'Date'; -if ($MAIN) { +## MAIN index resources +## if ($MAIN) { ## Label for main index unless ($IDXLABEL) { @@ -107,9 +110,11 @@ unless ($SUBJECTEND) { $SUBJECTEND = ''; $IsDefault{'SUBJECTEND'} = 1; } -} -if ($THREAD) { +## } + +## THREAD index resources +## if ($THREAD) { ## Label for thread index unless ($TIDXLABEL) { @@ -247,6 +252,15 @@ $DoMissingMsgs = $TLINONE =~ /\S/; +## } + +unless ($TSLICEBEG) { + $TSLICEBEG = "
      \n"; + $IsDefault{'TSLICEBEG'} = 1; +} +unless ($TSLICEEND) { + $TSLICEEND = "
    \n"; + $IsDefault{'TSLICEEND'} = 1; } ##-------------------## @@ -482,6 +496,9 @@ $TPREVPGLINKIA = '[Prev Page]', $IsDefault{'TPREVPGLINKIA'} = 1 unless $TPREVPGLINKIA; +$MSGIDLINK = '$MSGID$', + $IsDefault{'MSGIDLINK'} = 1 unless $MSGIDLINK; + ## Set unknown icon $Icons{'unknown'} = $Icons{'text/plain'} unless $Icons{'unknown'}; diff --git a/lib/mhinit.pl b/lib/mhinit.pl index 0304df3..2e0e253 100644 --- a/lib/mhinit.pl +++ b/lib/mhinit.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhinit.pl 1.24 98/02/23 16:26:24 +## @(#) mhinit.pl 2.2 98/03/03 14:30:12 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,6 +25,8 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## +package mhonarc; + ##---------------------------------------------------------------------------## ## The %Zone array should be augmented to contain all timezone @@ -135,43 +137,25 @@ ## Some miscellaneous variables -%IsDefault = (); # Flags if certain resources are the default +%IsDefault = (); # Flags if certain resources are the default -$bs = "\b"; # Used as a separator +$bs = "\b"; # Used as a separator $Url = '(http://|https://|ftp://|afs://|wais://|telnet://|' . 'gopher://|news:|nntp:|mid:|cid:|mailto:|prospero:)'; -$MLCP = 0; # Main index contains included files flag -$SLOW = 0; # Save memory flag -$NumOfPages = 0; # Number of index pages -$IdxMinPg = -1; # Starting page of index for updating -$TIdxMinPg = -1; # Starting page of thread index for updating -$DBPathName = ''; # Full pathname of database file - -## Set default filter libraries - -@Requires = ( - - "mhexternal.pl", - "mhtxtenrich.pl", - "mhtxthtml.pl", - "mhtxtplain.pl", - "mhtxtsetext.pl", - -); - -@CharSetRequires = ( - "iso8859.pl", - -); +$MLCP = 0; # Main index contains included files flag +$SLOW = 0; # Save memory flag +$NumOfPages = 0; # Number of index pages +$IdxMinPg = -1; # Starting page of index for updating +$TIdxMinPg = -1; # Starting page of thread index for updating +$DBPathName = ''; # Full pathname of database file ##---------------------------------------------------------------------- ## BEGIN readmail.pl variable settings ##---------------------------------------------------------------------- ## Default filters ## -%main'MIMEFilters = ( - +%readmail'MIMEFilters = ( # Content-type Filter #------------------------------------------------------------------- "application/x-patch", "m2h_text_plain'filter", @@ -181,43 +165,60 @@ "text/plain", "m2h_text_plain'filter", "text/richtext", "m2h_text_enriched'filter", "text/setext", "m2h_text_setext'filter", - "text/tab-separated-values", "m2h_text_plain'filter", + "text/tab-separated-values", "m2h_text_tsv'filter", "text/x-html", "m2h_text_html'filter", "text/x-setext", "m2h_text_setext'filter", "application/*", "m2h_external'filter", "audio/*", "m2h_external'filter", + "chemical/*", "m2h_external'filter", "image/*", "m2h_external'filter", "model/*", "m2h_external'filter", "text/*", "m2h_text_plain'filter", "video/*", "m2h_external'filter", - - # Nead to add to list if more base types are registered. - +); +%readmail'MIMEFiltersSrc = ( + # Content-type Filter + #------------------------------------------------------------------- + "application/x-patch", "mhtxtplain.pl", + "message/partial", "mhtxtplain.pl", + "text/enriched", "mhtxtenrich.pl", + "text/html", "mhtxthtml.pl", + "text/plain", "mhtxtplain.pl", + "text/richtext", "mhtxtenrich.pl", + "text/setext", "mhtxtsetext.pl", + "text/tab-separated-values", "mhtxttsv.pl", + "text/x-html", "mhtxthtml.pl", + "text/x-setext", "mhtxtsetext.pl", + + "application/*", "mhexternal.pl", + "audio/*", "mhexternal.pl", + "chemical/*", "mhexternal.pl", + "image/*", "mhexternal.pl", + "model/*", "mhexternal.pl", + "text/*", "mhtxtplain.pl", + "video/*", "mhexternal.pl", ); ## Default filter arguments ## -%main'MIMEFiltersArgs = ( - +%readmail'MIMEFiltersArgs = ( # Content-type Arguments #------------------------------------------------------------------- "image/gif", "inline", "image/jpeg", "inline", "image/x-xbitmap", "inline", "image/x-xbm", "inline", - ); ## Charset filters ## -%main'MIMECharSetConverters = ( - +%readmail'MIMECharSetConverters = ( # Character set Converter Function #------------------------------------------------------------------- - "plain", "main'htmlize", - "us-ascii", "main'htmlize", - "iso-8859-1", "main'htmlize", + "plain", "mhonarc'htmlize", + "us-ascii", "mhonarc'htmlize", + "iso-8859-1", "mhonarc'htmlize", "iso-8859-2", "iso_8859'str2sgml", "iso-8859-3", "iso_8859'str2sgml", "iso-8859-4", "iso_8859'str2sgml", @@ -227,17 +228,32 @@ "iso-8859-8", "iso_8859'str2sgml", "iso-8859-9", "iso_8859'str2sgml", "iso-8859-10", "iso_8859'str2sgml", - "default", "-ignore-", - ); +%readmail'MIMECharSetConvertersSrc = ( + # Character set Converter Function + #------------------------------------------------------------------- + "plain", undef, + "us-ascii", undef, + "iso-8859-1", undef, + "iso-8859-2", "iso8859.pl", + "iso-8859-3", "iso8859.pl", + "iso-8859-4", "iso8859.pl", + "iso-8859-5", "iso8859.pl", + "iso-8859-6", "iso8859.pl", + "iso-8859-7", "iso8859.pl", + "iso-8859-8", "iso8859.pl", + "iso-8859-9", "iso8859.pl", + "iso-8859-10", "iso8859.pl", + "default", undef, +); + ##------------------------------------------------------------------------ ## END readmail.pl variable settings ##------------------------------------------------------------------------ ## Variable to hold function for converting message header text. -#$MHeadCnvFunc = "convert_line"; -$MHeadCnvFunc = "iso_8859'str2sgml"; +$MHeadCnvFunc = "mhonarc'htmlize"; ## Regexp for variable detection $VarExp = '\$([^\$]*)\$'; @@ -256,7 +272,7 @@ $IDXNAME = ""; # Set in get_cli_opts() $IDXPREFIX = $ENV{'M2H_IDXPREFIX'} || "mail"; $TIDXPREFIX= $ENV{'M2H_TIDXPREFIX'} || "thrd"; -$IDXSIZE = $ENV{'M2H_IDXSIZE'} || ""; +$IDXSIZE = $ENV{'M2H_IDXSIZE'} || 0; $TIDXNAME = ""; # Set in get_cli_opts() $OUTDIR = $ENV{'M2H_OUTDIR'} || $CURDIR; $FMTFILE = $ENV{'M2H_RCFILE'} || ""; @@ -268,7 +284,7 @@ (($MSDOS || $VMS) ? "mhonarc.lck": ".mhonarc.lck"); $LOCKTRIES = $ENV{'M2H_LOCKTRIES'} || 10; $LOCKDELAY = $ENV{'M2H_LOCKDELAY'} || 3; -$MAXSIZE = $ENV{'M2H_MAXSIZE'} || ""; +$MAXSIZE = $ENV{'M2H_MAXSIZE'} || 0; $TLEVELS = $ENV{'M2H_TLEVELS'} || 3; $MHPATTERN = $ENV{'M2H_MHPATTERN'} || '^\d+$'; $DefRcFile = $ENV{'M2H_DEFRCFILE'} || ''; @@ -327,6 +343,14 @@ @FromFields = defined($ENV{'M2H_FROMFIELDS'}) ? split(/:/, $ENV{'M2H_FROMFIELDS'}) : (); +($TSliceNBefore, $TSliceNAfter) = defined($ENV{'M2H_TSLICE'}) ? + split(/:/, $ENV{'M2H_TSLICE'}) : (0, 4); + +$SubArtRxp = $ENV{'M2H_SUBJECTARTICLERXP'} || + q/^(the|a|an)\s+/; +$SubReplyRxp = $ENV{'M2H_SUBJECTREPLYRXP'} || + q/^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*/; + ## Arrays for months and weekdays. If empty, the default settings ## in mhtime.pl are used. @@ -351,10 +375,8 @@ $SUBJECTEND = ''; # End of subject group $TIDXLABEL = ''; # Label for thread index -$THEAD = ''; # Thread index header -$TFOOT = ''; # Thread index footer -$TLISTBEG = ''; # Thread list open -$TLISTEND = ''; # Thread list close +$THEAD = ''; # Thread index header (and list start) +$TFOOT = ''; # Thread index footer (and list end) $TSINGLETXT = ''; # Single/lone thread entry template $TTOPBEG = ''; # Top of a thread begin template $TTOPEND = ''; # Top of a thread end template @@ -371,6 +393,9 @@ $TCONTBEG = ''; # Thread continue open $TCONTEND = ''; # Thread continue close +$TSLICEBEG = ''; # Start of thread slice +$TSLICEEND = ''; # End of thread slice + $MSGFOOT = ''; # Message footer $MSGHEAD = ''; # Message header $TOPLINKS = ''; # Message links at top of message @@ -429,6 +454,8 @@ $REFSLITXT = ''; # Markup for ref list entry $REFSEND = ''; # End of refs for message page +$MSGIDLINK = ''; # Markup for linking message-ids + ## The following associative array if for defining custom ## resource variables %CustomRcVars = (); diff --git a/lib/mhopt.pl b/lib/mhopt.pl index fe31b83..d004cba 100644 --- a/lib/mhopt.pl +++ b/lib/mhopt.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhopt.pl 1.4 98/02/23 16:35:33 +## @(#) mhopt.pl 2.3 98/03/03 15:09:40 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,7 +25,7 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## -package main; +package mhonarc; ##--------------------------------------------------------------------------- ## get_cli_opts() is responsible for grabbing command-line options @@ -109,6 +109,8 @@ sub get_cli_opts { "scan", # List out archive contents to terminal "single", # Convert a single message to HTML "sort", # Sort messages in increasing date order + "subjectarticlerxp=s", # Regex for leading articles in subjects + "subjectreplyrxp=s", # Regex for leading reply string in subjects "subsort", # Sort message by subject "tidxfname=s", # File name of threaded index page "tidxprefix=s", # Filename prefix for multi-page thread index @@ -118,6 +120,7 @@ sub get_cli_opts { "thread", # Create threaded index "tlevels=i", # Maximum # of nested lists in threaded index "treverse", # Reverse order of thread listing + "tslice=s", # Set size of thread slice listing "tsort", # List threads by date "tnosort", # List threads by ordered processed "tsubsort", # List threads by subject @@ -248,7 +251,7 @@ sub get_cli_opts { ## Remove lock file if scanning messages ## if ($SCAN) { - &clean_up(); + &remove_lock_file(); } ## Read resource file (I initially used the term 'format file'). @@ -279,36 +282,8 @@ sub get_cli_opts { if (!$SCAN) { ## Require readmail library require 'readmail.pl' || die("ERROR: Unable to require readmail.pl\n"); - - if (!$RMM) { - ## Require MIME filters - if (!$EDITIDX) { - &remove_dups(*Requires); - print STDOUT "Requiring content filter libraries ...\n" - unless $QUIET; - foreach (@Requires) { - print STDOUT "\t$_\n" unless $QUIET; - require $_ || die("ERROR: Unable to require ${_}\n"); - } - } - - ## Register functions to readmail.pl - $readmail'FormatHeaderFunc = "main'htmlize_header"; - } - - ## Check for 1522 processing (should always be true) - if ($RFC1522) { - &remove_dups(*CharSetRequires); - print STDOUT "Requiring charset filter libraries ...\n" - unless $QUIET; - foreach (@CharSetRequires) { - print STDOUT "\t$_\n" unless $QUIET; - require $_ || die("ERROR: Unable to require ${_}\n"); - } - $MHeadCnvFunc = "main'MAILdecode_1522_str"; - } else { - $MHeadCnvFunc = "convert_line"; - } + $readmail'FormatHeaderFunc = "mhonarc'htmlize_header"; + $MHeadCnvFunc = "readmail'MAILdecode_1522_str"; } ## Get other command-line options @@ -346,6 +321,9 @@ sub get_cli_opts { $GMTDateFmt = $opt_gmtdatefmt if $opt_gmtdatefmt; $LocalDateFmt = $opt_localdatefmt if $opt_localdatefmt; + $SubArtRxp = $opt_subjectarticlerxp if $subjectarticlerxp; + $SubReplyRxp = $opt_subjectreplyrxp if $subjectreplyrxp; + ## Parse any rc variable definition from command-line %CustomRcVars = (%CustomRcVars, &parse_vardef_str($opt_definevars)) if ($opt_definevars); @@ -388,6 +366,8 @@ sub get_cli_opts { @FromFields = split(/:/, $opt_fromfields) if $opt_fromfields; foreach (@FromFields) { s/\s//g; tr/A-Z/a-z/; } + ($TSliceNBefore, $TSliceNAfter) = split(/:/, $opt_tslice) if $opt_tslice; + @Months = split(/:/, $opt_months) if defined($opt_months); @months = split(/:/, $opt_monthsabr) if defined($opt_monthsabr); @Weekdays = split(/:/, $opt_weekdays) if defined($opt_weekdays); @@ -495,7 +475,6 @@ sub get_cli_opts { ## Check if printing process time $TIME = defined($opt_time); - $StartTime = (times)[0] if ($TIME); 1; } @@ -539,6 +518,27 @@ sub create_lock_file { $ret; } +##--------------------------------------------------------------------------- +## remove_lock_file removes the lock on the archive +## +sub remove_lock_file { + if ($ISLOCK) { + if (-d $LOCKFILE) { + if (!rmdir($LOCKFILE)) { + warn "Warning: Unable to remove $LOCKFILE: $!\n"; + return 0; + } + } else { + if (!unlink($LOCKFILE)) { + warn "Warning: Unable to remove $LOCKFILE\n"; + return 0; + } + } + $ISLOCK = 0; + } + 1; +} + ##--------------------------------------------------------------------------- ## read_fmt_file() requires the library with the resource file ## read subroutine and calls the routine. diff --git a/lib/mhrcfile.pl b/lib/mhrcfile.pl index b3fad02..631fdb0 100644 --- a/lib/mhrcfile.pl +++ b/lib/mhrcfile.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhrcfile.pl 1.17 98/02/23 16:27:51 +## @(#) mhrcfile.pl 2.2 98/03/03 14:30:49 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,6 +25,8 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## +package mhonarc; + ##--------------------------------------------------------------------------- ## read_resource_file() parses the resource file. ## (The code for this routine could probably be simplified). @@ -34,12 +36,13 @@ sub read_resource_file { local($line, $tag, $label, $acro, $hr, $type, $routine, $plfile, $url, $arg, $tmp, @a); local($elem, $attr, $override, $handle, $pathhead, $chop); + $override = 0; if (!($handle = &file_open($file))) { warn "Warning: Unable to open resource file: $file\n"; return 0; } - if ($file =~ m%(.*[$'DIRSEPREX])%o) { + if ($file =~ m%(.*[$DIRSEPREX])%o) { $pathhead = $1; } else { $pathhead = ''; @@ -48,6 +51,7 @@ sub read_resource_file { print STDOUT "Reading resource file: $file ...\n" unless $QUIET; while ($line = <$handle>) { next unless $line =~ /^\s*<([^>]+)>/; + $attr = ''; ($elem, $attr) = split(' ', $1, 2); $elem =~ tr/A-Z/a-z/; $override = ($attr =~ /override/i); @@ -72,8 +76,10 @@ sub read_resource_file { last FMTSW; } if ($elem eq "charsetconverters") { # Charset filters - @CharSetRequires = (), %'MIMECharSetConverters = () - if $override; + if ($override) { + %readmail'MIMECharSetConverters = (); + %readmail'MIMECharSetConvertersSrc = (); + } while ($line = <$handle>) { last if $line =~ /^\s*<\/charsetconverters\s*>/i; next if $line =~ /^\s*$/; @@ -84,8 +90,9 @@ sub read_resource_file { ($type,$routine,$plfile) = split(/:/,$line,3); } $type =~ tr/A-Z/a-z/; - $'MIMECharSetConverters{$type} = $routine; - push(@CharSetRequires, $plfile) if $plfile =~ /\S/; + $readmail'MIMECharSetConverters{$type} = $routine; + $readmail'MIMECharSetConvertersSrc{$type} = $plfile + if $plfile =~ /\S/; } last FMTSW; } @@ -312,7 +319,7 @@ sub read_resource_file { last if $line =~ /^\s*<\/include\s*>/i; next if $line =~ /^\s*$/; $line =~ s/\s+$//; - $line = $pathhead . $line if ($line !~ /$'DIRSEPREX/o); + $line = $pathhead . $line if ($line !~ /$DIRSEPREX/o); &read_resource_file($line); } last FMTSW; @@ -392,7 +399,10 @@ sub read_resource_file { last FMTSW; } if ($elem eq "mimefilters") { # Mime filters - @Requires = (), %'MIMEFilters = () if $override; + if ($override) { + %readmail'MIMEFilters = (); + %readmail'MIMEFiltersSrc = (); + } while ($line = <$handle>) { last if $line =~ /^\s*<\/mimefilters\s*>/i; next if $line =~ /^\s*$/; @@ -403,13 +413,13 @@ sub read_resource_file { ($type,$routine,$plfile) = split(/:/,$line,3); } $type =~ tr/A-Z/a-z/; - $'MIMEFilters{$type} = $routine; - push(@Requires, $plfile) if $plfile =~ /\S/; + $readmail'MIMEFilters{$type} = $routine; + $readmail'MIMEFiltersSrc{$type} = $plfile if $plfile =~ /\S/; } last FMTSW; } if ($elem eq "mimeargs") { # Mime arguments - %'MIMEFiltersArgs = () if $override; + %readmail'MIMEFiltersArgs = () if $override; while ($line = <$handle>) { last if $line =~ /^\s*<\/mimeargs\s*>/i; next unless $line =~ /\S/; @@ -420,7 +430,7 @@ sub read_resource_file { ($type, $arg) = split(/:/,$line,2); } $type =~ tr/A-Z/a-z/ if $type =~ m%/%; - $'MIMEFiltersArgs{$type} = $arg; + $readmail'MIMEFiltersArgs{$type} = $arg; } last FMTSW; } @@ -455,6 +465,10 @@ sub read_resource_file { $MSGHEAD = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "msgidlink") { + $MSGIDLINK = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "msglocaldatefmt") { # Message local date format if ($line = &get_elem_last_line($handle, $elem)) { $MsgLocalDateFmt = $line; @@ -620,6 +634,18 @@ sub read_resource_file { $AUTHSORT = 0; $SUBSORT = 0; last FMTSW; } + if ($elem eq "subjectarticlerxp") { + if ($line = &get_elem_last_line($handle, $elem)) { + $SubArtRxp = $line; + } + last FMTSW; + } + if ($elem eq "subjectreplyrxp") { + if ($line = &get_elem_last_line($handle, $elem)) { + $SubReplyRxp = $line; + } + last FMTSW; + } if ($elem eq "subsort") { # Sort messages by subject $SUBSORT = 1; $AUTHSORT = 0; $NOSORT = 0; @@ -736,6 +762,19 @@ sub read_resource_file { $TNOSORT = 1; $TSUBSORT = 0; last FMTSW; } + if ($elem eq "tslice") { + ($TSliceNBefore, $TSliceNAfter) = + &get_list_content($handle, $elem); + last FMTSW; + } + if ($elem eq "tslicebeg") { # Start of thread slice + $TSLICEBEG = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tsliceend") { # End of thread slice + $TSLICEEND = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "tsort") { # Date order for threads $TNOSORT = 0; $TSUBSORT = 0; last FMTSW; @@ -926,7 +965,7 @@ sub get_pathname_content { last if /^\s*<\/$gi\s*>/i; next unless /\S/; s/\r?\n?$//; - push(@items, split(/$'PATHSEP/o, $_)); + push(@items, split(/$PATHSEP/o, $_)); } @items; } diff --git a/lib/mhrcvars.pl b/lib/mhrcvars.pl index 41ff60a..f8063f6 100644 --- a/lib/mhrcvars.pl +++ b/lib/mhrcvars.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhrcvars.pl 1.9 98/02/16 20:25:45 +## @(#) mhrcvars.pl 2.2 98/03/03 14:31:22 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,6 +25,8 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## +package mhonarc; + ##--------------------------------------------------------------------------- ## replace_li_var() is used to substitute vars to current ## values. This routine relies on some variables being set by the @@ -300,6 +302,10 @@ sub replace_li_var { $tmp = $TTITLE; last REPLACESW; } + if ($var eq 'TSLICE') { + $tmp = &make_thread_slice($index, $TSliceNBefore, $TSliceNAfter); + last REPLACESW; + } if ($var eq 'VERSION') { $tmp = $VERSION; last REPLACESW; @@ -533,7 +539,7 @@ sub replace_li_var { } else { if ($raw) { - $ret = &$MHeadCnvFunc($tmp) if $raw; + $ret = &$MHeadCnvFunc($tmp); } else { $ret = $tmp; } diff --git a/lib/mhthread.pl b/lib/mhthread.pl index 9dabaf6..db294b9 100644 --- a/lib/mhthread.pl +++ b/lib/mhthread.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhthread.pl 1.2 98/02/23 18:58:07 +## @(#) mhthread.pl 2.2 98/03/03 14:33:44 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,7 +25,7 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## -package main; +package mhonarc; ##--------------------------------------------------------------------------- ## write_thread_index outputs the thread index @@ -34,14 +34,17 @@ sub write_thread_index { local($tmpl, $handle); local($index) = (""); local(*a, $PageNum, %Printed); - local($lastlevel, $tlevel, $iscont, $i); + local($lastlevel, $tlevel, $iscont, $i, $offstart, $offend); local($level) = 0; ## !!!Used in print_thread!!! local($last0index) = ''; for ($PageNum = 1; $PageNum <= $NumOfPages; $PageNum++) { if ($MULTIIDX) { - @a = splice(@TListOrder, 0, $IDXSIZE); + $offstart = ($PageNum-1) * $IDXSIZE; + $offend = $offstart + $IDXSIZE-1; + $offend = $#TListOrder if $#TListOrder < $offend; + @a = @TListOrder[$offstart..$offend]; } next if $PageNum < $TIdxMinPg; @@ -50,10 +53,10 @@ sub write_thread_index { $TIDXPATHNAME = join("", $OUTDIR, $DIRSEP, $TIDXPREFIX, $PageNum, ".", $HtmlExt); } else { - $TIDXPATHNAME = ${OUTDIR} . ${DIRSEP} . ${TIDXNAME}; + $TIDXPATHNAME = join($DIRSEP, $OUTDIR, $TIDXNAME); } } else { - $TIDXPATHNAME = ${OUTDIR} . ${DIRSEP} . ${TIDXNAME}; + $TIDXPATHNAME = join($DIRSEP, $OUTDIR, $TIDXNAME); if ($IDXSIZE && (($i = ($#ThreadList+1) - $IDXSIZE) > 0)) { if ($TREVERSE) { @NotIdxThreadList = splice(@ThreadList, $IDXSIZE); @@ -86,7 +89,7 @@ sub write_thread_index { ## Print index. Print unless message has been printed, or ## unless it has reference that is visible. - $level = 0; # Used in print_thread!!! + $level = 0; # !!!Used in print_thread!!! $lastlevel = $ThreadLevel{$a[0]}; # check if continuing a thread @@ -190,8 +193,8 @@ sub compute_threads { ## Find first occurrances of subjects foreach $index (@ThreadList) { $tmp = $Subject{$index}; - 1 while (($tmp =~ s/^re[\[\]\d]*:\s*//i) || - ($tmp =~ s/\s*-\s*re(ply|sponse)\s*$//i)); + 1 while (($tmp =~ s/^$SubReplyRxp//io) || + ($tmp =~ s/\s*-\s*re(ply|sponse)\s*$//io)); $stripsub{$index} = $tmp; $FirstSub2Index{$tmp} = $index @@ -291,12 +294,12 @@ sub print_thread { local($attop, $haverepls, $hvnirepls, $single, $depth, $i); ## Get replies - @repls = sort increase_index split(/$bs/o, $Replies{$idx}); + @repls = sort increase_index split(/$bs/o, $Replies{$idx}); @srepls = sort increase_index split(/$bs/o, $SReplies{$idx}); - $depth = $HasRefDepth{$idx}; + $depth = $HasRefDepth{$idx}; $hvnirepls = (@repls || @srepls); - @repls = grep($TVisible{$_}, @repls); + @repls = grep($TVisible{$_}, @repls); @srepls = grep($TVisible{$_}, @srepls); $haverepls = (@repls || @srepls); @@ -307,10 +310,10 @@ sub print_thread { ## calls and level. ## Print entry - #$attop = ($top && $haverepls); + #$attop = ($top && $haverepls); #$single = ($top && !$haverepls); - $attop = ($top && $hvnirepls); - $single = ($top && !$hvnirepls); + $attop = ($top && $hvnirepls); + $single = ($top && !$hvnirepls); if ($attop) { &print_thread_var($handle, $idx, *TTOPBEG); @@ -388,6 +391,205 @@ sub print_thread_var { print $handle $tmpl; } +##--------------------------------------------------------------------------- +## make_thread_slice generates a slice of the thread listing. +## Arguments are: +## +## $refindex : Reference message index that slice is based +## $bcnt : Number of messages before $refindex to list +## $acnt : Number of messages after $refindex to list +## +## Returns string containing thread slice text. +## +sub make_thread_slice { + local($refindex, $bcnt, $acnt) = @_; + local($slicetxt) = ""; + + local($pos) = $Index2TLoc{$refindex}; + local($start) = $pos - $bcnt; + local($end) = $pos + $acnt; + $start = 0 if $start < 0; + $end = $#TListOrder if $end > $#TListOrder; + local(@a) = @TListOrder[$start..$end]; + + local($lastlevel) = $ThreadLevel{$a[0]}; + local($level) = 0; ## !!!Used in print_thread!!! + local(%Printed); ## !!!Used in print_thread!!! + local($tmpl, $index, $tlevel, $iscont, $i); + + ($tmpl = $TSLICEBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + + ## Flag visible messages for use in printing thread + foreach $index (@a) { $TVisible{$index} = 1; } + + # check if continuing a thread + if ($lastlevel > 0) { + ($tmpl = $TCONTBEG) =~ s/$VarExp/&replace_li_var($1,$a[0])/geo; + $slicetxt .= $tmpl; + } + # perform any indenting + for ($i=0; $i < $lastlevel; ++$i) { + ++$level; + if ($level <= $TLEVELS) { + ($tmpl = $TINDENTBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + } + } + # print index listing + foreach $index (@a) { + $tlevel = $ThreadLevel{$index}; + if (($lastlevel > 0) && ($tlevel < $lastlevel)) { + for ($i=$tlevel; $i < $lastlevel; ++$i) { + if ($level <= $TLEVELS) { + ($tmpl = $TINDENTEND) =~ + s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + } + --$level; + } + $lastlevel = $tlevel; + if ($lastlevel < 1) { # Check if continuation done + ($tmpl = $TCONTEND) =~ + s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + } + } + unless ($Printed{$index} || + ($HasRef{$index} && $TVisible{$HasRef{$index}})) { + $slicetxt .= &make_thread($index, ($lastlevel > 0) ? 0 : 1); + } + } + # unindent if required + for ($i=0; $i < $lastlevel; ++$i) { + if ($level <= $TLEVELS) { + ($tmpl = $TINDENTEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + } + --$level; + } + # close continuation if required + if ($lastlevel > 0) { + ($tmpl = $TCONTEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + } + + ## Reset visibility flags + foreach $index (@a) { $TVisible{$index} = 0; } + + ($tmpl = $TSLICEEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; + $slicetxt .= $tmpl; + + $slicetxt; +} + +##--------------------------------------------------------------------------- +## Routine to generate text representing a thread. +## Uses %Printed and $level defined by caller. +## +sub make_thread { + local($idx, $top) = @_; + local(@repls, @srepls); + local($attop, $haverepls, $hvnirepls, $single, $depth, $i); + local($ret) = ""; + + ## Get replies + @repls = sort increase_index split(/$bs/o, $Replies{$idx}); + @srepls = sort increase_index split(/$bs/o, $SReplies{$idx}); + $depth = $HasRefDepth{$idx}; + $hvnirepls = (@repls || @srepls); + + @repls = grep($TVisible{$_}, @repls); + @srepls = grep($TVisible{$_}, @srepls); + $haverepls = (@repls || @srepls); + + ## $hvnirepls is a flag if the message has replies, but they are + ## not visible. $haverepls is a flag if the message has visible + ## replies. $hvnirepls is used to determine the $attop and + ## $single flags. $haverepls is used for determine recursive + ## calls and level. + + ## Print entry + $attop = ($top && $hvnirepls); + $single = ($top && !$hvnirepls); + + if ($attop) { + $ret .= &expand_thread_var($idx, *TTOPBEG); + } elsif ($single) { + $ret .= &expand_thread_var($idx, *TSINGLETXT); + } else { + ## Check for missing messages + if ($DoMissingMsgs) { + for ($i = $depth; $i > 0; $i--) { + $level++; + $ret .= &expand_thread_var($idx, *TLINONE); + $ret .= &expand_thread_var($idx, *TSUBLISTBEG) + if $level <= $TLEVELS; + } + } + $ret .= &expand_thread_var($idx, *TLITXT); + } + + ## Increment level count if their are replies + if ($haverepls) { + $level++; + } + + ## Mark message printed + $Printed{$idx} = 1; + + ## Print sub-threads + if (@repls) { + $ret .= &expand_thread_var($idx, *TSUBLISTBEG) if $level <= $TLEVELS; + foreach (@repls) { + $ret .= &make_thread($_); + } + $ret .= &expand_thread_var($idx, *TSUBLISTEND) if $level <= $TLEVELS; + } + if (@srepls) { + $ret .= &expand_thread_var($idx, *TSUBLISTBEG) if $level <= $TLEVELS; + $ret .= &expand_thread_var($idx, *TSUBJECTBEG); + foreach (@srepls) { + $ret .= &make_thread($_); + } + $ret .= &expand_thread_var($idx, *TSUBJECTEND); + $ret .= &expand_thread_var($idx, *TSUBLISTEND) if $level <= $TLEVELS; + } + + ## Decrement level count if their were replies + if ($haverepls) { + $level--; + } + ## Check for missing messages + if ($DoMissingMsgs && !($attop || $single)) { + for ($i = $depth; $i > 0; $i--) { + $ret .= &expand_thread_var($idx, *TLINONEEND); + $ret .= &expand_thread_var($idx, *TSUBLISTEND) + if $level <= $TLEVELS; + $level--; + } + } + + ## Close entry text + if ($attop) { + $ret .= &expand_thread_var($idx, *TTOPEND); + } elsif (!$single) { + $ret .= &expand_thread_var($idx, *TLIEND); + } + + $ret; +} + +##--------------------------------------------------------------------------- +## Expand text based upon resource variable referenced by *tvar. +## +sub expand_thread_var { + local($index, *tvar) = @_; + local($i_p0, $filename, $expstr, $msgnum); + + ($expstr = $tvar) =~ s/$VarExp/&replace_li_var($1,$index)/geo; + $expstr; +} ##--------------------------------------------------------------------------- 1; diff --git a/lib/mhtime.pl b/lib/mhtime.pl index 3e9daa7..902acf2 100644 --- a/lib/mhtime.pl +++ b/lib/mhtime.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhtime.pl 1.9 98/02/23 16:32:40 +## @(#) mhtime.pl 2.1 98/03/02 20:24:34 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -199,7 +199,7 @@ sub parse_date { @array[$#array-3..$#array]); @array = split(' ', $rest); $rest = join(' ', ($#array >= 1) ? @array[0..1] : - @array[0]); + $array[0]); # Wdy DD Mon YY HH:MM:SS Zone if ( $start =~ /($p_weekdays),*\s+($p_day)\s+($p_months)\s+($p_year)$/io ) { diff --git a/lib/mhtxtenrich.pl b/lib/mhtxtenrich.pl index 698b7b6..1044e9e 100644 --- a/lib/mhtxtenrich.pl +++ b/lib/mhtxtenrich.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhtxtenrich.pl 1.2 98/02/23 14:56:35 +## @(#) mhtxtenrich.pl 2.1 98/03/02 20:24:36 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -76,6 +76,7 @@ sub filter { ## Translate 8-bit characters to entity refs based on charset ## (we already did '<' and '&' characters) if ($charset =~ /iso-8859-([2-9]|10)/i) { + require 'iso8859.pl'; $ret = &iso_8859'str2sgml($ret, $charset, 1); } diff --git a/lib/mhtxthtml.pl b/lib/mhtxthtml.pl index bc3c71a..2f1287b 100644 --- a/lib/mhtxthtml.pl +++ b/lib/mhtxthtml.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhtxthtml.pl 1.1 96/09/17 @(#) +## @(#) mhtxthtml.pl 2.1 98/03/02 @(#) ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -42,6 +42,9 @@ package m2h_text_html; sub filter { local($header, *fields, *data, $isdecode, $args) = @_; local($base, $title, $tmp); + $base = ''; + $title = ''; + $tmp = ''; ## Get/remove title if ($data =~ s%([^<]*)%%i) { @@ -60,7 +63,7 @@ sub filter { $data =~ s%[\s\S]*%%i; ## Modify relative urls to absolute using BASE - if ($base !~ /^\s*$/) { + if ($base =~ /\S/) { $data =~ s%(href\s*=\s*['"])([^'"]+)(['"])% &addbase($base,$1,$2,$3)%gei; $data =~ s%(src\s*=\s*['"])([^'"]+)(['"])% diff --git a/lib/mhtxtplain.pl b/lib/mhtxtplain.pl index dec559d..550faba 100644 --- a/lib/mhtxtplain.pl +++ b/lib/mhtxtplain.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhtxtplain.pl 1.10 98/02/23 14:56:02 +## @(#) mhtxtplain.pl 2.1 98/03/02 20:24:30 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -43,17 +43,18 @@ package m2h_text_plain; ## Text/plain filter for mhonarc. The following filter arguments ## are recognized ($args): ## +## asis=set1:set2:... -- Colon separated lists of charsets +## to leave as-is. Only HTML special +## characters will be converted into +## entities. +## default=set -- Default charset to use if not set. +## keepspace -- Preserve whitespace if nonfixed ## nourl -- Do hyperlink URLs -## quote -- Italicize quoted message text ## nonfixed -- Use normal typeface -## keepspace -- Preserve whitespace if nonfixed ## maxwidth=# -- Set the maximum width of lines. Lines ## exceeding the maxwidth will be broken ## up across multiple lines. -## asis=set1:set2:... -- Colon separated lists of charsets -## to leave as-is. Only HTML special -## characters will be converted into -## entities. +## quote -- Italicize quoted message text ## target=name -- Set TARGET attribute for links if ## converting URLs to links. Defaults to ## _top. @@ -62,49 +63,48 @@ package m2h_text_plain; ## sub filter { local($header, *fields, *data, $isdecode, $args) = @_; - local($ctype, $charset, $nourl, $doquote, $igncharset, $nonfixed, - $keepspace, $maxwidth, $target); + local($charset, $nourl, $doquote, $igncharset, $nonfixed, + $keepspace, $maxwidth, $target, $defset); local(%asis) = (); + local($_); - $nourl = ($'NOURL || ($args =~ /nourl/i)); + ## Parse arguments + $nourl = ($mhonarc'NOURL || ($args =~ /nourl/i)); $doquote = ($args =~ /quote/i); $nonfixed = ($args =~ /nonfixed/i); $keepspace = ($args =~ /keepspace/i); - if ($args =~ /maxwidth=(\d+)/) { - $maxwidth = $1; - } else { - $maxwidth = 0; - } - if ($args =~ /target="([^"]+)"/i) { - $target = $1; - } elsif ($args =~ /target=(\S+)/i) { - $target = $1; - } else { - $target = "_top"; - } + if ($args =~ /maxwidth=(\d+)/i) { $maxwidth = $1; } + else { $maxwidth = 0; } + if ($args =~ /default=(\S+)/i) { $defset = $1; } + else { $defset = 'us-ascii'; } + if ($args =~ /target="([^"]+)"/i) { $target = $1; } + elsif ($args =~ /target=(\S+)/i) { $target = $1; } + else { $target = "_top"; } + $defset =~ s/['"]//g; + $target =~ s/['"]//g; ## Grab charset parameter (if defined) - $ctype = $fields{'content-type'}; - ($charset) = $ctype =~ /charset=(\S+)/; - $charset =~ s/['"]//g; $charset =~ tr/A-Z/a-z/; + if ($fields{'content-type'} =~ /charset=(\S+)/i) { $charset = $1; } + else { $charset = $defset; } + $charset =~ s/['";]//g; $charset =~ tr/A-Z/a-z/; ## Check if certain charsets should be left alone if ($args =~ /asis=(\S+)/i) { local(@a) = split(':', $1); foreach (@a) { - tr/A-Z/a-z/; + s/["']//g; tr/A-Z/a-z/; $asis{$_} = 1; } } ## Check MIMECharSetConverters if charset should be left alone - if ($main'MIMECharSetConverters{$charset} eq "-decode-") { + if ($readmail'MIMECharSetConverters{$charset} eq "-decode-") { $asis{$charset} = 1; } - ## Check if max-width set + ## Check if max-width set if ($maxwidth) { - $* = 1; + local($*) = 1; $data =~ s/^(.*)$/&break_line($1, $maxwidth)/ge; $* = 0; } @@ -117,6 +117,7 @@ sub filter { ## Latin 2-6, Greek, Hebrew, Arabic } elsif ($charset =~ /iso-8859-([2-9]|10)/i) { + require "iso8859.pl"; $data = &iso_8859'str2sgml($data, $charset); ## ASCII, Latin 1, Other @@ -129,7 +130,7 @@ sub filter { ## Check for quoting if ($doquote) { - $* = 1; + local($*) = 1; $data =~ s@^( ?${HQuoteChars})(.*)$@$1$2@go; $* = 0; } @@ -138,7 +139,7 @@ sub filter { if ($nonfixed) { $data =~ s/(\r?\n)/
    $1/g; if ($keepspace) { - $* = 1; + local($*) = 1; $data =~ s/^(.*)$/&preserve_space($1)/ge; $* = 0; } @@ -189,7 +190,7 @@ sub jp2022 { $ascii_text =~ s%>%\>%g; ## Convert URLs to hyperlinks $ascii_text =~ s%($HUrlExp)%$1%gio - unless $'NOURL; + unless $mhonarc'NOURL; $ret .= $ascii_text; } elsif (s/(\033\.[A-F])//) { # G2 Designate Sequence @@ -206,7 +207,7 @@ sub jp2022 { if (s/^(\033\([BJ])//) { # Single Byte Segment $ret .= $1; while(1) { - if (/^([^\033]+)/) { # ASCII plain text + if (s/^([^\033]+)//) { # ASCII plain text $ascii_text = $1; # Replace meta characters in ASCII plain text @@ -215,7 +216,7 @@ sub jp2022 { $ascii_text =~ s%>%\>%g; ## Convert URLs to hyperlinks $ascii_text =~ s%($HUrlExp)%$1%gio - unless $'NOURL; + unless $mhonarc'NOURL; $ret .= $ascii_text; } elsif (s/(\033\.[A-F])//) { # G2 Designate Sequence @@ -226,7 +227,7 @@ sub jp2022 { last; } } - } elsif (/^(\033\$[\@AB]|\033\$\([CD])/) { # Double Byte Segment + } elsif (s/^(\033\$[\@AB]|\033\$\([CD])//) { # Double Byte Segment $ret .= $1; while (1) { if (s/^([!-~][!-~]+)//) { # Double Char plain text @@ -271,7 +272,6 @@ sub preserve_space { 1 while $str =~ s/^([^\t]*)(\t+)/$1 . ' ' x (length($2) * 8 - length($1) % 8)/e; - $str =~ s/ /\ /g; $str; } @@ -292,7 +292,7 @@ sub break_line { return $str if length($str) <= $width; ## See if str begins with a quote char - if ($str =~ s/^($QuoteChars)//o) { + if ($str =~ s/^( ?$QuoteChars)//o) { $q = $1; --$width; } diff --git a/lib/mhtxtsetext.pl b/lib/mhtxtsetext.pl index 854bd2b..2d5f57e 100644 --- a/lib/mhtxtsetext.pl +++ b/lib/mhtxtsetext.pl @@ -1,5 +1,5 @@ ##---------------------------------------------------------------------------## -## @(#) mhtxtsetext.pl 1.1 96/09/17 @(#) +## @(#) mhtxtsetext.pl 2.1 98/03/02 @(#) ## Library to convert text/setext to HTML. Adapted for use in MHonArc ## by ehood@medusa.acs.uci.edu, Sept 1994. ## Filter routine can be registered with the following: @@ -95,7 +95,7 @@ sub filter { else { &to_pre; } s/^>\s*//; # fix quote-tt - s/^ ([^ ])/\1/; # fix indent-tt + s/^ ([^ ])/$1/; # fix indent-tt # bold-tt s#\*\*([^\*]*)\*\*#\376B\377$1\376/B\377#; diff --git a/lib/mhtxttsv.pl b/lib/mhtxttsv.pl new file mode 100644 index 0000000..3bf36eb --- /dev/null +++ b/lib/mhtxttsv.pl @@ -0,0 +1,58 @@ +##---------------------------------------------------------------------------## +## File: +## @(#) mhtxttsv.pl 2.1 98/03/02 20:25:01 +## Author: +## Earl Hood ehood@medusa.acs.uci.edu +## Description: +## Library defines routine to filter text/tab-separated-values body +## parts to HTML +## for MHonArc. +## Filter routine can be registered with the following: +## +## text/tab-separated-values:m2h_text_plain'filter:mhtxttsv.pl +## +##---------------------------------------------------------------------------## +## MHonArc -- Internet mail-to-HTML converter +## Copyright (C) 1998 Earl Hood, ehood@medusa.acs.uci.edu +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +## 02111-1307, USA +##---------------------------------------------------------------------------## + +package m2h_text_tsv; + +##---------------------------------------------------------------------------## +## Text/tab-separated-values filter for mhonarc. +## +sub filter { + local($header, *fields, *data, $isdecode, $args) = @_; + local($field, $line, $ret); + local($_); + + $data =~ s/^\s+//; + $ret = "\n"; + foreach $line (split(/\r?\n/, $data)) { + $ret .= ""; + foreach $field (split(/\t/, $line)) { + $ret .= ""; + } + $ret .= "\n"; + } + $ret .= "
    $field
    \n"; + ($ret); +} + +##---------------------------------------------------------------------------## +1; diff --git a/lib/mhusage.pl b/lib/mhusage.pl index 04a4180..99a368a 100644 --- a/lib/mhusage.pl +++ b/lib/mhusage.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhusage.pl 1.4 98/02/23 16:33:28 +## @(#) mhusage.pl 2.2 98/03/03 14:32:12 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -26,127 +26,132 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## +package mhonarc; + select(STDOUT); print <] ... $PROG [] -rmm ... Options: - -add : Add message(s) to archive - -archive : Generate archive related files (the default) - -authsort : Sort messages by author - -conlen : Honor Content-Length fields - -datefields : Fields to check to determine the date of a message - -decodeheads : Decode 1522 decode-only data when reading mail - -definevars : Define custom resource variables - -dbfile : Name of MHonArc database file - (def: ".mhonarc.db") - -doc : Print link to doc at end of index page - -docurl : URL to MHonArc documentation - (def: "http://www.oac.uci.edu/indiv/ehood/ - mhonarc.html") - -editidx : Edit/change index page(s) and messages, only - -expiredate : Message cut-off date - -expireage : Time in seconds from current when messages expire - -folrefs : Print links to explicit follow-ups/references - -force : Perform archive operation even if unable to lock - -footer : File containing user text for bottom of index page - -fromfields : Fields to check to detemine whom the message is from - -genidx : Output index to stdout based upon archive contents - -gmtdatefmt : Format for GMT date - -gzipexe : Pathname of Gzip executable - (def: "gzip") - -gzipfiles : Gzip files - -gziplinks : Add ".gz" to filenames in links - -header : User text to include at top of index page - -help : This message - -htmlext : Filename extension for generated HTML files - (def: "html") - -idxfname : Name of index page - (def: "maillist.html") - -idxprefix : Filename prefix for multi-page main index - (def: "mail") - -idxsize <#> : Maximum number of messages shown in indexes - -localdatefmt : Format for local date - -lockdelay <#> : Time delay, in seconds, between lock tries - (def: "3") - -locktries <#> : Maximum number of tries in locking an archive - (def: "10") - -mailtourl : URL to use for e-mail address hyperlinks - (def: "mailto:\$TO\$") - -main : Create a main index - -maxsize <#> : Maximum number of messages allowed in archive - -mhpattern : Perl expression for message files in a directory - (def: "^\\d+$") - -modtime : Set modification time on files to message date - -months : Month names - -monthsabr : Abbreviated month names - -msgprefix : Filename prefix for message HTML files - (def: "msg") - -msgsep : Message separator (Perl) regex for mbox files - (def: "^From ") - -multipg : Generate multi-page indexes - -news : Add links to newsgroups (the default) - -noarchive : Do not generate archive related files - -noauthsort : Do not sort messages by author - -noconlen : Ignore Content-Length fields (the default) - -nodecodeheads : Leave message headers "as is" when read - -nodoc : Do not print link to doc at end of index page - -nofolrefs : Do not print links to explicit follow-ups/references - -nogzipfiles : Do not Gzip files (the default) - -notgziplinks : Do not add ".gz" to filenames in links - -nomailto : Do not add in mailto links for e-mail addresses - -nomain : Do not create a main index - -nomodtime : Do not set mod time on files to message date - -nomultipg : Do not generate multi-page indexes - -nonews : Do not add links to newsgroups - -noreverse : List messages in normal order (the default) - -nosort : Do not sort messages - -nosubsort : Do not sort messages by subject - -nothread : Do not create threaded index - -nourl : Do not make URL hyperlinks - -otherindexes : List of other rcfiles for extra indexes - -outdir : Destination/location of HTML mail archive - (def: ".") - -perlinc : List of paths to search for MIME filters - -quiet : Suppress status messages during execution - -rcfile : Resource file for MHonArc - -reverse : List messages in reverse order - -rmm : Remove messages from archive - -savemem : Write message data while processing - -scan : List out archive contents to stdout - -single : Convert a single message to HTML (no archive ops) - -sort : Sort messages by date (the default) - -subsort : Sort message by subject - -thread : Create threaded index (the default) - -tidxfname : Filename of threaded index page - (def: "threads.html") - -tidxprefix : Filename prefix for multi-page thread index - (def: "thrd") - -time : Print to stderr CPU time used to process mail - -title : Title of main index page - (def: "Mail Index") - -tlevels <#> : Maximum # of nested lists in threaded index - (def: "3") - -tnoreverse : List threads in normal order (the default) - -tnosort : List threads by ordered processed - -tnosubsort : Do not list threads by subject - -treverse : List threads in reverse order - -tsort : List threads by date (the default) - -tsubsort : List threads by subject - -ttitle : Title of thread index page - (def: "Mail Thread Index") - -umask : Umask of MHonArc process (Unix only) - -url : Make URL hyperlinks (the default) - -v : Print version information - -weekdays : Weekday names - -weekdaysabr : Abbreviated weekday names + -add : Add message(s) to archive + -archive : Generate archive related files (the default) + -authsort : Sort messages by author + -conlen : Honor Content-Length fields + -datefields : Fields to determine the date of a message + -decodeheads : Decode 1522 decode-only data when reading mail + -definevars : Define custom resource variables + -dbfile : Name of MHonArc database file + (def: ".mhonarc.db") + -doc : Print link to doc at end of index page + -docurl : URL to MHonArc documentation + (def: "http://www.oac.uci.edu/indiv/ehood/ + mhonarc.html") + -editidx : Edit/change index page(s) and messages, only + -expiredate : Message cut-off date + -expireage : Time from current when messages expire + -folrefs : Print links to follow-ups/references + -force : Perform archive operations even if unable to lock + -footer : Include File for bottom of index page + -fromfields : Fields to detemine whom the message is from + -genidx : Output index to stdout based upon archive contents + -gmtdatefmt : Format for GMT date + -gzipexe : Pathname of Gzip executable + (def: "gzip") + -gzipfiles : Gzip files + -gziplinks : Add ".gz" to filenames in links + -header : User text to include at top of index page + -help : This message + -htmlext : Filename extension for generated HTML files + (def: "html") + -idxfname : Name of index page + (def: "maillist.html") + -idxprefix : Filename prefix for multi-page main index + (def: "mail") + -idxsize <#> : Maximum number of messages shown in indexes + -localdatefmt : Format for local date + -lockdelay <#> : Time delay, in seconds, between lock tries + (def: "3") + -locktries <#> : Maximum number of tries in locking an archive + (def: "10") + -mailtourl : URL to use for e-mail address hyperlinks + (def: "mailto:\$TO\$") + -main : Create a main index + -maxsize <#> : Maximum number of messages allowed in archive + -mhpattern : Perl expression for message files in a directory + (def: "^\\d+$") + -modtime : Set modification time on files to message date + -months : Month names + -monthsabr : Abbreviated month names + -msgprefix : Filename prefix for message HTML files + (def: "msg") + -msgsep : Message separator (Perl) regex for mbox files + (def: "^From ") + -multipg : Generate multi-page indexes + -news : Add links to newsgroups (the default) + -noarchive : Do not generate archive related files + -noauthsort : Do not sort messages by author + -noconlen : Ignore Content-Length fields (the default) + -nodecodeheads : Leave message headers "as is" when read + -nodoc : Do not print link to doc at end of index page + -nofolrefs : Do not print links to follow-ups/references + -nogzipfiles : Do not Gzip files (the default) + -notgziplinks : Do not add ".gz" to filenames in links + -nomailto : Do not add in mailto links for e-mail addresses + -nomain : Do not create a main index + -nomodtime : Do not set mod time on files to message date + -nomultipg : Do not generate multi-page indexes + -nonews : Do not add links to newsgroups + -noreverse : List messages in normal order (the default) + -nosort : Do not sort messages + -nosubsort : Do not sort messages by subject + -nothread : Do not create threaded index + -nourl : Do not make URL hyperlinks + -otherindexes : List of other rcfiles for extra indexes + -outdir : Destination/location of HTML mail archive + (def: ".") + -perlinc : List of paths to search for MIME filters + -quiet : Suppress status messages during execution + -rcfile : Resource file for MHonArc + -reverse : List messages in reverse order + -rmm : Remove messages from archive + -savemem : Write message data while processing + -scan : List out archive contents to stdout + -single : Convert a single message to HTML (no archive ops) + -sort : Sort messages by date (the default) + -subjectarticlerxp : Regex for leading articles in subjects + -subjectreplyrxp : Regex for leading reply string in subjects + -subsort : Sort message by subject + -thread : Create threaded index (the default) + -tidxfname : Filename of threaded index page + (def: "threads.html") + -tidxprefix : Filename prefix for multi-page thread index + (def: "thrd") + -time : Print to stderr CPU time used to process mail + -title : Title of main index page + (def: "Mail Index") + -tlevels <#> : Maximum # of nested lists in threaded index + (def: "3") + -tnoreverse : List threads in normal order (the default) + -tnosort : List threads by ordered processed + -tnosubsort : Do not list threads by subject + -treverse : List threads in reverse order + -tslice <#:#> : Set size of thread slice listing + -tsort : List threads by date (the default) + -tsubsort : List threads by subject + -ttitle : Title of thread index page + (def: "Mail Thread Index") + -umask : Umask of MHonArc process (Unix only) + -url : Make URL hyperlinks (the default) + -v : Print version information + -weekdays : Weekday names + -weekdaysabr : Abbreviated weekday names Description: MHonArc is a highly customizable Perl program for converting e-mail, encoded with MIME, into HTML archives. MHonArc supports the conversion of UUCP style mailbox files or MH mail folders into HTML with an index linking to each mail message. The -single option can be used to convert - a single mail message. + a single mail message to standard output. Read the documentation for more complete usage information. diff --git a/lib/mhutil.pl b/lib/mhutil.pl index e7dca05..93071b4 100644 --- a/lib/mhutil.pl +++ b/lib/mhutil.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) mhutil.pl 1.14 98/02/23 16:30:38 +## @(#) mhutil.pl 2.1 98/03/02 20:24:31 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -25,45 +25,7 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## -package main; - -## Regular expression variables for sorting routines -$PreSubjectStripExp = q{^\s*(re|sv|fwd|fw)(\[[\d+]\])?[:>-]+\s*}; -$ArtSubjectStripExp = q{^(the|a|an)\s+}; - -##--------------------------------------------------------------------------- -## convert_line() translates a line to HTML. Checks are made for -## embedded URLs. -## -sub convert_line { - local($str, $charset) = ($_[0], $_[1]); - local($item, $item2, $item2h, @array); - - if (!$NOURL && - (@array = split(m%($Url[^\s\(\)\|<>"']*[^\.\?;,"'\|\[\]\(\)\s<>])%o, - $str)) - ) { - $str = ''; - while($#array > 0) { - $item = &entify(shift @array); # Get non-URL text - $item2 = shift @array; # Get URL - $item2h = &entify($item2); # Variable for content - - $str .= join('', - $item, - '', $item2h, ''); - - # The next line is needed since Perl's split function also - # returns extra entries for nested ()'s in the split pattern. - shift @array if $array[0] =~ m%^$Url$%o; - } - $item = &entify(shift @array); # Last item in array - $str .= $item; - } else { - $str = &htmlize($str); - } - $str; -} +package mhonarc; ##--------------------------------------------------------------------------- ## Get an e-mail address from (HTML) $str. @@ -168,17 +130,17 @@ sub decrease_index { sub increase_subject { local($A, $B) = ($Subject{$a}, $Subject{$b}); $A =~ tr/A-Z/a-z/; $B =~ tr/A-Z/a-z/; - 1 while $A =~ s/$PreSubjectStripExp//io; - 1 while $B =~ s/$PreSubjectStripExp//io; - $A =~ s/$ArtSubjectStripExp//io; $B =~ s/$ArtSubjectStripExp//io; + 1 while $A =~ s/$SubReplyRxp//io; + 1 while $B =~ s/$SubReplyRxp//io; + $A =~ s/$SubArtRxp//io; $B =~ s/$SubArtRxp//io; ($A cmp $B) || (&get_time_from_index($a) <=> &get_time_from_index($b)); } sub decrease_subject { local($A, $B) = ($Subject{$a}, $Subject{$b}); $A =~ tr/A-Z/a-z/; $B =~ tr/A-Z/a-z/; - 1 while $A =~ s/$PreSubjectStripExp//io; - 1 while $B =~ s/$PreSubjectStripExp//io; - $A =~ s/$ArtSubjectStripExp//io; $B =~ s/$ArtSubjectStripExp//io; + 1 while $A =~ s/$SubReplyRxp//io; + 1 while $B =~ s/$SubReplyRxp//io; + $A =~ s/$SubArtRxp//io; $B =~ s/$SubArtRxp//io; ($A cmp $B) || (&get_time_from_index($b) <=> &get_time_from_index($a)); } sub increase_author { @@ -198,7 +160,8 @@ sub decrease_author { ## Routine to determine last message number in use. ## sub get_last_msg_num { - opendir(DIR, $'OUTDIR) || die("ERROR: Unable to open $'OUTDIR\n"); + opendir(DIR, $mhonarc'OUTDIR) || + die("ERROR: Unable to open $mhonarc'OUTDIR\n"); local($max) = -1; local($htmlext) = $HtmlExt; @@ -245,7 +208,7 @@ sub get_filename_from_index { ## Routine to get time component from index ## sub get_time_from_index { - (split(/$'X/o, $_[0]))[0]; + (split(/$X/o, $_[0]))[0]; } ##--------------------------------------------------------------------------- @@ -262,7 +225,7 @@ sub get_base_author { ## sub get_base_subject { local($ret) = ($Subject{$_[0]}); - 1 while $ret =~ s/$PreSubjectStripExp//io; + 1 while $ret =~ s/$SubReplyRxp//io; $ret; } @@ -347,6 +310,7 @@ sub htmlize_header { @array, %hf); + $mesg = ""; %hf = %fields; foreach $item (@FieldOrder) { if ($item eq '-extra-') { diff --git a/lib/osinit.pl b/lib/osinit.pl index 375ec8b..87504e5 100644 --- a/lib/osinit.pl +++ b/lib/osinit.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) osinit.pl 1.3 98/02/16 20:30:12 +## @(#) osinit.pl 2.1 98/03/02 20:24:32 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -8,6 +8,7 @@ ## is running under. The main routine defined is OSinit. See ## the routine for specific information. ##---------------------------------------------------------------------------## +## MHonArc -- Internet mail-to-HTML converter ## Copyright (C) 1995-1998 Earl Hood, ehood@medusa.acs.uci.edu ## ## This program is free software; you can redistribute it and/or modify @@ -26,7 +27,7 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## -package os_init; +package mhonarc; ##---------------------------------------------------------------------------## ## OSinit() checks what operating system we are running on set @@ -35,55 +36,57 @@ package os_init; ## ## Variables set: ## -## $'MSDOS => Set to 1 if running under MS-DOS/Windows -## $'MACOS => Set to 1 if running under Mac -## $'UNIX => Set to 1 if running under Unix -## $'VMS => Set to 1 if running under VMS -## $'DIRSEP => Directory separator character -## $'DIRSEPREX => Directory separator character for use in +## $MSDOS => Set to 1 if running under MS-DOS/Windows +## $MACOS => Set to 1 if running under Mac +## $UNIX => Set to 1 if running under Unix +## $VMS => Set to 1 if running under VMS +## $DIRSEP => Directory separator character +## $DIRSEPREX => Directory separator character for use in ## regular expressions. -## $'PATHSEP => Recommend path list separator -## $'CURDIR => Current working directory -## $'PROG => Program name with leading pathname component +## $PATHSEP => Recommend path list separator +## $CURDIR => Current working directory +## $PROG => Program name with leading pathname component ## stripped off. ## ## If running under a Mac and the script is a droplet, command-line ## options will be prompted for unless $noOptions argument is ## set to true. ## -sub main'OSinit { +sub OSinit { local($noOptions) = shift; ## Check what system we are executing under local($tmp); - $'VMS = 0; + $VMS = 0; eval q%$VMS = ($^O=~/vms/i);%; - if (!$@ && $'VMS) { - $'MSDOS = 0; $'MACOS = 0; $'UNIX = 0; $'VMS = 1; - $'DIRSEP = '/'; $'CURDIR = '.'; - $'PATHSEP = ':'; + if (!$@ && $VMS) { + $MSDOS = 0; $MACOS = 0; $UNIX = 0; $VMS = 1; + $DIRSEP = '/'; $CURDIR = '.'; + $PATHSEP = ':'; } elsif (($tmp = $ENV{'COMSPEC'}) && ($tmp =~ /[a-zA-Z]:\\/) && (-e $tmp)) { - $'MSDOS = 1; $'MACOS = 0; $'UNIX = 0; $'VMS = 0; - $'DIRSEP = '\\'; $'CURDIR = '.'; - $'PATHSEP = ';'; + $MSDOS = 1; $MACOS = 0; $UNIX = 0; $VMS = 0; + $DIRSEP = '\\'; $CURDIR = '.'; + $PATHSEP = ';'; } elsif (defined($MacPerl'Version)) { - $'MSDOS = 0; $'MACOS = 1; $'UNIX = 0; $'VMS = 0; - $'DIRSEP = ':'; $'CURDIR = ':'; - $'PATHSEP = ';'; + $MSDOS = 0; $MACOS = 1; $UNIX = 0; $VMS = 0; + $DIRSEP = ':'; $CURDIR = ':'; + $PATHSEP = ';'; } else { - $'MSDOS = 0; $'MACOS = 0; $'UNIX = 1; $'VMS = 0; - $'DIRSEP = '/'; $'CURDIR = '.'; - $'PATHSEP = ':'; + $MSDOS = 0; $MACOS = 0; $UNIX = 1; $VMS = 0; + $DIRSEP = '/'; $CURDIR = '.'; + $PATHSEP = ':'; } ## Store name of program - ($'DIRSEPREX = $'DIRSEP) =~ s/(\W)/\\$1/g; - ($'PROG = $0) =~ s%.*[$'DIRSEPREX]%%o; + ($DIRSEPREX = $DIRSEP) =~ s/(\W)/\\$1/g; + ($PROG = $0) =~ s%.*[$DIRSEPREX]%%o; ## Ask for command-line options if script is a Mac droplet ## Code taken from the MacPerl FAQ - if (!$noOptions && ( $MacPerl'Version =~ /Application$/ )) { + if (!$noOptions && + defined($MacPerl'Version) && ( $MacPerl'Version =~ /Application$/ )) { + # we're running from the app local( $cmdLine, @args ); $cmdLine = &MacPerl'Ask( "Enter command line options:" ); diff --git a/lib/qprint.pl b/lib/qprint.pl index b093639..7b06e90 100644 --- a/lib/qprint.pl +++ b/lib/qprint.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) qprint.pl 1.1 96/09/17 @(#) +## @(#) qprint.pl 2.1 98/03/02 20:24:32 ## Authors: ## Earl Hood ehood@medusa.acs.uci.edu ## Alan Barrett barrett@daisy.ee.und.ac.za @@ -12,7 +12,7 @@ ## $text = "ed_printable'qprdecode($data); ## ##---------------------------------------------------------------------------## -## Copyright (C) 1995 Earl Hood, ehood@medusa.acs.uci.edu +## Copyright (C) 1995,1998 Earl Hood, ehood@medusa.acs.uci.edu ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by diff --git a/lib/readmail.pl b/lib/readmail.pl index b3c34fe..9b3f0d1 100644 --- a/lib/readmail.pl +++ b/lib/readmail.pl @@ -1,6 +1,6 @@ ##---------------------------------------------------------------------------## ## File: -## @(#) readmail.pl 1.10 98/02/23 16:31:06 +## @(#) readmail.pl 2.1 98/03/02 20:24:33 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -13,16 +13,16 @@ ## Public Functions: ## ---------------- ## ($data) = -## &main'MAILdecode_1522_str($str); +## &MAILdecode_1522_str($str); ## ($data, @files) = -## &main'MAILread_body($header, $body, $ctypeArg, $encodingArg); +## &MAILread_body($header, $body, $ctypeArg, $encodingArg); ## ($header) = -## &main'MAILread_file_header($handle, *fields, *l2o); +## &MAILread_file_header($handle, *fields, *l2o); ## ($header) = -## &main'MAILread_header(*mesg, *fields, *l2o); +## &MAILread_header(*mesg, *fields, *l2o); ## ## ($disposition, $filename) = -## &main'MAILhead_get_disposition(*fields); +## &MAILhead_get_disposition(*fields); ## ##---------------------------------------------------------------------------## ## Copyright (C) 1996-1998 Earl Hood, ehood@medusa.acs.uci.edu @@ -45,9 +45,6 @@ package readmail; -require "base64.pl" || die "ERROR: Unable to require base64.pl\n"; -require "qprint.pl" || die "ERROR: Unable to require qprint.pl\n"; - ##---------------------------------------------------------------------------## ## Scalar Variables ## @@ -88,27 +85,39 @@ package readmail; ## decoding to the registered filter, but the decoded flag will be ## set to true. -%main'MIMEDecoders = () - unless defined(%main'MIMEDecoders); +%MIMEDecoders = () + unless defined(%MIMEDecoders); +%MIMEDecodersSrc = () + unless defined(%MIMEDecodersSrc); ## Default settings: - -$main'MIMEDecoders{"7bit"} = "as-is" - unless defined($main'MIMEDecoders{"7bit"}); -$main'MIMEDecoders{"8bit"} = "as-is" - unless defined($main'MIMEDecoders{"8bit"}); -$main'MIMEDecoders{"binary"} = "as-is" - unless defined($main'MIMEDecoders{"binary"}); -$main'MIMEDecoders{"base64"} = "base64'b64decode" - unless defined($main'MIMEDecoders{"base64"}); -$main'MIMEDecoders{"quoted-printable"} = "quoted_printable'qprdecode" - unless defined($main'MIMEDecoders{"quoted-printable"}); -$main'MIMEDecoders{"x-uuencode"} = "base64'uudecode" - unless defined($main'MIMEDecoders{"x-uuencode"}); -$main'MIMEDecoders{"x-uue"} = "base64'uudecode" - unless defined($main'MIMEDecoders{"x-uue"}); -$main'MIMEDecoders{"uuencode"} = "base64'uudecode" - unless defined($main'MIMEDecoders{"uuencode"}); +$MIMEDecoders{"7bit"} = "as-is" + unless defined($MIMEDecoders{"7bit"}); +$MIMEDecoders{"8bit"} = "as-is" + unless defined($MIMEDecoders{"8bit"}); +$MIMEDecoders{"binary"} = "as-is" + unless defined($MIMEDecoders{"binary"}); +$MIMEDecoders{"base64"} = "base64'b64decode" + unless defined($MIMEDecoders{"base64"}); +$MIMEDecoders{"quoted-printable"} = "quoted_printable'qprdecode" + unless defined($MIMEDecoders{"quoted-printable"}); +$MIMEDecoders{"x-uuencode"} = "base64'uudecode" + unless defined($MIMEDecoders{"x-uuencode"}); +$MIMEDecoders{"x-uue"} = "base64'uudecode" + unless defined($MIMEDecoders{"x-uue"}); +$MIMEDecoders{"uuencode"} = "base64'uudecode" + unless defined($MIMEDecoders{"uuencode"}); + +$MIMEDecodersSrc{"base64"} = "base64.pl" + unless defined($MIMEDecodersSrc{"base64"}); +$MIMEDecodersSrc{"quoted-printable"} = "qprint.pl" + unless defined($MIMEDecodersSrc{"quoted-printable"}); +$MIMEDecodersSrc{"x-uuencode"} = "base64.pl" + unless defined($MIMEDecodersSrc{"x-uuencode"}); +$MIMEDecodersSrc{"x-uue"} = "base64.pl" + unless defined($MIMEDecodersSrc{"x-uue"}); +$MIMEDecodersSrc{"uuencode"} = "base64.pl" + unless defined($MIMEDecodersSrc{"uuencode"}); ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## MIMECharSetConverters is the associative array for storing functions @@ -144,13 +153,14 @@ package readmail; ## the encoding will stay unprocessed and passed back in the return ## string. -%'MIMECharSetConverters = () - unless defined(%main'MIMECharSetConverters); +%MIMECharSetConverters = () + unless defined(%MIMECharSetConverters); +%MIMECharSetConvertersSrc = () + unless defined(%MIMECharSetConvertersSrc); ## Default settings: - -$main'MIMECharSetConverters{"default"} = "-ignore-" - unless defined($main'MIMECharSetConverters{"default"}); +$MIMECharSetConverters{"default"} = "-ignore-" + unless defined($MIMECharSetConverters{"default"}); ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## MIMEFilters is the associative array for storing functions that @@ -174,8 +184,10 @@ package readmail; ## tries to invoke it, MAILread_body will silently ignore. Make sure ## that all functions are defined before invoking MAILread_body. -%main'MIMEFilters = () - unless defined(%main'MIMEFilters); +%MIMEFilters = () + unless defined(%MIMEFilters); +%MIMEFiltersSrc = () + unless defined(%MIMEFiltersSrc); ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## MIMEFiltersArgs is the associative array for storing any optional @@ -188,8 +200,8 @@ package readmail; ## Arguments listed for a content-type will be used over arguments ## listed for a function if both are applicable. -%main'MIMEFiltersArgs = () - unless defined(%main'MIMEFiltersArgs); +%MIMEFiltersArgs = () + unless defined(%MIMEFiltersArgs); ##--------------------------------------------------------------------------- ## Variables holding functions for generating processed output @@ -256,12 +268,12 @@ package readmail; ## ## Usage: ## -## $ret_data = &'MAILdecode_1522_str($str, $justdecode); +## $ret_data = &MAILdecode_1522_str($str, $justdecode); ## ## If $justdecode is non-zero, $str will be decoded for only ## the charsets specified as "-decode-". ## -sub main'MAILdecode_1522_str { +sub MAILdecode_1522_str { local($str) = shift; local($justdecode) = shift; local($charset, @@ -279,10 +291,10 @@ sub main'MAILdecode_1522_str { $defcharcnv = '-bogus-'; # Get default converter - $defcharcnv = $'MIMECharSetConverters{"default"}; + $defcharcnv = &load_charset('default'); # Get plain converter - $plaincnv = $'MIMECharSetConverters{"plain"}; + $plaincnv = &load_charset('plain'); $plaincnv = $defcharcnv unless $plaincnv; # Decode string @@ -294,9 +306,9 @@ sub main'MAILdecode_1522_str { # Check encoding method and grab proper decoder if ($encoding =~ /b/i) { - $dec = $'MIMEDecoders{"base64"}; + $dec = &load_decoder('base64'); } else { - $dec = $'MIMEDecoders{"quoted-printable"}; + $dec = &load_decoder('quoted-printable'); } # Convert before (unencoded) text @@ -313,7 +325,7 @@ sub main'MAILdecode_1522_str { # Convert encoded text ($lcharset = $charset) =~ tr/A-Z/a-z/; - $charcnv = $'MIMECharSetConverters{$lcharset}; + $charcnv = &load_charset($lcharset); $charcnv = $defcharcnv unless $charcnv; # Decode only @@ -366,14 +378,15 @@ sub main'MAILdecode_1522_str { ## generated, and the other items are filenames of any derived ## files. ## -sub main'MAILread_body { +sub MAILread_body { local($header, $body, $ctypeArg, $encodingArg) = @_; - local($type, $subtype, $boundary, $ret, $tmp, $content, $ctype); + local($type, $subtype, $boundary, $ret, $tmp, $content, $ctype, $pos); local($part, $parthead, $partcontent, $partencoding); local(@parts, %partfields, %partl2o) = (); local(@files) = (); local(@array) = (); + $ret = ""; ## Get type/subtype $content = $ctypeArg || 'text/plain'; # Default to text/plain @@ -389,28 +402,31 @@ sub main'MAILread_body { $type = $subtype = ''; } - ## Process message - $filter = $main'MIMEFilters{$ctype}; # Specific filter - $filter = $main'MIMEFilters{"$type/*"} unless $filter; # Base type filter - $filter = $main'MIMEFilters{"*/*"} unless $filter; # Last resort + ## Load content-type filter + $filter = &load_filter($ctype); + $filter = &load_filter("$type/*") unless $filter; + $filter = &load_filter("*/*") unless $filter; ## A filter is defined for given content-type if ($filter && defined(&$filter)) { - local($tmphead) = ($header . "\n"); # Bogus header for MAILread_header - local($encoding) = ($encodingArg); - local($decodefunc, $decoded, $args) = ('', '', ''); + local($tmphead, $encoding, $decodefunc, $decoded, $args); + $tmphead = $header . "\n"; + $encoding = $encodingArg; + $decodefunc = ""; + $decoded = ""; + $args = ""; ## Check for filter arguments - $args = $main'MIMEFiltersArgs{$ctype}; - $args = $main'MIMEFiltersArgs{"$type/*"} if $args eq ''; - $args = $main'MIMEFiltersArgs{$filter} if $args eq ''; + $args = $MIMEFiltersArgs{$ctype}; + $args = $MIMEFiltersArgs{"$type/*"} if $args eq ''; + $args = $MIMEFiltersArgs{$filter} if $args eq ''; ## Parse message header for filter - &main'MAILread_header(*tmphead, *partfields, *partl2o); + &MAILread_header(*tmphead, *partfields, *partl2o); ## Check encoding and decode data $encoding =~ s/\s//g; $encoding =~ tr/A-Z/a-z/; - $decodefunc = $main'MIMEDecoders{$encoding}; + $decodefunc = &load_decoder($encoding); if (defined(&$decodefunc)) { $decoded = &$decodefunc($body); @array = &$filter($header, *partfields, *decoded, 1, $args); @@ -427,35 +443,45 @@ sub main'MAILread_body { } else { ## If multipart, recursively process each part if ($type =~ /multipart/i) { + local($isalt) = $subtype =~ /alternative/i; ## Get boundary + $boundary = ""; if ($content =~ m%boundary\s*=\s*"([^"]*)"%i) { $boundary = $1; } else { ($boundary) = $content =~ m%boundary\s*=\s*(\S+)%i; } - $boundary =~ s/(\W)/\\$1/g; - - ## Split parts and process each - $body = "\r\n" . $body; # Pad data for splitting - if ($subtype =~ /alternative/i) { # Go in reverse order - @parts = reverse split(/\r?\n--$boundary/, $body); - pop @parts; - while (@parts && ($parts[0] !~ /^--/)) { shift @parts; } - shift @parts; + + ## If boundary defined, split body into parts + if ($boundary =~ /\S/) { + substr($body, 0, 0) = "\n"; + substr($boundary, 0, 0) = "\n--"; + while (($pos = index($body, $boundary, 0)) > -1) { + if ($isalt) { + unshift(@parts, substr($body, 0, $pos)); + $parts[0] =~ s/^\r//; + } else { + push(@parts, substr($body, 0, $pos)); + $parts[$#parts] =~ s/^\r//; + } + substr($body, 0, $pos+length($boundary)) = ""; + last if $body =~ /^--/; + $body =~ s/^\r?\n//; + } + # Discard front-matter + if ($isalt) { pop(@parts); } else { shift(@parts); } + + ## Else treat body as one part } else { - @parts = split(/\r?\n--$boundary/, $body); - shift @parts; - while (@parts && ($parts[$#parts] !~ /^--/)) { pop @parts; } - pop @parts; + @parts = ($body); } ## Process parts foreach $part (@parts) { - $part =~ s/^\r?\n//; # Drop begining newline ## Read header to get content-type - $parthead = &main'MAILread_header(*part, *partfields, *partl2o); + $parthead = &MAILread_header(*part, *partfields, *partl2o); $partcontent = $partfields{'content-type'}; $partencoding = $partfields{'content-transfer-encoding'}; @@ -471,8 +497,8 @@ sub main'MAILread_body { } ## Process part - @array = &main'MAILread_body($parthead, $part, - $partcontent, $partencoding); + @array = &MAILread_body($parthead, $part, + $partcontent, $partencoding); ## Only use last filterable part in alternate if ($subtype =~ /alternative/) { @@ -496,7 +522,7 @@ sub main'MAILread_body { ## Else if message/rfc822 or message/news } elsif ($ctype =~ m%message/(rfc822|news)%i) { - $parthead = &main'MAILread_header(*body, *partfields, *partl2o); + $parthead = &MAILread_header(*body, *partfields, *partl2o); $partcontent = $partfields{'content-type'}; $partencoding = $partfields{'content-transfer-encoding'}; @@ -507,7 +533,7 @@ sub main'MAILread_body { warn "WARNING: readmail.pl: No message header formatting ", "function defined\n"; } - @array = &main'MAILread_body($parthead, $body, + @array = &MAILread_body($parthead, $body, $partcontent, $partencoding); $ret .= shift @array || &$CantProcessPartFunc($partfields{'content-type'}); @@ -538,7 +564,7 @@ sub main'MAILread_body { ## ## The return value is the original (extracted) header text. ## -sub main'MAILread_header { +sub MAILread_header { local(*mesg, *fields, *l2o) = @_; local($label, $olabel, $value, $tmp, $header); @@ -553,7 +579,7 @@ sub main'MAILread_header { $tmp =~ s/[\r\n]//g; # Delete eol characters ## Decode text if requested - $tmp = &'MAILdecode_1522_str($tmp,1) if $DecodeHeader; + $tmp = &MAILdecode_1522_str($tmp,1) if $DecodeHeader; ## Check for continuation of a field if ($tmp =~ s/^\s//) { @@ -581,7 +607,7 @@ sub main'MAILread_header { ## from the filehandle $handle. The routine behaves in the ## same manner as MAILread_header; ## -sub main'MAILread_file_header { +sub MAILread_file_header { local($handle, *fields, *l2o) = @_; local($label, $olabel, $value, $tmp, $header); local($d) = ($/); @@ -597,7 +623,7 @@ sub main'MAILread_file_header { $tmp =~ s/[\r\n]//g; ## Decode text if requested - $tmp = &'MAILdecode_1522_str($tmp,1) if $DecodeHeader; + $tmp = &MAILdecode_1522_str($tmp,1) if $DecodeHeader; ## Check for continuation of a field if ($tmp =~ s/^\s//) { @@ -626,7 +652,7 @@ sub main'MAILread_file_header { ## filename from *hfields, *hfields is a hash produced by the ## MAILread_head* routines. ## -sub main'MAILhead_get_disposition { +sub MAILhead_get_disposition { local(*hfields) = shift; local($disp, $filename) = ('', ''); local($_); @@ -657,6 +683,7 @@ sub main'MAILhead_get_disposition { ############################################################################### ## Private Routines ############################################################################### + ##---------------------------------------------------------------------------## ## Default function for unable to process a part of a multipart ## message. @@ -666,40 +693,52 @@ sub cantProcessPart { warn "Warning: Could not process part with given Content-Type: ", "$ctype\n"; - join('',"
    \n", - "
    Warning
    \n", - "
    Could not process part with given ", - "Content-Type: ", $ctype, "\n", - "
    \n", - "
    \n" - ); + join('',"
    \n", + "Could not process part with Content-Type: $ctype.\n", + "
    \n"); } ##---------------------------------------------------------------------------## ## Default function for unrecognizeable part in multipart/alternative. ## sub unrecognizedAltPart { warn "Warning: No recognizable part in multipart/alternative\n"; - join('',"
    \n", - "

    No recognizable part in ", - "multipart/alternative.

    \n", - "
    \n"); + join('',"
    \n", + "No recognizable part in multipart/alternative.\n", + "
    \n"); } ##---------------------------------------------------------------------------## ## Default function for beggining of embedded message ## (ie message/rfc822 or message/news). ## sub beginEmbeddedMesg { - join('',"

    -- BEGIN included message

    \n", - "
    \n"); + "
    ---- Begin included message ----
    \n"; } ##---------------------------------------------------------------------------## ## Default function for end of embedded message ## (ie message/rfc822 or message/news). ## sub endEmbeddedMesg { - join('',"
    \n", - "

    -- END included message

    \n"); + "
    ---- End included message ----
    \n"; } + +##---------------------------------------------------------------------------## + +sub load_charset { + require $MIMECharSetConvertersSrc{$_[0]} + if $MIMECharSetConvertersSrc{$_[0]}; + $MIMECharSetConverters{$_[0]}; +} +sub load_decoder { + require $MIMEDecodersSrc{$_[0]} + if $MIMEDecodersSrc{$_[0]}; + $MIMEDecoders{$_[0]}; +} +sub load_filter { + require $MIMEFiltersSrc{$_[0]} + if $MIMEFiltersSrc{$_[0]}; + $MIMEFilters{$_[0]}; +} + ##---------------------------------------------------------------------------## 1; # for require diff --git a/mhonarc b/mhonarc index 70a9cc6..1ce3b7d 100755 --- a/mhonarc +++ b/mhonarc @@ -1,7 +1,7 @@ #!/usr/local/bin/perl ##---------------------------------------------------------------------------## ## File: -## @(#) mhonarc 1.36 98/02/23 16:41:52 +## @(#) mhonarc 2.1 98/03/02 20:17:49 ## Author: ## Earl Hood ehood@medusa.acs.uci.edu ## Description: @@ -27,1379 +27,17 @@ ## 02111-1307, USA ##---------------------------------------------------------------------------## -############################################################################# -############################################################################# - -package main; - -$VERSION = "2.1.2"; # Version number - -$VINFO =<) { last if /$FROM/o; } - MBOX: while (!eof($fh)) { - print STDOUT "." unless $QUIET; - $mesg = ''; - ($index,$from,$date,$sub,$header) = - &read_mail_header($fh, *mesg, *fields); - - if ($index ne '') { - ($From{$index},$Date{$index},$Subject{$index}) = - ($from,$date,$sub); - $MsgHead{$index} = $mesg; - - if ($ADD && !$SLOW) { $AddIndex{$index} = 1; } - $IndexNum{$index} = &getNewMsgNum(); - - $Message{$index} = &read_mail_body( - $fh, - $index, - $header, - *fields); - if ($SLOW && $DoArchive) { - &output_mail($index, 1, 1); - $Update{$IndexNum{$index}} = 1; - delete($MsgHead{$index}); - delete($Message{$index}); - } - } else { - &read_mail_body($fh, $index, $header, *fields, 1); - } - } - close($fh); - - } # END: else UUCP mailbox - } # END: foreach $mbox - } # END: Else converting mailboxes - - ## All done if not creating an archive - if (!$DoArchive) { - return 1; - } - - ## Check if there are any new messages - if (!$EDITIDX && !$IDXONLY && $i == $NumOfMsgs) { - print STDOUT "\nNo new messages\n" unless $QUIET; - return 1; - } - - ##---------------------------------------------## - ## Setup data structures for final HTML output ## - ##---------------------------------------------## - - ## Remove old message if hit maximum size or expiration - if (!$IDXONLY && (($MAXSIZE && ($NumOfMsgs > $MAXSIZE)) || - $ExpireTime || $ExpireDateTime)) { - - @array = sort increase_index keys %Subject; - - &ign_signals(); # Ignore termination signals - - while ($index = shift(@array)) { - last unless - ($MAXSIZE && ($NumOfMsgs > $MAXSIZE)) || - (&expired_time(&get_time_from_index($index))); - - &delmsg($index); - $IdxMinPg = 0; - $TIdxMinPg = 0; - $Update{$IndexNum{$array[0]}} = 1; # Update next - foreach (split(/$bs/o, $FollowOld{$index})) { # Update any replies - $Update{$IndexNum{$_}} = 1; - } - $Update{$IndexNum{$TListOrder[$Index2TLoc{$index}-1]}} = 1; - $Update{$IndexNum{$TListOrder[$Index2TLoc{$index}+1]}} = 1; - } - } - - ## Set MListOrder - @MListOrder = &sort_messages(); - - ## Compute follow up messages with side-effect of setting %Index2MLoc - $i = 0; - foreach $index (@MListOrder) { - $Index2MLoc{$index} = $i; $i++; - - $FolCnt{$index} = 0 unless $FolCnt{$index}; - if (@array2 = split(/$X/o, $Refs{$index})) { - $tmp2 = $array2[$#array2]; - next unless defined($IndexNum{$MsgId{$tmp2}}); - $tmp = $MsgId{$tmp2}; - if ($Follow{$tmp}) { $Follow{$tmp} .= $bs . $index; } - else { $Follow{$tmp} = $index; } - $FolCnt{$tmp}++; - } - } - - ## Compute thread information (sets ThreadList, TListOrder, Index2TLoc) - &compute_threads(); - - ## Check for which messages to update when adding to archive - if (!$IDXONLY && $ADD) { - if ($UPDATE_ALL) { - foreach $index (@MListOrder) { $Update{$IndexNum{$index}} = 1; } - $IdxMinPg = 0; - $TIdxMinPg = 0; - - } else { - $i = 0; - foreach $index (@MListOrder) { - ## Check for New follow-up links - if ($FollowOld{$index} ne $Follow{$index}) { - $Update{$IndexNum{$index}} = 1; - } - ## Check if new message; must update links in prev/next msgs - if ($AddIndex{$index}) { - - # Mark where main index page updates start - if ($MULTIIDX) { - $tmp = int($Index2MLoc{$index}/$IDXSIZE)+1; - $IdxMinPg = $tmp - if ($tmp < $IdxMinPg || $IdxMinPg < 0); - } - - # Mark previous/next messages - $Update{$IndexNum{$MListOrder[$i-1]}} = 1 - if $i > 0; - $Update{$IndexNum{$MListOrder[$i+1]}} = 1 - if $i < $#MListOrder; - } - ## Check for New reference links - foreach (split(/$X/o, $Refs{$index})) { - $tmp = $MsgId{$_}; - if (defined($IndexNum{$tmp}) && $AddIndex{$tmp}) { - $Update{$IndexNum{$index}} = 1; - } - } - $i++; - } - $i = 0; - foreach $index (@TListOrder) { - ## Check if new message; must update links in prev/next msgs - if ($AddIndex{$index}) { - - # Mark where thread index page updates start - if ($MULTIIDX) { - $tmp = int($Index2TLoc{$index}/$IDXSIZE)+1; - $TIdxMinPg = $tmp - if ($tmp < $TIdxMinPg || $TIdxMinPg < 0); - } - - # Mark previous/next message in thread - $Update{$IndexNum{$TListOrder[$i-1]}} = 1 - if $i > 0; - $Update{$IndexNum{$TListOrder[$i+1]}} = 1 - if $i < $#TListOrder; - } - $i++; - } - } - } - - ## Compute total number of pages - $i = $NumOfPages; - if ($MULTIIDX && $IDXSIZE) { - $NumOfPages = int($NumOfMsgs/$IDXSIZE); - ++$NumOfPages if ($NumOfMsgs/$IDXSIZE) > $NumOfPages; - $NumOfPages = 1 if $NumOfPages == 0; - } else { - $NumOfPages = 1; - } - - ## Update all pages for $LASTPG$ - if ($UsingLASTPG && ($i != $NumOfPages)) { - $IdxMinPg = 0; - $TIdxMinPg = 0; - } - - ##------------## - ## Write Data ## - ##------------## - &ign_signals(); # Ignore termination signals - print STDOUT "\n" unless $QUIET; - - ## Write indexes and mail - if (!$IDXONLY) { - &write_mail(); - &write_main_index() if $MAIN; - &write_thread_index() if $THREAD; - - } elsif ($THREAD) { - &write_thread_index(); - - } elsif ($MAIN) { - &write_main_index(); - } - - ## Write any alternate indexes - if (!$IDXONLY) { - - ## Write database - print STDOUT "Writing database ...\n" unless $QUIET; - &output_db($DBPathName); - - $IdxMinPg = 0; $TIdxMinPg = 0; - - foreach $tmp (@OtherIdxs) { - $THREAD = 0; - $tmp = "${OUTDIR}${DIRSEP}$tmp" - unless ($tmp =~ m%^/%) || (-e $tmp); - - if (&read_fmt_file($tmp)) { - if ($THREAD) { - &write_thread_index(); - } else { - &write_main_index(); - } - } - } - - print STDOUT "$NumOfMsgs messages\n" unless $QUIET; - } - - 1; -} - -##--------------------------------------------------------------------------- -## Function to do scan feature. -## -sub scan { - local($key, $num, $index, $day, $mon, $year, $from, $date, - $subject, $time, @array); - - print STDOUT "$NumOfMsgs messages in $OUTDIR:\n\n"; - print STDOUT sprintf("%5s %s %-15s %-43s\n", - "Msg #", "YYYY/MM/DD", "From", "Subject"); - print STDOUT sprintf("%5s %s %-15s %-43s\n", - "-" x 5, "----------", "-" x 15, "-" x 43); - - @array = &sort_messages(); - foreach $index (@array) { - $date = &time2mmddyy((split(/$X/o, $index))[0], 'yyyymmdd'); - $num = $IndexNum{$index}; - $from = substr(&extract_email_name($From{$index}), 0, 15); - $subject = substr($Subject{$index}, 0, 43); - print STDOUT sprintf("%5d %s %-15s %-43s\n", - $num, $date, $from, $subject); - } -} - -##--------------------------------------------------------------------------- -## Routine to perform conversion of a single mail message to -## HTML. -## -sub single { - local($mhead,$index,$from,$date,$sub,$header,$handle,$mesg, - $template,$filename,%fields); - - ## Prevent any verbose output - $QUIET = 1; - - ## See where input is coming from - if ($ARGV[0]) { - ($handle = &file_open($ARGV[0])) || - die("ERROR: Unable to open $ARGV[0]\n"); - $filename = $ARGV[0]; - } else { - $handle = 'STDIN'; - } - - ## Read header - ($index,$from,$date,$sub,$header) = - &read_mail_header($handle, *mhead, *fields); - - ($From{$index},$Date{$index},$Subject{$index}) = ($from,$date,$sub); - $MsgHead{$index} = $mhead; - - ## Read rest of message - $Message{$index} = &read_mail_body($handle, $index, $header, *fields); - - ## Output mail - &output_mail($index, 1, 0); - - close($handle); -} - -##--------------------------------------------------------------------------- -## Function for removing messages. -## -sub rmm { - local(@numbers) = (); - local($key, %Num2Index, $num); - local($_); - - ## Create list of messages to remove - foreach (@_) { - # range - if (/^(\d+)-(\d+)$/) { - push(@numbers, $1 .. $2); # range op removes leading zeros - next; - } - # single number - if (/^\d+$/) { - push(@numbers, int($_)); # int() removes leading zeros - next; - } - # probably message-id - push(@numbers, $_); - } - - if ($#numbers < 0) { - die("ERROR: No messages specified\n"); - } - - ## Make hash to perform deletions - foreach $key (keys %IndexNum) { - $Num2Index{$IndexNum{$key}} = $key; - } - - ## Remove messages - foreach $num (@numbers) { - # message number - if (($num =~ /^\d+$/) && ($key = $Num2Index{$num})) { - &delmsg($key); - next; - } - - # message-id - $num =~ s/[<>]//g; # remove <>'s in case message-id - if ($key = $MsgId{$num}) { - &delmsg($key); - next; - } - - # message not in archive - warn qq/Warning: Message "$num" not in archive\n/; - } -} - -##--------------------------------------------------------------------------- -sub delmsg { - local($key) = @_; - local($filename); - local($pathname); - - &defineIndex2MsgId(); - $msgnum = $IndexNum{$key}; return 0 if ($msgnum eq ''); - $filename = join($DIRSEP, $OUTDIR, &msgnum_filename($msgnum)); - delete $ContentType{$key}; - delete $Date{$key}; - delete $From{$key}; - delete $IndexNum{$key}; - delete $Refs{$key}; - delete $Subject{$key}; - delete $MsgId{$Index2MsgId{$key}}; - &file_remove($filename); - foreach $filename (split(/$X/o, $Derived{$key})) { - $pathname = "${OUTDIR}${DIRSEP}${filename}"; - if (-d $pathname) { - &dir_remove($pathname); - } else { - &file_remove("${OUTDIR}${DIRSEP}${filename}"); - } - } - delete $Derived{$key}; - $NumOfMsgs--; - 1; -} - -##--------------------------------------------------------------------------- -## write_mail outputs converted mail. It takes a reference to an -## array containing indexes of messages to output. -## -sub write_mail { - local($hack) = (0); - print STDOUT "Writing mail " unless $QUIET; - - if ($SLOW && !$ADD) { - $ADD = 1; - $hack = 1; - } - - foreach $index (@MListOrder) { - print STDOUT "." unless $QUIET; - &output_mail($index, $AddIndex{$index}, 0); - } - - if ($hack) { - $ADD = 0; - } - - print STDOUT "\n" unless $QUIET; -} - -##--------------------------------------------------------------------------- -## write_main_index outputs main index of archive -## -sub write_main_index { - local(@array) = (); - local($outhandle, $i, $i_p0, $filename, $tmpl, $isfirst, $tmp, - $mlfh, $mlinfh); - local(@a, $PageNum); - - @array = &sort_messages(); - - for ($PageNum = 1; $PageNum <= $NumOfPages; $PageNum++) { - if ($MULTIIDX) { - @a = splice(@array, 0, $IDXSIZE); - } - next if $PageNum < $IdxMinPg; - - $isfirst = 1; - - if ($MULTIIDX) { - if ($PageNum > 1) { - $IDXPATHNAME = join("", $OUTDIR, $DIRSEP, - $IDXPREFIX, $PageNum, ".", $HtmlExt); - } else { - $IDXPATHNAME = ${OUTDIR} . ${DIRSEP} . ${IDXNAME}; - } - } else { - if ($IDXSIZE && (($i = ($#array+1) - $IDXSIZE) > 0)) { - if ($REVSORT) { - splice(@array, $IDXSIZE); - } else { - splice(@array, 0, $i); - } - } - $IDXPATHNAME = ${OUTDIR} . ${DIRSEP} . ${IDXNAME}; - *a = *array; - } - - ## Open/create index file - if ($ADD) { - if (&file_exists($IDXPATHNAME)) { - &file_copy($IDXPATHNAME, "${OUTDIR}${DIRSEP}tmp.$$"); - ($mlinfh = &file_open("${OUTDIR}${DIRSEP}tmp.$$")) - || die("ERROR: Unable to open ${OUTDIR}${DIRSEP}tmp.$$\n"); - $MLCP = 1; - } else { - $MLCP = 0; - } - } - if ($IDXONLY) { - $outhandle = STDOUT; - } else { - ($outhandle = &file_create($IDXPATHNAME, $GzipFiles)) || - die("ERROR: Unable to create $IDXPATHNAME\n"); - } - print STDOUT "Writing $IDXPATHNAME ...\n" unless $QUIET; - - ## Print top part of index - &output_maillist_head($outhandle, $mlinfh); - - ## Output links to messages - - if ($NOSORT) { - foreach $index (@a) { - ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - - } elsif ($SUBSORT) { - local($prevsub) = ''; - foreach $index (@a) { - if (($tmp = &get_base_subject($index)) ne $prevsub) { - $prevsub = $tmp; - if (!$isfirst) { - ($tmpl = $SUBJECTEND) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } else { - $isfirst = 0; - } - ($tmpl = $SUBJECTBEG) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - ($tmpl = $SUBJECTEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - - } elsif ($AUTHSORT) { - local($prevauth) = ''; - foreach $index (@a) { - if (($tmp = &get_base_author($index)) ne $prevauth) { - $prevauth = $tmp; - if (!$isfirst) { - ($tmpl = $AUTHEND) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } else { - $isfirst = 0; - } - ($tmpl = $AUTHBEG) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - ($tmpl = $AUTHEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - - } else { - local($prevdate) = ''; - local($time); - foreach $index (@a) { - $time = &get_time_from_index($index); - $tmp = join("", (localtime($time))[3,4,5]); - if ($tmp ne $prevdate) { - $prevdate = $tmp; - if (!$isfirst) { - ($tmpl = $DAYEND) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } else { - $isfirst = 0; - } - ($tmpl = $DAYBEG) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - ($tmpl = $LITMPL) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - ($tmpl = $DAYEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $outhandle $tmpl; - } - - ## Print bottom part of index - &output_maillist_foot($outhandle, $mlinfh); - close($outhandle) unless $IDXONLY; - if ($MLCP) { - close($mlinfh); - &file_remove("${OUTDIR}${DIRSEP}tmp.$$"); - } - } -} - -##--------------------------------------------------------------------------- -## read_mail_header() is responsible for parsing the header of -## a mail message. -## -sub read_mail_header { - local($handle, *mesg, *fields) = @_; - local(%l2o, $header, $index, $from, $sub, $date, $tmp, $msgid, - @refs, @array); - - $header = &'MAILread_file_header("main'$handle", *fields, *l2o); - - ##------------## - ## Get Msg-ID ## - ##------------## - $msgid = $fields{'message-id'} || $fields{'msg-id'} || - $fields{'content-id'}; - if (!($msgid =~ s/\s*<([^>]*)>\s*/$1/g)) { - $msgid =~ s/^\s*//; - $msgid =~ s/\s*$//; - } - - ## Return if message already exists in archive ## - if ($msgid && defined($MsgId{$msgid})) { - return ("", "", "", "", ""); - } - - ##----------## - ## Get date ## - ##----------## - $date = ""; $index = ""; - foreach (@DateFields) { - next unless $fields{$_}; - - ## Treat received field specially - if ($_ eq 'received') { - @array = split(/;/, - (split(/$readmail'FieldSep/o, $fields{$_}))[0]); - $date = pop @array; - ## Any other field should just be a date - } else { - $date = (split(/$readmail'FieldSep/o, $fields{$_}))[0]; - } - - ## See if time_t can be determined. - if (($date =~ /\w/) && (@array = &parse_date($date))) { - $index = &get_time_from_date(@array[1..$#array]); - last; - } - } - if ($index eq "") { - warn "\nWarning: Could not parse date for message\n", - " Message-Id: <$msgid>\n"; - $date = "" unless $date =~ /\S/; - $index = time; # Use current time - } - - ## Return if message too old to add ## - if (&expired_time($index)) { - return ("", "", "", "", ""); - } - - ##-------------## - ## Get Subject ## - ##-------------## - if ($fields{'subject'} !~ /^\s*$/) { - ($sub = $fields{'subject'}) =~ s/\s*$//; - } else { - $sub = 'No Subject'; - } - - ##----------## - ## Get From ## - ##----------## - $from = ""; - foreach (@FromFields) { - next unless $fields{$_}; - $from = $fields{$_}; - last; - } - $from = 'No Author' unless $from; - - ##----------------## - ## Get References ## - ##----------------## - $tmp = $fields{'references'}; - while ($tmp =~ s/<([^>]+)>//) { - push(@refs, $1); - } - $tmp = $fields{'in-reply-to'}; - if ($tmp =~ s/^[^<]*<([^>]*)>.*$/$1/) { - push(@refs, $tmp) unless $tmp =~ /^\s*$/; - } - - ##------------------------## - ## Create HTML for header ## - ##------------------------## - $mesg .= &htmlize_header(*fields, *l2o); - - ## Insure uniqueness of msg-id - $index .= $X . sprintf("%d",$LastMsgNum+1); - - if ($fields{'content-type'}) { - ($tmp = $fields{'content-type'}) =~ m%^\s*([\w-\./]+)%; - $tmp = $1 || 'text/plain'; - $tmp =~ tr/A-Z/a-z/; - } else { - $tmp = 'text/plain'; - } - $ContentType{$index} = $tmp; - - if ($msgid) { - $MsgId{$msgid} = $index; - $NewMsgId{$msgid} = $index; # Track new message-ids - } - &remove_dups(*refs); # Remove duplicate msg-ids - $Refs{$index} = join($X, @refs) if (@refs); - - ($index,$from,$date,$sub,$header); -} - -##--------------------------------------------------------------------------- -## read_mail_body() reads in the body of a message. The returned -## filtered body is in $ret. -## -sub read_mail_body { - local($handle, $index, $header, *fields, $skip) = @_; - local($ret, $data) = ('', ''); - local(@files) = (); - - ## Define "globals" for use by filters - ## NOTE: This stuff can be handled better, and will be done - ## when/if I get around to rewriting mhonarc in Perl 5. - ## - $'MHAmsgnum = &fmt_msgnum($IndexNum{$index}) unless $skip; - - ## Slurp of message body - ## UUCP mailbox - if ($MBOX) { - if ($CONLEN && $fields{"content-length"}) { # Check for content-length - local($len, $cnt) = ($fields{"content-length"}, 0); - if ($len) { - while (<$handle>) { - $cnt += length($_); # Increment byte count - $data .= $_; # Save data - last if $cnt >= $len # Last if hit length - } - } - # Slurp up bogus data if required (should I do this?) - while (!/$FROM/o && !eof($handle)) { - $_ = <$handle>; - } - - } else { # No content-length - while (<$handle>) { - last if /$FROM/o; - $data .= $_; - } - } - - ## MH message file - } else { - while (<$handle>) { - $data .= $_; - } - } - - ## Filter data - return '' if $skip; - $fields{'content-type'} = 'text/plain' - if $fields{'content-type'} =~ /^\s*$/; - ($ret, @files) = &'MAILread_body($header, $data, - $fields{'content-type'}, - $fields{'content-transfer-encoding'}); - $ret = join('', - "
    \n", - "
    Warning
    \n", - "
    Could not process message with given Content-Type: \n", - "", $fields{'content-type'}, "\n", - "
    \n", - "
    \n" - ) unless $ret; - if (@files) { - $Derived{$index} = join($X, @files); - } - $ret; -} - -##--------------------------------------------------------------------------- -## Output/edit a mail message. -## $index => current index (== $array[$i]) -## $force => flag if mail is written and not editted, regardless -## $nocustom => ignore sections with user customization -## -sub output_mail { - local($index, $force, $nocustom) = @_; - local($msgi, $tmp, $tmp2, $template, @array2); - local($filepathname, $tmppathname, $i_p0, $filename, $msghandle, - $msginfh, $drvfh); - local($adding) = ($ADD && !$force && !$SINGLE); - - $i_p0 = &fmt_msgnum($IndexNum{$index}); - - $filename = &msgnum_filename($IndexNum{$index}); - $filepathname = $OUTDIR . $DIRSEP . $filename; - $tmppathname = $OUTDIR . $DIRSEP . "msgtmp.$$"; - - if ($adding) { - return ($i_p0,$filename) unless $Update{$IndexNum{$index}}; - &file_copy($filepathname, $tmppathname); - ($msginfh = &file_open($tmppathname)) || - die("ERROR: Unable to open $tmppathname\n"); - } - if ($SINGLE) { - $msghandle = 'STDOUT'; - } else { - ($msghandle = &file_create($filepathname, $GzipFiles)) || - die("ERROR: Unable to create $filepathname\n"); - } - - ## Output HTML header - if ($adding) { - while (<$msginfh>) { - last if /\n", - "\n", - "\n", - "\n", - "\n", - "\n"; - foreach (split(/$X/o, $Refs{$index})) { - print $msghandle - "\n"; - } - print $msghandle "\n"; - - # Add in user defined markup - ($template = $MSGPGBEG) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - print $msghandle "\n"; - - ## Output header - if ($adding) { - while (<$msginfh>) { - last if /\n"; - if (!$nocustom) { - ($template = $MSGHEAD) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - print $msghandle "\n"; - - ## Output Prev/Next/Index links at top - if ($adding) { - while (<$msginfh>) { last if /\n"; - if (!$nocustom && !$SINGLE) { - ($template = $TOPLINKS) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - print $msghandle "\n\n"; - - ## Output message body - if ($adding) { - $tmp2 = ''; - while (<$msginfh>) { - $tmp2 .= $_; - last if /\n"; - print $msghandle "\n"; - ($template = $SUBJECTHEADER) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - print $msghandle "\n"; - - $MsgHead{$index} =~ s%($AddrExp)%&link_refmsgid($1)%geo; - $Message{$index} =~ s%($AddrExp)%&link_refmsgid($1)%geo; - - print $msghandle $MsgHead{$index}; - print $msghandle "\n"; - ($template = $HEADBODYSEP) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - print $msghandle "\n"; - print $msghandle "\n"; - print $msghandle $Message{$index}, "\n"; - print $msghandle "\n"; - print $msghandle "\n"; - } - - ## Output any followup messages - if ($adding) { - while (<$msginfh>) { last if /\n"; - ($template = $MSGBODYEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - if (!$nocustom && $DoFolRefs) { - @array2 = split(/$bs/o, $Follow{$index}); - if ($#array2 >= 0) { - ($template = $FOLUPBEGIN) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - foreach (@array2) { - ($template = $FOLUPLITXT) =~ - s/$VarExp/&replace_li_var($1,$_)/geo; - print $msghandle $template; - } - ($template = $FOLUPEND) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - } - print $msghandle "\n"; - - ## Output any references - if ($adding) { - while (<$msginfh>) { last if /\n"; - if (!$nocustom && $DoFolRefs) { - @array2 = split(/$X/o, $Refs{$index}); - $tmp2 = 0; # flag for when first ref printed - if ($#array2 >= 0) { - foreach (@array2) { - if (defined($IndexNum{$MsgId{$_}})) { - if (!$tmp2) { - ($template = $REFSBEGIN) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - $tmp2 = 1; - } - ($template = $REFSLITXT) =~ - s/$VarExp/&replace_li_var($1,$MsgId{$_})/geo; - print $msghandle $template; - } - } - if ($tmp2) { - ($template = $REFSEND) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - } - } - print $msghandle "\n"; - - ## Output verbose links to prev/next message in list - if ($adding) { - while (<$msginfh>) { last if /\n"; - if (!$nocustom && !$SINGLE) { - ($template = $BOTLINKS) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - print $msghandle "\n\n"; - - ## Output footer - if ($adding) { - while (<$msginfh>) { - last if /\n"; - if (!$nocustom) { - ($template = $MSGFOOT) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - print $msghandle "\n"; - - if (!$nocustom) { - ($template = $MSGPGEND) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - print $msghandle $template; - } - - close($msghandle) if (!$SINGLE); - if ($adding) { - close($msginfh); - &file_remove($tmppathname); - } - - ## Create user defined files - foreach (keys %UDerivedFile) { - ($tmp = $_) =~ s/$VarExp/&replace_li_var($1,$index)/geo; - $tmp2 = $OUTDIR . $DIRSEP . $tmp; - if ($drvfh = &file_create($tmp2, $GzipFiles)) { - ($template = $UDerivedFile{$_}) =~ - s/$VarExp/&replace_li_var($1,$index)/geo; - print $drvfh $template; - close($drvfh); - if ($Derived{$index}) { - $Derived{$index} .= $X . $tmp; - } else { - $Derived{$index} = $tmp; - } - } else { - warn "Warning: Unable to create $tmp2\n"; - } - } - if (@array2 = split(/$X/o, $Derived{$index})) { - &remove_dups(*array2); - $Derived{$index} = join($X, @array2); - } - - ## Set modification times -- Use eval incase OS does not support utime. - if ($MODTIME && !$SINGLE) { - eval q% - $tmp = &get_time_from_index($index); - @array2 = split(/$X/o, $Derived{$index}); - grep($_ = $OUTDIR . $DIRSEP . $_, @array2); - unshift(@array2, $filepathname); - &file_utime($tmp, $tmp, @array2); - %; - } - - ($i_p0, $filename); + require 'mhamain.pl' || die qq/ERROR: Unable to require "mhamain.pl"\n/; + &mhonarc::initialize(); + &mhonarc::process_input() ? exit(0) : exit(-1); } -##--------------------------------------------------------------------------- -## Routine to convert a msgid to an anchor -## -sub link_refmsgid { - local($refmsgid, $onlynew) = @_; - - defined($IndexNum{$MsgId{$refmsgid}}) && - (!$onlynew || $NewMsgId{$refmsgid}) ? - join("", '', $refmsgid, '') : - $refmsgid; -} - -##--------------------------------------------------------------------------- -## output_maillist_head() outputs the beginning of the index page. -## -sub output_maillist_head { - local($handle, $cphandle) = @_; - local($tmp, $index, $headfh); - $index = ""; - - print $handle "\n"; - - ## Output title - ($tmp = $IDXPGBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; - print $handle $tmp; - print $handle "\n"; - - if ($MLCP) { - while (<$cphandle>) { last if /\n"; - if ($headfh = &file_open($HEADER)) { - while (<$headfh>) { print $handle $_; } - close($headfh); - } else { - warn "Warning: Unable to open header: $HEADER\n"; - } - if ($MLCP) { - while (<$cphandle>) { last if /\n"; - } elsif ($MLCP) { # Preserve maillist header - while (<$cphandle>) { - print $handle $_; - last if /\n", - "\n"; - } - - print $handle "\n"; - ($tmp = $LIBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; - print $handle $tmp; -} - -##--------------------------------------------------------------------------- -## output_maillist_foot() outputs the end of the index page. -## -sub output_maillist_foot { - local($handle, $cphandle) = @_; - local($tmp, $index, $footfh); - $index = ""; - - ($tmp = $LIEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; - print $handle $tmp; - print $handle "\n"; - - ## Skip past index in old maillist file - if ($MLCP) { - while (<$cphandle>) { last if /\n"; - if ($footfh = &file_open($FOOTER)) { - while (<$footfh>) { print $handle $_; } - close($footfh); - } else { - warn "Warning: Unable to open footer: $FOOTER\n"; - } - if ($MLCP) { - while (<$cphandle>) { last if /\n"; - } elsif ($MLCP) { # Preserve maillist footer - while (<$cphandle>) { - print $handle $_; - last if /\n", - "\n"; - } - - &output_doclink($handle); - - ## Close document - ($tmp = $IDXPGEND) =~ s/$VarExp/&replace_li_var($1,'')/geo; - print $handle $tmp; - - print $handle "\n"; -} - -##--------------------------------------------------------------------------- -## Output link to documentation, if specified -## -sub output_doclink { - local($handle) = ($_[0]); - if (!$NODOC && $DOCURL) { - print $handle "
    \n"; - print $handle - "
    \n", - "Mail converted by ", - qq|MHonArc $VERSION\n|, - "
    \n"; - } -} - -############################################################################# -## Miscellaneous routines -############################################################################# -##--------------------------------------------------------------------------- -sub getNewMsgNum { - $NumOfMsgs++; $LastMsgNum++; - $LastMsgNum; -} - -##--------------------------------------------------------------------------- -## ign_signals() sets mhonarc to ignore termination signals. This -## routine is called right before an archive is written/editted to -## help prevent archive corruption. -## -sub ign_signals { - $SIG{'ABRT'} = 'IGNORE'; - $SIG{'HUP'} = 'IGNORE'; - $SIG{'INT'} = 'IGNORE'; - $SIG{'PIPE'} = 'IGNORE'; - $SIG{'QUIT'} = 'IGNORE'; - $SIG{'TERM'} = 'IGNORE'; - $SIG{'USR1'} = 'IGNORE'; - $SIG{'USR2'} = 'IGNORE'; -} - -##--------------------------------------------------------------------------- -## set_handler() sets up the quit() routine to be called when -## a termination signal is sent to mhonarc. -## -sub set_handler { - $SIG{'ABRT'} = 'quit'; - $SIG{'HUP'} = 'quit'; - $SIG{'INT'} = 'quit'; - $SIG{'PIPE'} = 'quit'; - $SIG{'QUIT'} = 'quit'; - $SIG{'TERM'} = 'quit'; - $SIG{'USR1'} = 'quit'; - $SIG{'USR2'} = 'quit'; -} - -##--------------------------------------------------------------------------- -## Routine to clean up stuff -## -sub clean_up { - if ($ISLOCK) { - if (-d $LOCKFILE) { - if (!rmdir($LOCKFILE)) { - warn "Warning: Unable to remove $LOCKFILE: $!\n"; - } - } else { - if (!unlink($LOCKFILE)) { - warn "Warning: Unable to remove $LOCKFILE\n"; - } - } - $ISLOCK = 0; - } -} - -##--------------------------------------------------------------------------- -## Error routine. Clean up stuff and die. -## -sub error { - &clean_up(); - die @_; -} - -##--------------------------------------------------------------------------- -## Quit execution -## -sub quit { - local($status) = shift; - &clean_up(); - if ($TIME) { - $EndTime = (times)[0]; - printf(STDERR "\nTime: %.2f CPU seconds\n", $EndTime - $StartTime); - } - exit $status unless $NoExit; - $status; -} - -##--------------------------------------------------------------------------- -## Create Index2MsgId if not defined -## -sub defineIndex2MsgId { - if (!defined(%Index2MsgId)) { - foreach (keys %MsgId) { - $Index2MsgId{$MsgId{$_}} = $_; - } - } -} - -##--------------------------------------------------------------------------- +##---------------------------------------------------------------------------## 1;