diff -r -c -N MHonArc2.4.9/doc/commontasks.html MHonArc2.4.9-p/doc/commontasks.html *** MHonArc2.4.9/doc/commontasks.html Sun Jun 10 16:11:23 2001 --- MHonArc2.4.9-p/doc/commontasks.html Wed Jun 27 16:31:28 2001 *************** *** 95,100 **** --- 95,101 ---- -authsort Sort main index by author. -reverse Reverse the listing order in the main index. + -reversedate Reverse the date sorting order in the main index. -sort List messages by date in main index. -subsort List messages by subjext in main index. -treverse List thread in reverse order. diff -r -c -N MHonArc2.4.9/doc/rcvars.html MHonArc2.4.9-p/doc/rcvars.html *** MHonArc2.4.9/doc/rcvars.html Sun Jun 10 16:11:23 2001 --- MHonArc2.4.9-p/doc/rcvars.html Wed Jun 27 23:16:03 2001 *************** *** 245,250 **** --- 245,258 ---- - Next message by thread. + TNEXTIN + - Next message in current thread. + + + TNEXTTOP + - Top/root message of the next thread. + + TPARENT - Parent message of current thread. *************** *** 254,259 **** --- 262,275 ---- - Previous message by thread. + TPREVIN + - Previous message in current thread. + + + TPREVTOP + - Top/root message of the previous thread. + + TTOP - Top/root message of current discussion thread. *************** *** 261,266 **** --- 277,292 ----

"CUR" is the default if nothing is specified for mesg_spec.

+ +

"NEXT" and "PREV" ignore the REVERSE and REVERSEDATE resources. For example, + if SORT is on (sorting is by date), then + "NEXT" always points to the chronologically next message in the + archive, even if REVERSE is on. Similarly, "TNEXT", + "TPREV", "TNEXTTOP", and "TPREVTOP" ignore the + TREVERSE resource.

+ *************** *** 1042,1068 **** MAILTOURL.
$TSLICE$
!
Arguments:N/A
Description: A slice of the thread listing relative to the current message. ! Size of slice determined by the TSLICE ! resource. Layout appearance of $TSLICE$ determined by ! TSLICEBEG, ! TSLICEEND, ! TTOPBEGIN, ! TLITXT, ! TLIEND, ! TSINGLETXT, ! TSUBJECTBEG, and ! TTOPEND ! resources. !

$VERSION$
--- 1068,1108 ---- MAILTOURL.
+
$TSLICE$
! + !
Arguments:none
! nbefore
! nbefore;nafter
! nbefore;nafter;curthread
Description:A slice of the thread listing relative to the current message. ! The slice contains up to nbefore messages before the current message ! and up to nafter messages after it. If curthread is non-zero, ! the slice is further limited to the thread containing the current message. ! These arguments default to the TSLICE ! and TSLICECURTHREAD resources. ! Layout appearance of $TSLICE$ determined by TSLICEBEG, TSLICEEND, TTOPBEGIN, TTOPEND, TLITXT, TLIEND, TSINGLETXT, TTOPBEGINCUR, TTOPENDCUR, TLITXTCUR, TLIENDCUR, TSINGLETXTCUR, TSUBJECTBEG, and TSUBJECTEND resources.

$VERSION$
diff -r -c -N MHonArc2.4.9/doc/resources/authsort.html MHonArc2.4.9-p/doc/resources/authsort.html *** MHonArc2.4.9/doc/resources/authsort.html Sat Oct 28 09:29:38 2000 --- MHonArc2.4.9-p/doc/resources/authsort.html Wed Jun 27 16:28:53 2001 *************** *** 82,88 ****

SORT, ! SUBSORT

--- 82,90 ----

SORT, ! SUBSORT, ! REVERSE, ! REVERSEDATE

diff -r -c -N MHonArc2.4.9/doc/resources/otherindexes.html MHonArc2.4.9-p/doc/resources/otherindexes.html *** MHonArc2.4.9/doc/resources/otherindexes.html Sat Oct 28 09:29:44 2000 --- MHonArc2.4.9-p/doc/resources/otherindexes.html Mon Jun 25 17:39:55 2001 *************** *** 106,116 **** archive, the extra index resource files must exist inorder to generate the extra index pages.

!

All filenames are treated relative to the current working ! directory or the archive directory, except for absolute ! pathnames. It is common to place OTHERINDEXES resource ! files in the archive directory to simplify archive administration. !

--- 106,115 ---- archive, the extra index resource files must exist inorder to generate the extra index pages.

!

All filenames are treated relative to the current working directory, the ! archive directory, or the directory containing the main resource file, ! except for absolute pathnames. It is common to place OTHERINDEXES resource ! files in the archive directory to simplify archive administration.

diff -r -c -N MHonArc2.4.9/doc/resources/reverse.html MHonArc2.4.9-p/doc/resources/reverse.html *** MHonArc2.4.9/doc/resources/reverse.html Sat Oct 28 09:29:44 2000 --- MHonArc2.4.9-p/doc/resources/reverse.html Wed Jun 27 16:10:17 2001 *************** *** 48,61 ****

Description

If the REVERSE resource on, message groups in the main index will be ! listed in the reverse ! order of the sort option specified. For example, ! if date sorting is specified (see ! SORT), then the messages will be listed ! in reverse chronological order. If SUBSORT ! is active, each subject group will have the most recent message ! first and oldest last. !


--- 48,63 ----

Description

If the REVERSE resource on, message groups in the main index will be ! listed in the reverse order of the sort option specified. For example, if ! date sorting is specified (see SORT), then the ! messages will be listed in reverse chronological order. If SUBSORT is active, each subject group will have the ! most recent message first and oldest last, and the subject groups will be ! listed in reverse alphabetical order (from Z to A).

! !

The REVERSEDATE resource reverses only ! the date ordering, leaving the ordering of subject or author groups in ! normal alphabetical order.


diff -r -c -N MHonArc2.4.9/doc/resources/reversedate.html MHonArc2.4.9-p/doc/resources/reversedate.html *** MHonArc2.4.9/doc/resources/reversedate.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/reversedate.html Wed Jun 27 16:09:33 2001 *************** *** 0 **** --- 1,116 ---- + + + + MHonArc Resources: REVERSEDATE + + + +
+ MHonArc Resource List +
+ +
+

REVERSEDATE

+ + +
+

Syntax

+ +
+ +
Envariable
+

+ M2H_REVERSEDATE=[ 0 | 1 ] +

+
+ +
Element(s)
+


+ + <REVERSEDATE>
+ <NOREVERSEDATE>
+
+

+
+ +
Command-line Option(s)
+


+ -reversedate
+ -noreversedate +
+

+
+ +
+ + +
+

Description

+ +

If the REVERSEDATE resource on, messages in the main index will be + listed in reverse chronological order (from newest to oldest). Unlike REVERSE, REVERSEDATE only reverses the date + ordering. For example, if SUBSORT and + REVERSEDATE are active and REVERSE is off, then each subject group will + have the most recent message first and oldest last, but the subject groups + will be listed in alphabetical order (from A to Z).

+ +

If REVERSEDATE and REVERSE are both on, then + messages are listed in forward chronological order (from oldest to + newest), but subject or author groupings appear in reverse + alphabetical order.

+ + +
+

Default Setting

+ +

Off. +

+ + +
+

Resource Variables

+ +

N/A +

+ + +
+

Examples

+ +

The following example shows how to get the most recent messages + to be listed first in the main index: +

+ +
+     % mhonarc -sort -reversedate ...
+ 
+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ REVERSE, + AUTHSORT, + SORT, + SUBSORT +

+ + +
+
+ 00/10/28 11:13:09
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/scan.html MHonArc2.4.9-p/doc/resources/scan.html *** MHonArc2.4.9/doc/resources/scan.html Sat Oct 28 09:29:44 2000 --- MHonArc2.4.9-p/doc/resources/scan.html Wed Jun 27 16:10:55 2001 *************** *** 137,142 **** --- 137,143 ----

OUTDIR, REVERSE, + REVERSEDATE, SORT, SUBSORT

diff -r -c -N MHonArc2.4.9/doc/resources/sort.html MHonArc2.4.9-p/doc/resources/sort.html *** MHonArc2.4.9/doc/resources/sort.html Sat Oct 28 09:29:44 2000 --- MHonArc2.4.9-p/doc/resources/sort.html Wed Jun 27 16:29:40 2001 *************** *** 86,92 ****

REVERSE, ! SUBSORT

--- 86,94 ----

REVERSE, ! REVERSEDATE, ! SUBSORT, ! AUTHSORT

diff -r -c -N MHonArc2.4.9/doc/resources/subjectthreads.html MHonArc2.4.9-p/doc/resources/subjectthreads.html *** MHonArc2.4.9/doc/resources/subjectthreads.html Sat Oct 28 09:29:45 2000 --- MHonArc2.4.9-p/doc/resources/subjectthreads.html Wed Jun 27 15:16:02 2001 *************** *** 55,60 **** --- 55,64 ---- TSUBJECTEND of the thread index.

+

Use the SUBJECTTHREADSEXCRXP + resource to limit the subjects that may be used for detecting + threads.

+

Default Setting

*************** *** 89,94 **** --- 93,99 ----

SUBJECTREPLYRXP, + SUBJECTTHREADSEXCRXP, TSUBJECTBEG, TSUBJECTEND

diff -r -c -N MHonArc2.4.9/doc/resources/subjectthreadsexcrxp.html MHonArc2.4.9-p/doc/resources/subjectthreadsexcrxp.html *** MHonArc2.4.9/doc/resources/subjectthreadsexcrxp.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/subjectthreadsexcrxp.html Wed Jun 27 15:18:13 2001 *************** *** 0 **** --- 1,114 ---- + + + + MHonArc Resources: SUBJECTTHREADSEXCRXP + + + +
+ MHonArc Resource List
+
+ +
+

SUBJECTTHREADSEXCRXP

+ + +
+

Syntax

+ +
+ +
Envariable
+

+ M2H_SUBJECTTHREADSEXCRXP=Perl-regex +

+
+ +
Element
+


+ <SUBJECTTHREADSEXCRXP>
+ Perl-regex
+ </SUBJECTTHREADSEXCRXP>
+

+
+ +
Command-line Option
+


+ -subjectthreadsexcrxp Perl-regex
+

+
+ +
+ + +
+

Description

+ +

When SUBJECTTHREADS is active, + SUBJECTTHREADSEXCRXP prevents MHonArc from examining certain subjects for + detecting message threads. Its value is a Perl regular expression; subjects + matching that regular expression will never be marked as "possible + follow-ups".

+ +

The subject that MHonArc checks against SUBJECTTHREADSEXCRXP has been + stripped of reply indications. See the SUBJECTREPLYRXP resource.

+ + +
+

Default Setting

+ +

(?!) +

+ +

(This expression matches nothing, so any subject may be used for + detecting threads.)

+ + +
+

Resource Variables

+ +

N/A +

+ + +
+

Examples

+ +

MHonArc normally places all messages without a subject in a single + thread. This setting prevents thread detection for subjectless messages. +

+ +
+ <SUBJECTTHREADSEXCRXP>
+ ^No Subject$|^$
+ </SUBJECTTHREADSEXCRXP>
+ 
+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ SUBJECTTHREADS, + SUBJECTREPLYRXP +

+ + +
+
+ 00/10/28 11:13:10
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/subsort.html MHonArc2.4.9-p/doc/resources/subsort.html *** MHonArc2.4.9/doc/resources/subsort.html Sat Oct 28 09:29:45 2000 --- MHonArc2.4.9-p/doc/resources/subsort.html Wed Jun 27 16:29:17 2001 *************** *** 84,91 ****

See Also

REVERSE, ! SORT

--- 84,93 ----

See Also

+ SORT, + AUTHSORT, REVERSE, ! REVERSEDATE

diff -r -c -N MHonArc2.4.9/doc/resources/tliend.html MHonArc2.4.9-p/doc/resources/tliend.html *** MHonArc2.4.9/doc/resources/tliend.html Sat Oct 28 09:29:46 2000 --- MHonArc2.4.9-p/doc/resources/tliend.html Mon Jun 25 15:51:31 2001 *************** *** 93,99 ****

See Also

! TLITXT

--- 93,100 ----

See Also

! TLITXT, ! TLIENDCUR

diff -r -c -N MHonArc2.4.9/doc/resources/tliendcur.html MHonArc2.4.9-p/doc/resources/tliendcur.html *** MHonArc2.4.9/doc/resources/tliendcur.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tliendcur.html Wed Jun 27 15:13:41 2001 *************** *** 0 **** --- 1,104 ---- + + + + MHonArc Resources: TLIENDCUR + + + +
+ MHonArc Resource List +
+ +
+

TLIENDCUR

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TLIENDCUR>
+ markup ...
+ </TLIENDCUR>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TLIENDCUR defines the end markup for the current message in a thread + slice, when that message is a regular entry in the thread index. A regular + entry is a message that has either a previous or next message and is not + the top message in a thread.

+ +
+
NOTE
+

Use + TLITXTCUR for defining + the start and content markup for a regular entry. +

+
+
+ + +
+

Default Setting

+ +

The value of the TLIEND resource.

+ + +
+

Resource Variables

+ +

N/A +

+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TLITXTCUR, + TLIEND +

+ + +
+
+ 00/10/28 11:13:11
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tlitxt.html MHonArc2.4.9-p/doc/resources/tlitxt.html *** MHonArc2.4.9/doc/resources/tlitxt.html Sat Oct 28 09:29:46 2000 --- MHonArc2.4.9-p/doc/resources/tlitxt.html Mon Jun 25 15:54:10 2001 *************** *** 52,61 ****
NOTE

Use TLIEND for defining ! the end markup for a regular entry. !

!
!
--- 52,63 ----
NOTE

Use TLIEND for defining ! the end markup for a regular entry.

! !

In a thread slice, the current ! message is displayed with TLITXTCUR and TLIENDCUR, not TLITXT and TLIEND, if it is a ! regular entry.


*************** *** 202,207 **** --- 204,210 ----

TLIEND, + TLITXTCUR, TSINGLETXT, TTOPBEGIN

diff -r -c -N MHonArc2.4.9/doc/resources/tlitxtcur.html MHonArc2.4.9-p/doc/resources/tlitxtcur.html *** MHonArc2.4.9/doc/resources/tlitxtcur.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tlitxtcur.html Wed Jun 27 15:13:46 2001 *************** *** 0 **** --- 1,226 ---- + + + + MHonArc Resources: TLITXTCUR + + + +
+ MHonArc Resource List +
+ +
+

TLITXTCUR

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TLITXTCUR>
+ markup ...
+ </TLITXTCUR>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TLITXTCUR defines the starting markup and content for the current + message in a thread slice, when that message is a regular entry in the + thread index. A regular entry is a message that has either a previous or + next message and is not the top message in a thread.

+ +

Set TSINGLETXTCUR, TTOPBEGINCUR, and TLITXTCUR to make the + current message in a thread slice look different from the other messages in + the slice.

+ +
+
NOTE
+

Use + TLIENDCUR for defining + the end markup for a regular entry.

+
+
+ + +
+

Default Setting

+ +

The value of the TLITXT resource.

+ + +
+

Resource Variables

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$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$The HREF attribute to use in an anchor to link to the archived message.
$A_NAME$The NAME attribute to use in an anchor for messages to link to the index page.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$ICON$The context-type sensistive icon.
$ICONURL$The URL to the context-type sensistive icon.
$MMDDYYYY$Message date in mm/dd/yyyy 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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$NUMFOLUP$Number of explicit follow-ups to the message.
$ORDNUM$The current listing number of the message.
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

This markup causes the current message's subject to not be a link.

+ +
+ <TLITXTCUR>
+ <LI><STRONG>$SUBJECTNA$</STRONG>,
+ <EM>$FROMNAME$</EM>
+ </TLITXTCUR>
+ 
+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TLITXT, + TLIENDCUR, + TSINGLETXTCUR, + TTOPBEGINCUR +

+

+ Page Layout +

+ + +
+
+ 00/10/28 11:13:11
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tnextbutton.html MHonArc2.4.9-p/doc/resources/tnextbutton.html *** MHonArc2.4.9/doc/resources/tnextbutton.html Sat Mar 3 09:19:32 2001 --- MHonArc2.4.9-p/doc/resources/tnextbutton.html Thu Jun 28 00:17:26 2001 *************** *** 43,53 ****

Description

TNEXTBUTTON defines the value for the $BUTTON(TNEXT)$ ! resource variable when there is a next message to the current message ! according to the message list order of the thread index. See the ! TNEXTBUTTONIA for defining the ! value of $BUTTON(TNEXT)$ when there is no next message. !


--- 43,55 ----

Description

TNEXTBUTTON defines the value for the $BUTTON(TNEXT)$ ! resource variable when there is a next message by thread relative to the ! current message. The next message by thread equals the next message in the ! current thread or, if there is no such message, the first message in the ! chronologically next thread.

! !

See TNEXTBUTTONIA for defining the ! value of $BUTTON(TNEXT)$ when there is no next message.


*************** *** 272,280 ****

TNEXTBUTTONIA, - TOPLINKS, TPREVBUTTON, ! TPREVBUTTONIA

--- 274,287 ----

TNEXTBUTTONIA, TPREVBUTTON, ! TNEXTLINK, ! TOPLINKS !

! TNEXTINBUTTON, ! TPREVINBUTTON, ! TNEXTTOPBUTTON, ! TPREVTOPBUTTON

diff -r -c -N MHonArc2.4.9/doc/resources/tnextbuttonia.html MHonArc2.4.9-p/doc/resources/tnextbuttonia.html *** MHonArc2.4.9/doc/resources/tnextbuttonia.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tnextbuttonia.html Thu Jun 28 00:17:05 2001 *************** *** 43,53 ****

Description

TNEXTBUTTONIA defines the value for the $BUTTON(TNEXT)$ ! resource variable when there is no next message to the current message ! according to the message list order of the thread index. See the ! TNEXTBUTTON for defining the ! value of $BUTTON(TNEXT)$ when there is a next message. !


--- 43,52 ----

Description

TNEXTBUTTONIA defines the value for the $BUTTON(TNEXT)$ ! resource variable when there is no next message by thread relative to the ! current message. See TNEXTBUTTON for ! defining the value of $BUTTON(TNEXT)$ when there is a next ! message.


*************** *** 271,280 ****

See Also

! TNEXTBUTTONIA, ! TOPLINKS, ! TPREVBUTTON, ! TPREVBUTTONIA

--- 270,279 ----

See Also

! TNEXTBUTTON, ! TPREVBUTTONIA, ! TNEXTLINKIA, ! TOPLINKS

diff -r -c -N MHonArc2.4.9/doc/resources/tnextinlink.html MHonArc2.4.9-p/doc/resources/tnextinlink.html *** MHonArc2.4.9/doc/resources/tnextinlink.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tnextinlink.html Thu Jun 28 00:23:08 2001 *************** *** 0 **** --- 1,291 ---- + + + + MHonArc Resources: TNEXTINLINK + + + +
+ MHonArc Resource List +
+ +
+

TNEXTINLINK

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TNEXTINLINK>
+ markup ...
+ </TNEXTINLINK>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TNEXTINLINK defines the value for the $LINK(TNEXTIN)$ + resource variable when there is a next message in the current thread. + TNEXTINLINK is analagous to TNEXTINBUTTON, + but is intended to provide a more descriptive link to the next message. +

+ +

See TNEXTINLINKIA for defining the + value of $LINK(TNEXTIN)$ when there is no next message.

+ + +
+

Default Setting

+ +
+ <TNEXTINLINK>
+ <LI>Next in thread:
+ <STRONG><A HREF="$MSG(TNEXTIN)$">$SUBJECT(TNEXTIN)$</A></STRONG>
+ </LI>
+ </TNEXTINLINK>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTINLINKIA, + TPREVINLINK, + TNEXTINBUTTON +

+ TNEXTLINK, + TPREVLINK, + TNEXTTOPLINK, + TPREVTOPLINK +

+ + +
+
+ 00/10/28 11:13:11
+ + MHonArc
+ Copyright © 1997-1998, Earl Hood, mhonarc@pobox.com
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tnextinlinkia.html MHonArc2.4.9-p/doc/resources/tnextinlinkia.html *** MHonArc2.4.9/doc/resources/tnextinlinkia.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tnextinlinkia.html Thu Jun 28 00:22:49 2001 *************** *** 0 **** --- 1,278 ---- + + + + MHonArc Resources: TNEXTINLINKIA + + + +
+ MHonArc Resource List +
+ +
+

TNEXTINLINKIA

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+

+ <TNEXTINLINKIA>
+ markup ...
+ </TNEXTINLINKIA>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TNEXTINLINKIA defines the value for the $LINK(TNEXTIN)$ + resource variable when there is no next message in the current thread.

+ +

See TNEXTINLINK for defining the value of + $LINK(TNEXTIN)$ when there is a next message.

+ + +
+

Default Setting

+ +

Nil +

+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTINLINK, + TPREVINLINKIA, + TNEXTINBUTTONIA +

+ + +
+
+ 00/10/28 11:13:11
+ + MHonArc
+ Copyright © 1997-1998, Earl Hood, mhonarc@pobox.com
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tnextlink.html MHonArc2.4.9-p/doc/resources/tnextlink.html *** MHonArc2.4.9/doc/resources/tnextlink.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tnextlink.html Thu Jun 28 00:22:34 2001 *************** *** 42,59 ****

Description

!

TNEXTLINK defines the value for the $LINK(TNEXT)$ ! resource variable when there is a next message to the current message ! according to the message list order of the thread index. TNEXTLINK ! is analagous to ! TNEXTBUTTON, but is intended to ! provide a more descriptive link to the next message. !

!

See the ! TNEXTLINKIA for defining the ! value of $LINK(TNEXT)$ when there is no next message. !


--- 42,55 ----

Description

!

TNEXTLINK defines the value for the $LINK(TNEXT)$ resource ! variable when there is a next message by thread relative to the current ! message. TNEXTLINK is analagous to TNEXTBUTTON, but is intended to provide a more ! descriptive link to the next message.

!

See TNEXTLINKIA for defining the value of ! $LINK(TNEXT)$ when there is no next message.


*************** *** 282,291 ****

See Also

- BOTLINKS, TNEXTLINKIA, TPREVLINK, ! TPREVLINKIA

--- 278,292 ----

See Also

TNEXTLINKIA, TPREVLINK, ! TNEXTBUTTON, ! BOTLINKS !

! TNEXTINLINK, ! TPREVINLINK, ! TNEXTTOPLINK, ! TPREVTOPLINK

diff -r -c -N MHonArc2.4.9/doc/resources/tnextlinkia.html MHonArc2.4.9-p/doc/resources/tnextlinkia.html *** MHonArc2.4.9/doc/resources/tnextlinkia.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tnextlinkia.html Thu Jun 28 00:22:12 2001 *************** *** 43,56 ****

Description

TNEXTLINKIA defines the value for the $LINK(TNEXT)$ ! resource variable when there is no next message to the current message ! according to the message list order of the thread index. !

!

See the ! TNEXTLINK for defining the ! value of $LINK(TNEXT)$ when there is a next message. !


--- 43,53 ----

Description

TNEXTLINKIA defines the value for the $LINK(TNEXT)$ ! resource variable when there is no next message by thread relative to the ! current message.

!

See TNEXTLINK for defining the value of ! $LINK(TNEXT)$ when there is a next message.


*************** *** 264,273 ****

See Also

- BOTLINKS, TNEXTLINK, ! TPREVLINK, ! TPREVLINKIA

--- 261,270 ----

See Also

TNEXTLINK, ! TPREVLINKIA, ! TNEXTBUTTONIA, ! BOTLINKS

diff -r -c -N MHonArc2.4.9/doc/resources/tnexttopbutton.html MHonArc2.4.9-p/doc/resources/tnexttopbutton.html *** MHonArc2.4.9/doc/resources/tnexttopbutton.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tnexttopbutton.html Thu Jun 28 00:15:59 2001 *************** *** 0 **** --- 1,285 ---- + + + + MHonArc Resources: TNEXTTOPBUTTON + + + +
+ MHonArc Resource List +
+ +
+

TNEXTTOPBUTTON

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TNEXTTOPBUTTON>
+ markup ...
+ </TNEXTTOPBUTTON>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TNEXTTOPBUTTON defines the value for the $BUTTON(TNEXTTOP)$ + resource variable when there is a next thread relative to the current + message.

+ +

See TNEXTTOPBUTTONIA for defining the + value of $BUTTON(TNEXTTOP)$ when there is no next message.

+ + +
+

Default Setting

+ +
+ <TNEXTTOPBUTTON chop>
+ [<A HREF="$MSG(TNEXTTOP)$">Next Thread</A>]
+ </TNEXTTOPBUTTON>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None.

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTTOPBUTTONIA, + TPREVTOPBUTTON, + TNEXTTOPLINK +

+ TNEXTBUTTON, + TPREVBUTTON, + TNEXTINBUTTON, + TPREVINBUTTON +

+ + +
+
+ 01/03/03 11:18:19
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tnexttopbuttonia.html MHonArc2.4.9-p/doc/resources/tnexttopbuttonia.html *** MHonArc2.4.9/doc/resources/tnexttopbuttonia.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tnexttopbuttonia.html Thu Jun 28 00:15:35 2001 *************** *** 0 **** --- 1,280 ---- + + + + MHonArc Resources: TNEXTTOPBUTTONIA + + + +
+ MHonArc Resource List +
+ +
+

TNEXTTOPBUTTONIA

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TNEXTTOPBUTTONIA>
+ markup ...
+ </TNEXTTOPBUTTONIA>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TNEXTTOPBUTTONIA defines the value for the + $BUTTON(TNEXTTOP)$ resource variable when the current message + in the chronologically last thread.

+ +

See TNEXTTOPBUTTON for defining the + value of $BUTTON(TNEXTTOP)$ when there is a next thread.

+ + +
+

Default Setting

+ +
+ <TNEXTTOPBUTTONIA chop>
+ [Next Thread]
+ </TNEXTTOPBUTTONIA>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None.

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTTOPBUTTON, + TPREVTOPBUTTONIA, + TNEXTTOPLINKIA +

+ + +
+
+ 01/03/03 11:18:19
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tnexttoplink.html MHonArc2.4.9-p/doc/resources/tnexttoplink.html *** MHonArc2.4.9/doc/resources/tnexttoplink.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tnexttoplink.html Thu Jun 28 00:21:00 2001 *************** *** 0 **** --- 1,291 ---- + + + + MHonArc Resources: TNEXTTOPLINK + + + +
+ MHonArc Resource List +
+ +
+

TNEXTTOPLINK

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TNEXTTOPLINK>
+ markup ...
+ </TNEXTTOPLINK>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TNEXTTOPLINK defines the value for the $LINK(TNEXTTOP)$ + resource variable when there is a next thread relative to the current + message. TNEXTTOPLINK is analagous to TNEXTTOPBUTTON, but is intended to provide a + more descriptive link to the next thread.

+ +

See TNEXTTOPLINKIA for defining the + value of $LINK(TNEXTTOP)$ when there is no next thread.

+ + +
+

Default Setting

+ +
+ <TNEXTTOPLINK>
+ <LI>Next thread:
+ <STRONG><A HREF="$MSG(TNEXTTOP)$">$SUBJECT(TNEXTTOP)$</A></STRONG>
+ </LI>
+ </TNEXTTOPLINK>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTTOPLINKIA, + TPREVTOPLINK, + TNEXTTOPBUTTON +

+ TNEXTLINK, + TPREVLINK, + TNEXTINLINK, + TPREVINLINK +

+ + +
+
+ 00/10/28 11:13:11
+ + MHonArc
+ Copyright © 1997-1998, Earl Hood, mhonarc@pobox.com
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tnexttoplinkia.html MHonArc2.4.9-p/doc/resources/tnexttoplinkia.html *** MHonArc2.4.9/doc/resources/tnexttoplinkia.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tnexttoplinkia.html Thu Jun 28 00:20:44 2001 *************** *** 0 **** --- 1,279 ---- + + + + MHonArc Resources: TNEXTTOPLINKIA + + + +
+ MHonArc Resource List +
+ +
+

TNEXTTOPLINKIA

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+

+ <TNEXTTOPLINKIA>
+ markup ...
+ </TNEXTTOPLINKIA>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TNEXTTOPLINKIA defines the value for the $LINK(TNEXTTOP)$ + resource variable when the current message in the chronologically last + thread.

+ +

See TNEXTTOPLINK for defining the value of + $LINK(TNEXTTOP)$ when there is a next message.

+ + +
+

Default Setting

+ +

Nil +

+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTTOPLINK, + TPREVTOPLINKIA, + TNEXTTOPBUTTONIA +

+ + +
+
+ 00/10/28 11:13:11
+ + MHonArc
+ Copyright © 1997-1998, Earl Hood, mhonarc@pobox.com
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tprevbutton.html MHonArc2.4.9-p/doc/resources/tprevbutton.html *** MHonArc2.4.9/doc/resources/tprevbutton.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tprevbutton.html Thu Jun 28 00:15:18 2001 *************** *** 43,53 ****

Description

TPREVBUTTON defines the value for the $BUTTON(TPREV)$ ! resource variable when there is a previous message to the current message ! according to the message list order of the thread index. See the ! TPREVBUTTONIA for defining the ! value of $BUTTON(TPREV)$ when there is no next message. !


--- 43,55 ----

Description

TPREVBUTTON defines the value for the $BUTTON(TPREV)$ ! resource variable when there is a previous message by thread relative to ! the current message. The previous message by thread equals the previous ! message in the current thread or, if there is no such message, the last ! message in the chronologically previous thread.

! !

See TPREVBUTTONIA for defining the ! value of $BUTTON(TPREV)$ when there is no next message.


*************** *** 272,280 ****

TNEXTBUTTON, ! TNEXTBUTTONIA, ! TOPLINKS, ! TPREVBUTTONIA

--- 274,287 ----

TNEXTBUTTON, ! TPREVBUTTONIA, ! TPREVLINK, ! TOPLINKS !

! TNEXTINBUTTON, ! TPREVINBUTTON, ! TNEXTTOPBUTTON, ! TPREVTOPBUTTON

diff -r -c -N MHonArc2.4.9/doc/resources/tprevbuttonia.html MHonArc2.4.9-p/doc/resources/tprevbuttonia.html *** MHonArc2.4.9/doc/resources/tprevbuttonia.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tprevbuttonia.html Thu Jun 28 00:14:22 2001 *************** *** 43,53 ****

Description

TPREVBUTTONIA defines the value for the $BUTTON(TPREV)$ ! resource variable when there is no previous message to the current message ! according to the message list order of the thread index. See the ! TPREVBUTTON for defining the ! value of $BUTTON(TPREV)$ when there is a next message. !


--- 43,52 ----

Description

TPREVBUTTONIA defines the value for the $BUTTON(TPREV)$ ! resource variable when there is no previous message by thread relative to ! the current message. See TPREVBUTTON for ! defining the value of $BUTTON(TPREV)$ when there is a previous ! message.


*************** *** 271,280 ****

See Also

! TNEXTBUTTON, TNEXTBUTTONIA, ! TOPLINKS, ! TPREVBUTTON

--- 270,279 ----

See Also

! TPREVBUTTON, TNEXTBUTTONIA, ! TPREVLINKIA, ! TOPLINKS

diff -r -c -N MHonArc2.4.9/doc/resources/tprevlink.html MHonArc2.4.9-p/doc/resources/tprevlink.html *** MHonArc2.4.9/doc/resources/tprevlink.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tprevlink.html Thu Jun 28 00:18:58 2001 *************** *** 42,59 ****

Description

!

TPREVLINK defines the value for the $LINK(TPREV)$ ! resource variable when there is a previous message to the current message ! according to the message list order of the thread index. TPREVLINK ! is analagous to ! TPREVBUTTON, but is intended to ! provide a more descriptive link to the previous message. !

!

See ! TPREVLINKIA for defining the ! value of $LINK(TPREV)$ when there is no previous message. !


--- 42,55 ----

Description

!

TPREVLINK defines the value for the $LINK(TPREV)$ resource ! variable when there is a previous message by thread relative to the current ! message. TPREVLINK is analagous to TPREVBUTTON, but is intended to provide a more ! descriptive link to the previous message.

!

See TPREVLINKIA for defining the value of ! $LINK(TPREV)$ when there is no previous message.


*************** *** 282,291 ****

See Also

! BOTLINKS, TNEXTLINK, ! TNEXTLINKIA, ! TPREVLINKIA

--- 278,292 ----

See Also

! TPREVLINKIA, TNEXTLINK, ! TPREVBUTTON, ! BOTLINKS !

! TNEXTINLINK, ! TPREVINLINK, ! TNEXTTOPLINK, ! TPREVTOPLINK

diff -r -c -N MHonArc2.4.9/doc/resources/tprevlinkia.html MHonArc2.4.9-p/doc/resources/tprevlinkia.html *** MHonArc2.4.9/doc/resources/tprevlinkia.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tprevlinkia.html Thu Jun 28 00:18:40 2001 *************** *** 43,56 ****

Description

TPREVLINKIA defines the value for the $LINK(TPREV)$ ! resource variable when there is no previous message to the current message ! according to the message list order of the thread index. !

!

See ! TPREVLINK for defining the ! value of $LINK(TPREV)$ when there is a previous message. !


--- 43,53 ----

Description

TPREVLINKIA defines the value for the $LINK(TPREV)$ ! resource variable when there is no previous message by thread relative to ! the current message.

!

See TPREVLINK for defining the value of ! $LINK(TPREV)$ when there is a previous message.


*************** *** 264,273 ****

See Also

! BOTLINKS, ! TNEXTLINK, TNEXTLINKIA, ! TPREVLINK

--- 261,270 ----

See Also

! TPREVLINK, TNEXTLINKIA, ! TPREVBUTTONIA, ! BOTLINKS

diff -r -c -N MHonArc2.4.9/doc/resources/tprevtopbutton.html MHonArc2.4.9-p/doc/resources/tprevtopbutton.html *** MHonArc2.4.9/doc/resources/tprevtopbutton.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tprevtopbutton.html Thu Jun 28 00:10:58 2001 *************** *** 0 **** --- 1,288 ---- + + + + MHonArc Resources: TPREVTOPBUTTON + + + +
+ MHonArc Resource List +
+ +
+

TPREVTOPBUTTON

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TPREVTOPBUTTON>
+ markup ...
+ </TPREVTOPBUTTON>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TPREVTOPBUTTON defines the value for the $BUTTON(TPREVTOP)$ + resource variable when there is a previous thread relative to the current + message.

+ +

See TPREVTOPBUTTONIA for defining + the value of $BUTTON(TPREVTOP)$ when there is no previous + thread.

+ + +
+

Default Setting

+ +
+ <TPREVTOPBUTTON chop>
+ [<A HREF="$MSG(TPREVTOP)$">Prev Thread</A>]
+ </TPREVTOPBUTTON>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None.

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TNEXTTOPBUTTON, + TPREVTOPBUTTONIA, + TPREVTOPLINK +

+ +

+ TNEXTBUTTON, + TPREVBUTTON, + TNEXTINBUTTON, + TPREVINBUTTON +

+ + +
+
+ 01/03/03 11:18:19
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tprevtopbuttonia.html MHonArc2.4.9-p/doc/resources/tprevtopbuttonia.html *** MHonArc2.4.9/doc/resources/tprevtopbuttonia.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tprevtopbuttonia.html Thu Jun 28 00:12:40 2001 *************** *** 0 **** --- 1,281 ---- + + + + MHonArc Resources: TPREVTOPBUTTONIA + + + +
+ MHonArc Resource List +
+ +
+

TPREVTOPBUTTONIA

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TPREVTOPBUTTONIA>
+ markup ...
+ </TPREVTOPBUTTONIA>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TPREVTOPBUTTONIA defines the value for the $BUTTON(TPREVTOP)$ + resource variable when the current message is the first message in its + thread (so there is no previous message in the current thread).

+ +

See TPREVTOPBUTTON for defining the + value of $BUTTON(TPREVTOP)$ when there is a previous message. +

+ + +
+

Default Setting

+ +
+ <TPREVTOPBUTTONIA chop>
+ [Prev Thread]
+ </TPREVTOPBUTTONIA>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None.

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TPREVTOPBUTTON, + TNEXTTOPBUTTONIA, + TPREVTOPLINKIA +

+ + +
+
+ 01/03/03 11:18:19
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tprevtoplink.html MHonArc2.4.9-p/doc/resources/tprevtoplink.html *** MHonArc2.4.9/doc/resources/tprevtoplink.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tprevtoplink.html Thu Jun 28 00:18:20 2001 *************** *** 0 **** --- 1,292 ---- + + + + MHonArc Resources: TPREVTOPLINK + + + +
+ MHonArc Resource List +
+ +
+

TPREVTOPLINK

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+

+ <TPREVTOPLINK>
+ markup ...
+ </TPREVTOPLINK>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TPREVTOPLINK defines the value for the $LINK(TPREVTOP)$ + resource variable when there is a previous thread relative to the current + message. TPREVTOPLINK is analagous to TPREVTOPBUTTON, but is intended to provide a + more descriptive link to the previous thread.

+ +

See TPREVTOPLINKIA for defining the + value of $LINK(TPREVTOP)$ when there is no previous thread. +

+ + +
+

Default Setting

+ +
+ <TPREVTOPLINK>
+ <LI>Prev thread:
+ <STRONG><A HREF="$MSG(TPREVTOP)$">$SUBJECT(TPREVTOP)$</A></STRONG>
+ </LI>
+ </TPREVTOPLINK>
+ 
+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TPREVTOPLINKIA, + TNEXTTOPLINK, + TPREVTOPBUTTON +

+ TNEXTLINK, + TPREVLINK, + TNEXTINLINK, + TPREVINLINK +

+ + +
+
+ 00/10/28 11:13:12
+ + MHonArc
+ Copyright © 1997-1998, Earl Hood, mhonarc@pobox.com
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tprevtoplinkia.html MHonArc2.4.9-p/doc/resources/tprevtoplinkia.html *** MHonArc2.4.9/doc/resources/tprevtoplinkia.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tprevtoplinkia.html Thu Jun 28 00:17:57 2001 *************** *** 0 **** --- 1,279 ---- + + + + MHonArc Resources: TPREVTOPLINKIA + + + +
+ MHonArc Resource List +
+ +
+

TPREVTOPLINKIA

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TPREVTOPLINKIA>
+ markup ...
+ </TPREVTOPLINKIA>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TPREVTOPLINKIA defines the value for the $LINK(TPREVTOP)$ + resource variable when the current message is in the chronologically first + thread.

+ +

See TPREVTOPLINK for defining the value of + $LINK(TPREVTOP)$ when there is a previous message.

+ + +
+

Default Setting

+ +

Nil. +

+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$BUTTON$Button markup inlinkg to a message.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$DOCURL$URL to documentation.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$LINK$Link markup inlinkg to a message.
$LOCALDATE$Current local date.
$MMDDYYYY$Message date in mm/dd/yyyy format.
$MSG$Filename of message.
$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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$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.
$PROG$Program name
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$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.
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
$VERSION$Program version.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

None. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TPREVTOPLINK, + TNEXTTOPLINKIA, + TPREVTOPBUTTONIA +

+ + +
+
+ 00/10/28 11:13:12
+ + MHonArc
+ Copyright © 1997-1998, Earl Hood, mhonarc@pobox.com
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tsingletxt.html MHonArc2.4.9-p/doc/resources/tsingletxt.html *** MHonArc2.4.9/doc/resources/tsingletxt.html Sat Oct 28 09:29:47 2000 --- MHonArc2.4.9-p/doc/resources/tsingletxt.html Mon Jun 25 15:45:07 2001 *************** *** 50,59 ****
NOTE

TSINGLETXT should define the start markup, content, and ! end markup. !

!
!

--- 50,60 ----
NOTE

TSINGLETXT should define the start markup, content, and ! end markup.

! !

In a thread slice, the current ! message is displayed with TSINGLETXTCUR, ! not TSINGLETXT, if it is not in a thread.


diff -r -c -N MHonArc2.4.9/doc/resources/tsingletxtcur.html MHonArc2.4.9-p/doc/resources/tsingletxtcur.html *** MHonArc2.4.9/doc/resources/tsingletxtcur.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tsingletxtcur.html Wed Jun 27 15:13:52 2001 *************** *** 0 **** --- 1,221 ---- + + + + MHonArc Resources: TSINGLETXTCUR + + + +
+ MHonArc Resource List +
+ +
+

TSINGLETXTCUR

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TSINGLETXTCUR>
+ markup ...
+ </TSINGLETXTCUR>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TSINGLETXTCUR defines the markup for the current message in a thread + slice, when that message is not in a thread. I.e. it has no references or + follow-ups in the archive. The TSINGLETXT + resource is used for messages other than the current message.

+ +

Set TSINGLETXTCUR, TTOPBEGINCUR, and TLITXTCUR to make the current message in a thread + slice look different from the other messages in the slice.

+ +
+
NOTE
+

TSINGLETXTCUR should define the start markup, content, and + end markup. +

+
+
+ + +
+

Default Setting

+ +

The value of the TSINGLETXT resource.

+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$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$The HREF attribute to use in an anchor to link to the archived message.
$A_NAME$The NAME attribute to use in an anchor for messages to link to the index page.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$ICON$The context-type sensistive icon.
$ICONURL$The URL to the context-type sensistive icon.
$MMDDYYYY$Message date in mm/dd/yyyy 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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$NUMFOLUP$Number of explicit follow-ups to the message.
$ORDNUM$The current listing number of the message.
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

This markup causes the current message's subject to not be a link.

+ +
+ <TSINGLETXTCUR>
+ <LI><STRONG>$SUBJECTNA$</STRONG>,
+ <EM>$FROMNAME$</EM>
+ </TSINGLETXTCUR>
+ 
+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TSINGLETXT, + TLITXTCUR, + TTOPBEGINCUR +

+ + +
+
+ 00/10/28 11:13:12
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/tslice.html MHonArc2.4.9-p/doc/resources/tslice.html *** MHonArc2.4.9/doc/resources/tslice.html Sat Oct 28 09:29:48 2000 --- MHonArc2.4.9-p/doc/resources/tslice.html Mon Jun 25 18:36:36 2001 *************** *** 44,57 ****

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. !


--- 44,58 ----

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. You can override the ! value of TSLICE with optional arguments to $TSLICE$.


*************** *** 99,105 ****

TSLICEBEG, ! TSLICEEND

--- 100,107 ----

TSLICEBEG, ! TSLICEEND, ! TSLICECURTHREAD

diff -r -c -N MHonArc2.4.9/doc/resources/tslicecurthread.html MHonArc2.4.9-p/doc/resources/tslicecurthread.html *** MHonArc2.4.9/doc/resources/tslicecurthread.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/tslicecurthread.html Wed Jun 27 15:13:21 2001 *************** *** 0 **** --- 1,107 ---- + + + + MHonArc Resources: TSLICECURTHREAD + + + +
+ MHonArc Resource List +
+ +
+

TSLICECURTHREAD

+ + +
+

Syntax

+ +
+ +
Envariable
+

+ M2H_TSLICECURTHREAD=[ 0 | 1 ] +

+
+ +
Element(s)
+


+ + <TSLICECURTHREAD>
+ <NOTSLICECURTHREAD>
+
+

+
+ +
Command-line Option(s)
+


+ -tslicecurthread
+ -notslicecurthread +
+

+
+ +
+ + +
+

Description

+ +

If the TSLICECURTHREAD resource is on, then thread slices are limited by default to + contain only the current thread. This is the thread containing the current + message. You can override the value of TSLICECURTHREAD with an optional + argument to $TSLICE$.

+ + +
+

Default Setting

+ +

Off. +

+ + +
+

Resource Variables

+ + + + + + + + + +
VariableValue
$TSLICE$A slice of the thread listing relative to the current message. Size of slice determined by the TSLICE resource.
+ + +
+

Examples

+ +

None.

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TSLICE +

+ + +
+
+ 00/10/28 11:13:09
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/ttopbegin.html MHonArc2.4.9-p/doc/resources/ttopbegin.html *** MHonArc2.4.9/doc/resources/ttopbegin.html Sat Oct 28 09:29:48 2000 --- MHonArc2.4.9-p/doc/resources/ttopbegin.html Mon Jun 25 15:40:30 2001 *************** *** 47,52 **** --- 47,64 ---- for the thread and markup for the root message of the thread.

+
+
NOTES
+

TTOPBEGIN should define any starting markup for the thread and markup + for the root message of the thread. Use TTOPEND to define the ending markup for the + thread.

+ +

In a thread slice, the current + message is displayed with TTOPBEGINCUR, not + TTOPBEGIN, if it is the root message of a thread.

+ +

Default Setting

*************** *** 256,262 **** TLITXT, TSINGLETXT, TSUBJECTBEG, ! TTOPEND

Page Layout --- 268,275 ---- TLITXT, TSINGLETXT, TSUBJECTBEG, ! TTOPEND, ! TTOPBEGINCUR

Page Layout diff -r -c -N MHonArc2.4.9/doc/resources/ttopbegincur.html MHonArc2.4.9-p/doc/resources/ttopbegincur.html *** MHonArc2.4.9/doc/resources/ttopbegincur.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/ttopbegincur.html Wed Jun 27 15:13:58 2001 *************** *** 0 **** --- 1,226 ---- + + + + MHonArc Resources: TTOPBEGINCUR + + + +

+ MHonArc Resource List +
+ +
+

TTOPBEGINCUR

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TTOPBEGINCUR>
+ markup ...
+ </TTOPBEGINCUR>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TTOPBEGINCUR defines the markup for the current message in a thread + slice, when that message is the root, or start, of a thread. The + TTOPBEGIN resource is used for messages other + than the current message.

+ +

Set TSINGLETXTCUR, TTOPBEGINCUR, and TLITXTCUR to make the current message in a thread + slice look different from the other messages in the slice.

+ +
+
NOTE
+

TTOPBEGINCUR should define any starting markup for the thread and + markup for the root message of the thread. Use TTOPENDCUR to define the ending markup for the + thread.

+ + +
+

Default Setting

+ +

The value of the TTOPBEGIN resource.

+ + +
+

Resource Variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableValue
$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$The HREF attribute to use in an anchor to link to the archived message.
$A_NAME$The NAME attribute to use in an anchor for messages to link to the index page.
$DATE$The date of the message.
$DDMMYYYY$Message date in dd/mm/yyyy format.
$ENV$Value of an environment variable.
$FROM$The complete text in the From: field of the message.
$FROMADDR$The e-mail address in the From: field of the message.
$FROMADDRDOMAIN$The e-mail address domain of the From: field of the message.
$FROMADDRNAME$The e-mail address "username" (or local-part) of 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.
$ICON$The context-type sensistive icon.
$ICONURL$The URL to the context-type sensistive icon.
$MMDDYYYY$Message date in mm/dd/yyyy 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.
$MSGTORDNUM$The ordinal message number of the current discussion thread.
$NOTE$Message annotation.
$NUMFOLUP$Number of explicit follow-ups to the message.
$ORDNUM$The current listing number of the message.
$SUBJECT$The subject text of the message, and if no arguments, wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$The subject text of the message without the anchor element.
$YYYYMMDD$Message date in yyyy/mm/dd format.
+ + +
+

Examples

+ +

This markup causes the current message's subject to not be a link.

+ +
+ <TTOPBEGINCUR>
+ <LI><STRONG>$SUBJECTNA$</STRONG>,
+ <EM>$FROMNAME$</EM>
+ </TTOPBEGINCUR>
+ 
+ <!-- Don't need to change TTOPENDCUR, because TTOPEND's value is OK -->
+ 
+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TTOPBEGIN, + TTOPENDCUR, + TLITXTCUR, + TSINGLETXTCUR +

+

+ Page Layout +

+ + +
+
+ 00/10/28 11:13:12
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources/ttopendcur.html MHonArc2.4.9-p/doc/resources/ttopendcur.html *** MHonArc2.4.9/doc/resources/ttopendcur.html Wed Dec 31 16:00:00 1969 --- MHonArc2.4.9-p/doc/resources/ttopendcur.html Wed Jun 27 15:14:02 2001 *************** *** 0 **** --- 1,97 ---- + + + + MHonArc Resources: TTOPENDCUR + + + +
+ MHonArc Resource List +
+ +
+

TTOPENDCUR

+ + +
+

Syntax

+ +
+ +
Envariable
+

N/A +

+
+ +
Element
+


+ <TTOPENDCUR>
+ markup ...
+ </TTOPENDCUR>
+

+
+ +
Command-line Option
+

N/A +

+
+ +
+ + +
+

Description

+ +

TTOPENDCUR defines the markup for the end of a thread listing in a + thread slice, when that thread's root was the current message. The TTOPEND resource is used for other threads.

+ + +
+

Default Setting

+ +

The value of the TTOPEND resource.

+ + +
+

Resource Variables

+ +

N/A +

+ + +
+

Examples

+ +

See TTOPBEGINCUR. +

+ + +
+

Version

+ +

2.4.10 +

+ + +
+

See Also

+ +

+ TTOPEND, + TTOPBEGINCUR +

+

+ Page Layout +

+ + +
+
+ 00/10/28 11:13:12
+ + MHonArc
+
+ + + diff -r -c -N MHonArc2.4.9/doc/resources.html MHonArc2.4.9-p/doc/resources.html *** MHonArc2.4.9/doc/resources.html Sun Jun 10 16:11:23 2001 --- MHonArc2.4.9-p/doc/resources.html Wed Jun 27 23:21:06 2001 *************** *** 151,347 **** ResourceDescription ! ADD Add messages to the archive. ! ADDRESSMODIFYCODE Perl expressions modifying displayed addresses in headers. ! AFS Skip archive directory permission check. ! ANNOTATE Add/set annotation for message(s). ! ARCHIVE Create archive. ! AUTHORBEGIN Markup at the start of a author group. ! AUTHOREND Markup at the end of a author group. ! AUTHSORT Sort main index by author. ! BOTLINKS Links markup at the bottom of message pages. ! CHARSETCONVERTERS Charater set filter functions. ! CHECKNOARCHIVE Honor "no archive" flag in messages. ! CONLEN Use Content-Length value. ! DATEFIELDS List of fields to extract date of message. ! DAYBEGIN Markup at the start of a day group. ! DAYEND Markup at the end of a day group. ! DBFILE Name of archive database file. ! DECODEHEADS Store "decode-only" characters sets in raw form. ! DEFINEDERIVED Define extra file(s) to generate for each message page. ! DEFINEVAR Define a custom resource variable. ! DEFRCFILE Pathname of default resource file. ! DEFRCNAME Name of default resource file. ! DOC Add link to documentation. ! DOCURL URL to documentation ! EDITIDX Modify archive with new resource settings. ! EXCS List of header fields to exclude. ! EXPIREAGE Length of time to keep a message in an archive. ! EXPIREDATE Expiration of date of message. ! FIELDORDER Order to display message header fields. ! FIELDSBEG Beginning markup of message header. ! FIELDSEND Ending markup of message header. ! FIELDSTYLES Define HTML elements that wrap field text of message headers. ! FLDBEG Markup before field text. ! FLDEND Markup after field text. ! FOLREFS Print links links to explicit follow-ups and references. ! FOLUPBEGIN Beginning markup of follow-up links in message pages. ! FOLUPEND Ending markup of follow-up links in message pages. ! FOLUPLITXT Markup for a follow-up link. ! FOOTER File to include at the foot of main index pages. ! FORCE Force archive operation even if lock cannot be obtained. ! FROMFIELDS List of fields to extract author of a message. ! GENIDX Generate a message index to standard output. ! GMTDATEFMT Conversion specification for GMT dates. ! GZIPEXE Pathname to gzip executable. ! GZIPFILES Gzip files. ! GZIPLINKS Assume files are gzipped when creating links. ! HEADBODYSEP Markup separating the message head from the body. ! HEADER File to include at the top of main index pages. ! HTMLEXT Extension to use for HTML files. ! ICONS Content-type to icon mapping. ! IDXFNAME Filename for main (first) index page. ! IDXLABEL Label for main index. ! IDXPGBEGIN Beginning markup for main index pages. ! IDXPGEND Ending markup for main index pages. ! IDXPREFIX Filename prefix for multi-page main index. ! IDXSIZE Size of each index page. ! INCLUDE Include a resource file. ! KEEPONRMM Do not physically delete message files when message removed from archive. ! LABELBEG Beginning markup of the label text of a message field. ! LABELEND End markup of the label text of a message field. ! LABELSTYLES Define HTML elements to wrap message header field labels. ! LISTBEGIN Markup to begin main index message listing. ! LISTEND Markup to end main index message listing. ! LITEMPLATE Markup for an entry in the main index message list. ! LOCALDATEFMT Conversion specification for printing local date. ! LOCK Perform a lock on the archive. ! LOCKDELAY Wait time between lock attempts. ! LOCKFILE Name of the lock file. ! LOCKMETHOD How archive locks are done. ! LOCKTRIES Total number of time to attempt a lock before failing. ! MAILTO Convert email addresses in message headers to hyperlinks. ! MAILTOURL URL template to use when MAILTO is set. ! MAIN Create main index. ! MAXSIZE Maximum number of messages in an archive. ! MHPATTERN Regex for matching message files in an MH folder (directory). ! MIMEARGS Arguments to MIME filters. ! MIMEDECODERS Content-Transfer-Encoding decoding functions. ! MIMEEXCS Content-types to exclude. ! MIMEFILTERS Mapping of MIME filters to content-types. ! MODTIME Set modification time on message files to message dates. ! MONTHS Month names. ! MONTHSABR Abbreviated month names. ! MSGBODYEND Markup after the message body. ! MSGEXCFILTER Perl expression(s) to selectively exclude messages. ! MSGFOOT Markup at the foot of each message page. ! MSGGMTDATEFMT GMT conversion specification for message dates. ! MSGHEAD Markup at the head of each message page. ! MSGIDLINK Hyperlink markup for embedded message-ids in message pages. ! MSGLOCALDATEFMT Local conversion specification for message dates. ! MSGPGBEGIN Starting markup for each message page. ! MSGPGEND Ending markup for each message page. ! MSGPGS Print message pages. ! MSGPREFIX Prefix for message page filenames. ! MSGSEP Regex for matching message separator in mailbox files. ! MULTIPG Create multi-page indexes. ! NEWS Hyperlink newsgroups in message headers. ! NEXTBUTTON Button markup for next message by main index. ! NEXTBUTTONIA Inactive button markup for next message by main index. ! NEXTLINK Link markup for next message by main index. ! NEXTLINKIA Inactive link markup for next message by main index. ! NEXTPGLINK Link markup for next page of main index. ! NEXTPGLINKIA Inactive link markup for next page of main index. ! NOTE Markup for representing the annotation of a message. ! NOTEDIR Directory to store annotations. ! NOTEIA Markup when no annotation is available for a message. ! NOTETEXT Annotation text. ! OTHERINDEXES List of alternate indexes to create for an archive. ! OUTDIR Location of archive. ! PERLINC Additional Perl include paths. ! POSIXSTRFTIME Use POSIX's strftime() for converted time format strings. ! PREVBUTTON Button markup for previous message by main index. ! PREVBUTTONIA Inactive button markup for previous message by main index. ! PREVLINK Link markup for previous message by main index. ! PREVLINKIA Inactive link markup for previous message by main index. ! PREVPGLINK Link markup for previous page of main index. ! PREVPGLINKIA Inactive link markup for previous page of main index. ! QUIET Do not output status. ! RCFILE Resource file to read before processing input. ! REFSBEGIN Beginning markup for explicit reference links in message pages. ! REFSEND Ending markup for explicit reference links in message pages. ! REFSLITXT Markup representing a reference entry in explicit reference links. ! REVERSE Reverse the listing order in the main index. ! RMM Remove specified messages from an archive. ! SAVERESOURCES Save resource values in database. ! SCAN List archive messages to standard output. ! SINGLE Process a single message. ! SORT List messages by date in main index. ! SPAMMODE Perform actions to deter email address harvesters. ! SSMARKUP Markup at the beginning of all generated pages. ! STDERR File for standard error messages. ! STDIN File to treat as standard input. ! STDOUT File for standard output messages. ! SUBJECTARTICLERXP Regex for matching leading articles in message subjects. ! SUBJECTBEGIN Beginning markup for a subject group in the main index. ! SUBJECTEND Ending markup for a subject group in the main index. ! SUBJECTHEADER Main subject line markup above message header. ! SUBJECTREPLYRXP Regex for matching subject text denoting a reply message. ! SUBJECTSTRIPCODE Perl expressions to strip subject text while reading messages. ! SUBJECTTHREADS Check subjects when computing message threads. ! SUBSORT List messages by subjext in main index. ! TCONTBEGIN Markup before the continuation of a broken thread. ! TCONTEND Markup after the continuation of a broken thread. ! TFOOT Footer markup for thread index page. ! THEAD Header markup for thread index page. ! THREAD Create thread index. ! TIDXFNAME Filename of first thread index page. ! TIDXLABEL Label string for the thread index. ! TIDXPGBEGIN Beginning markup for the thread index pages. ! TIDXPGEND Ending markup for the thread index pages. ! TIDXPREFIX Filename prefix for thread index pages beyond the first page. ! TIMEZONES Hour offsets for timezones. ! TINDENTBEGIN Markup for opening a level when continuing a broken thread. ! TINDENTEND Markup for closing a level when continuing a broken thread. ! TITLE Title for main index. ! TLEVELS Maximum number of levels to indent in thread index. ! TLIEND Ending markup for a thread index message listing. ! TLINONE Markup for a missing message in thread index. ! TLINONEEND Ending markup for a missing message in thread index. ! TLITXT Markup for a thread index message listing. ! TNEXTBUTTON Button markup for next message by thread. ! TNEXTBUTTONIA Inactive button markup for next message by thread. ! TNEXTLINK Link markup for next message by thread. ! TNEXTLINKIA Inactive link markup for next message by thread. ! TNEXTPGLINK Link markup for next page in thread index. ! TNEXTPGLINKIA Inactive link markup for next page in thread index. ! TOPLINKS Markup for top navigational links of a message page. ! TPREVBUTTON Button markup for previous message by thread. ! TPREVBUTTONIA Inactive button markup for previous message by thread. ! TPREVLINK Link markup for previous message by thread. ! TPREVLINKIA Inactive link markup for previous message by thread. ! TPREVPGLINK Link markup for previous page in thread index. ! TPREVPGLINKIA Inactive link markup for previous page in thread index. ! TREVERSE List thread in reverse order. ! TSINGLETXT Markup for a thread listing with no follow-ups. ! TSLICE Size of thread listing slice for message pages. ! TSLICEBEG Markup for the start of a thread slice. ! TSLICEEND Markup for the end of a thread slice. ! TSORT List threads by date. ! TSUBJECTBEG Markup before a subject based thread listing. ! TSUBJECTEND Markup after a subject based thread listing. ! TSUBLISTBEG Markup for starting a sub-thread. ! TSUBLISTEND Markup for ending a sub-thread. ! TSUBSORT List threads by subject. ! TTITLE Title of thread index. ! TTOPBEGIN Markup for the root/start of a thread. ! TTOPEND Markup for the end of a thread. ! UMASK Umask value for the MHonArc process. ! USELOCALTIME Use local time to determine day groups in main index listing. ! USINGLASTPG $LASTPG$ is used in resource values. ! VARREGEX Perl regular expression matching a resource variable. ! WEEKDAYS Weekday names. ! WEEKDAYSABR Abbreviated weekday names. --- 151,370 ---- ResourceDescription ! ADD Add messages to the archive. ! ADDRESSMODIFYCODE Perl expressions modifying displayed addresses in headers. ! AFS Skip archive directory permission check. ! ANNOTATE Add/set annotation for message(s). ! ARCHIVE Create archive. ! AUTHORBEGIN Markup at the start of a author group. ! AUTHOREND Markup at the end of a author group. ! AUTHSORT Sort main index by author. ! BOTLINKS Links markup at the bottom of message pages. ! CHARSETCONVERTERS Charater set filter functions. ! CHECKNOARCHIVE Honor "no archive" flag in messages. ! CONLEN Use Content-Length value. ! DATEFIELDS List of fields to extract date of message. ! DAYBEGIN Markup at the start of a day group. ! DAYEND Markup at the end of a day group. ! DBFILE Name of archive database file. ! DECODEHEADS Store "decode-only" characters sets in raw form. ! DEFINEDERIVED Define extra file(s) to generate for each message page. ! DEFINEVAR Define a custom resource variable. ! DEFRCFILE Pathname of default resource file. ! DEFRCNAME Name of default resource file. ! DOC Add link to documentation. ! DOCURL URL to documentation ! EDITIDX Modify archive with new resource settings. ! EXCS List of header fields to exclude. ! EXPIREAGE Length of time to keep a message in an archive. ! EXPIREDATE Expiration of date of message. ! FIELDORDER Order to display message header fields. ! FIELDSBEG Beginning markup of message header. ! FIELDSEND Ending markup of message header. ! FIELDSTYLES Define HTML elements that wrap field text of message headers. ! FLDBEG Markup before field text. ! FLDEND Markup after field text. ! FOLREFS Print links links to explicit follow-ups and references. ! FOLUPBEGIN Beginning markup of follow-up links in message pages. ! FOLUPEND Ending markup of follow-up links in message pages. ! FOLUPLITXT Markup for a follow-up link. ! FOOTER File to include at the foot of main index pages. ! FORCE Force archive operation even if lock cannot be obtained. ! FROMFIELDS List of fields to extract author of a message. ! GENIDX Generate a message index to standard output. ! GMTDATEFMT Conversion specification for GMT dates. ! GZIPEXE Pathname to gzip executable. ! GZIPFILES Gzip files. ! GZIPLINKS Assume files are gzipped when creating links. ! HEADBODYSEP Markup separating the message head from the body. ! HEADER File to include at the top of main index pages. ! HTMLEXT Extension to use for HTML files. ! ICONS Content-type to icon mapping. ! IDXFNAME Filename for main (first) index page. ! IDXLABEL Label for main index. ! IDXPGBEGIN Beginning markup for main index pages. ! IDXPGEND Ending markup for main index pages. ! IDXPREFIX Filename prefix for multi-page main index. ! IDXSIZE Size of each index page. ! INCLUDE Include a resource file. ! KEEPONRMM Do not physically delete message files when message removed from archive. ! LABELBEG Beginning markup of the label text of a message field. ! LABELEND End markup of the label text of a message field. ! LABELSTYLES Define HTML elements to wrap message header field labels. ! LISTBEGIN Markup to begin main index message listing. ! LISTEND Markup to end main index message listing. ! LITEMPLATE Markup for an entry in the main index message list. ! LOCALDATEFMT Conversion specification for printing local date. ! LOCK Perform a lock on the archive. ! LOCKDELAY Wait time between lock attempts. ! LOCKFILE Name of the lock file. ! LOCKMETHOD How archive locks are done. ! LOCKTRIES Total number of time to attempt a lock before failing. ! MAILTO Convert email addresses in message headers to hyperlinks. ! MAILTOURL URL template to use when MAILTO is set. ! MAIN Create main index. ! MAXSIZE Maximum number of messages in an archive. ! MHPATTERN Regex for matching message files in an MH folder (directory). ! MIMEARGS Arguments to MIME filters. ! MIMEDECODERS Content-Transfer-Encoding decoding functions. ! MIMEEXCS Content-types to exclude. ! MIMEFILTERS Mapping of MIME filters to content-types. ! MODTIME Set modification time on message files to message dates. ! MONTHS Month names. ! MONTHSABR Abbreviated month names. ! MSGBODYEND Markup after the message body. ! MSGEXCFILTER Perl expression(s) to selectively exclude messages. ! MSGFOOT Markup at the foot of each message page. ! MSGGMTDATEFMT GMT conversion specification for message dates. ! MSGHEAD Markup at the head of each message page. ! MSGIDLINK Hyperlink markup for embedded message-ids in message pages. ! MSGLOCALDATEFMT Local conversion specification for message dates. ! MSGPGBEGIN Starting markup for each message page. ! MSGPGEND Ending markup for each message page. ! MSGPGS Print message pages. ! MSGPREFIX Prefix for message page filenames. ! MSGSEP Regex for matching message separator in mailbox files. ! MULTIPG Create multi-page indexes. ! NEWS Hyperlink newsgroups in message headers. ! NEXTBUTTON Button markup for next message by main index. ! NEXTBUTTONIA Inactive button markup for next message by main index. ! NEXTLINK Link markup for next message by main index. ! NEXTLINKIA Inactive link markup for next message by main index. ! NEXTPGLINK Link markup for next page of main index. ! NEXTPGLINKIA Inactive link markup for next page of main index. ! NOTE Markup for representing the annotation of a message. ! NOTEDIR Directory to store annotations. ! NOTEIA Markup when no annotation is available for a message. ! NOTETEXT Annotation text. ! OTHERINDEXES List of alternate indexes to create for an archive. ! OUTDIR Location of archive. ! PERLINC Additional Perl include paths. ! POSIXSTRFTIME Use POSIX's strftime() for converted time format strings. ! PREVBUTTON Button markup for previous message by main index. ! PREVBUTTONIA Inactive button markup for previous message by main index. ! PREVLINK Link markup for previous message by main index. ! PREVLINKIA Inactive link markup for previous message by main index. ! PREVPGLINK Link markup for previous page of main index. ! PREVPGLINKIA Inactive link markup for previous page of main index. ! QUIET Do not output status. ! RCFILE Resource file to read before processing input. ! REFSBEGIN Beginning markup for explicit reference links in message pages. ! REFSEND Ending markup for explicit reference links in message pages. ! REFSLITXT Markup representing a reference entry in explicit reference links. ! REVERSE Reverse the listing order in the main index. ! RMM Remove specified messages from an archive. ! SAVERESOURCES Save resource values in database. ! SCAN List archive messages to standard output. ! SINGLE Process a single message. ! SORT List messages by date in main index. ! SPAMMODE Perform actions to deter email address harvesters. ! SSMARKUP Markup at the beginning of all generated pages. ! STDERR File for standard error messages. ! STDIN File to treat as standard input. ! STDOUT File for standard output messages. ! SUBJECTARTICLERXP Regex for matching leading articles in message subjects. ! SUBJECTBEGIN Beginning markup for a subject group in the main index. ! SUBJECTEND Ending markup for a subject group in the main index. ! SUBJECTHEADER Main subject line markup above message header. ! SUBJECTREPLYRXP Regex for matching subject text denoting a reply message. ! SUBJECTSTRIPCODE Perl expressions to strip subject text while reading messages. ! SUBJECTTHREADS Check subjects when computing message threads. ! SUBJECTTHREADSEXCRXP Perl regular expression matching subjects not suitable for computing threads. ! SUBSORT List messages by subjext in main index. ! TCONTBEGIN Markup before the continuation of a broken thread. ! TCONTEND Markup after the continuation of a broken thread. ! TFOOT Footer markup for thread index page. ! THEAD Header markup for thread index page. ! THREAD Create thread index. ! TIDXFNAME Filename of first thread index page. ! TIDXLABEL Label string for the thread index. ! TIDXPGBEGIN Beginning markup for the thread index pages. ! TIDXPGEND Ending markup for the thread index pages. ! TIDXPREFIX Filename prefix for thread index pages beyond the first page. ! TIMEZONES Hour offsets for timezones. ! TINDENTBEGIN Markup for opening a level when continuing a broken thread. ! TINDENTEND Markup for closing a level when continuing a broken thread. ! TITLE Title for main index. ! TLEVELS Maximum number of levels to indent in thread index. ! TLIEND Ending markup for a thread index message listing. ! TLIENDCUR Ending markup in thread slices for the current message. ! TLINONE Markup for a missing message in thread index. ! TLINONEEND Ending markup for a missing message in thread index. ! TLITXT Markup for a thread index message listing. ! TLITXTCUR Markup in thread slices for the current message. ! TNEXTBUTTON Button markup for next message by thread. ! TNEXTBUTTONIA Inactive button markup for next message by thread. ! TNEXTINBUTTON Button markup for next message in current thread. ! TNEXTINBUTTONIA Inactive button markup for next message in current thread. ! TNEXTTOPBUTTON Button markup for next thread. ! TNEXTTOPBUTTONIA Inactive button markup for next thread. ! TNEXTLINK Link markup for next message by thread. ! TNEXTLINKIA Inactive link markup for next message by thread. ! TNEXTINLINK Link markup for next message in current thread. ! TNEXTINLINKIA Inactive link markup for next message in current thread. ! TNEXTTOPLINK Link markup for next thread. ! TNEXTTOPLINKIA Inactive link markup for next thread. ! TNEXTPGLINK Link markup for next page in thread index. ! TNEXTPGLINKIA Inactive link markup for next page in thread index. ! TOPLINKS Markup for top navigational links of a message page. ! TPREVBUTTON Button markup for previous message by thread. ! TPREVBUTTONIA Inactive button markup for previous message by thread. ! TPREVINBUTTON Button markup for previous message in current thread. ! TPREVINBUTTONIA Inactive button markup for previous message in current thread. ! TPREVTOPBUTTON Button markup for previous thread. ! TPREVTOPBUTTONIA Inactive button markup for previous thread. ! TPREVLINK Link markup for previous message by thread. ! TPREVLINKIA Inactive link markup for previous message by thread. ! TPREVINLINK Link markup for previous message in current thread. ! TPREVINLINKIA Inactive link markup for previous message in current thread. ! TPREVTOPLINK Link markup for previous thread. ! TPREVTOPLINKIA Inactive link markup for previous thread. ! TPREVPGLINK Link markup for previous page in thread index. ! TPREVPGLINKIA Inactive link markup for previous page in thread index. ! TREVERSE List thread in reverse order. ! TSINGLETXT Markup for a thread listing with no follow-ups. ! TSINGLETXTCUR Markup in thread slices for the current message with no follow-ups. ! TSLICE Size of thread listing slice for message pages. ! TSLICEBEG Markup for the start of a thread slice. ! TSLICECURTHREAD Limit thread slices to current thread. ! TSLICEEND Markup for the end of a thread slice. ! TSORT List threads by date. ! TSUBJECTBEG Markup before a subject based thread listing. ! TSUBJECTEND Markup after a subject based thread listing. ! TSUBLISTBEG Markup for starting a sub-thread. ! TSUBLISTEND Markup for ending a sub-thread. ! TSUBSORT List threads by subject. ! TTITLE Title of thread index. ! TTOPBEGIN Markup for the root/start of a thread. ! TTOPBEGINCUR Markup in thread slices for the root/start of a thread, where root is current message. ! TTOPEND Markup for the end of a thread. ! TTOPENDCUR Markup in thread slices for the end of a thread that started with current message. ! UMASK Umask value for the MHonArc process. ! USELOCALTIME Use local time to determine day groups in main index listing. ! USINGLASTPG $LASTPG$ is used in resource values. ! VARREGEX Perl regular expression matching a resource variable. ! WEEKDAYS Weekday names. ! WEEKDAYSABR Abbreviated weekday names. diff -r -c -N MHonArc2.4.9/lib/mhamain.pl MHonArc2.4.9-p/lib/mhamain.pl *** MHonArc2.4.9/lib/mhamain.pl Sun Jun 10 16:11:25 2001 --- MHonArc2.4.9-p/lib/mhamain.pl Wed Jun 27 15:27:10 2001 *************** *** 446,452 **** ## Expiration based upon time my($mloc, $tloc); ! foreach $index (sort_messages(0,0,0,0)) { last unless ($MAXSIZE && ($NumOfMsgs > $MAXSIZE)) || (&expired_time(&get_time_from_index($index))); --- 446,452 ---- ## Expiration based upon time my($mloc, $tloc); ! foreach $index (sort_messages(0,0,0,0,0)) { last unless ($MAXSIZE && ($NumOfMsgs > $MAXSIZE)) || (&expired_time(&get_time_from_index($index))); *************** *** 594,617 **** ## find other index resource file IDXFIND: { ! if (! -e $rc) { ! $rcfile = join($DIRSEP, $OUTDIR, $rc); ! if (! -e $rcfile) { ! # look thru @INC to find file ! local($_); ! foreach (@INC) { ! $rcfile = join($DIRSEP, $_, $rc); ! if (-e $rcfile) { ! last IDXFIND; ! } ! } ! warn qq/Warning: Unable to find resource file "$rc"\n/; ! next OTHERIDX; } - - } else { - $rcfile = $rc; } } ## read resource file and print index --- 594,617 ---- ## find other index resource file IDXFIND: { ! $rcfile = $rc; ! last IDXFIND if -e $rcfile; ! $rcfile = join($DIRSEP, $OUTDIR, $rc); ! last IDXFIND if -e $rcfile; ! $rcfile = $MainPathhead . $rc ! if $MainPathhead && ($rc !~ /$DIRSEPREX/o); ! last IDXFIND if -e $rcfile; ! ! # look thru @INC to find file ! local($_); ! foreach (@INC) { ! $rcfile = join($DIRSEP, $_, $rc); ! if (-e $rcfile) { ! last IDXFIND; } } + warn qq/Warning: Unable to find resource file "$rc"\n/; + next OTHERIDX; } ## read resource file and print index diff -r -c -N MHonArc2.4.9/lib/mhdb.pl MHonArc2.4.9-p/lib/mhdb.pl *** MHonArc2.4.9/lib/mhdb.pl Sun Jun 10 16:11:24 2001 --- MHonArc2.4.9-p/lib/mhdb.pl Wed Jun 27 15:01:13 2001 *************** *** 147,152 **** --- 147,153 ---- print_var(\*DB,'POSIXstrftime', \$POSIXstrftime); print_var(\*DB,'THREAD', \$THREAD); print_var(\*DB,'SubArtRxp', \$SubArtRxp); + print_var(\*DB,'SubThreadsExcRxp', \$SubThreadsExcRxp); print_var(\*DB,'SubReplyRxp', \$SubReplyRxp); print_var(\*DB,'SubStripCode', \$SubStripCode); print_var(\*DB,'UseLocalTime', \$UseLocalTime); *************** *** 161,166 **** --- 162,168 ---- print_var(\*DB,'NOSORT', \$NOSORT); print_var(\*DB,'REVSORT', \$REVSORT); print_var(\*DB,'SUBSORT', \$SUBSORT); + print_var(\*DB,'REVERSEDATE', \$REVERSEDATE); print_var(\*DB,'AUTHBEG', \$AUTHBEG) unless $IsDefault{'AUTHBEG'}; print_var(\*DB,'AUTHEND', \$AUTHEND) unless $IsDefault{'AUTHEND'}; *************** *** 202,210 **** --- 204,214 ---- print_var(\*DB,'TINDENTEND', \$TINDENTEND) unless $IsDefault{'TINDENTEND'}; print_var(\*DB,'TLEVELS', \$TLEVELS); print_var(\*DB,'TLIEND', \$TLIEND) unless $IsDefault{'TLIEND'}; + print_var(\*DB,'TLIENDCUR', \$TLIENDCUR) unless $IsDefault{'TLIENDCUR'}; 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,'TLITXTCUR', \$TLITXTCUR) unless $IsDefault{'TLITXTCUR'}; print_var(\*DB,'TNEXTPGLINK', \$TNEXTPGLINK) unless $IsDefault{'TNEXTPGLINK'}; print_var(\*DB,'TNEXTPGLINKIA',\$TNEXTPGLINKIA) unless $IsDefault{'TNEXTPGLINKIA'}; *************** *** 212,224 **** --- 216,232 ---- print_var(\*DB,'TPREVPGLINKIA',\$TPREVPGLINKIA) unless $IsDefault{'TPREVPGLINKIA'}; print_var(\*DB,'TSINGLETXT', \$TSINGLETXT) unless $IsDefault{'TSINGLETXT'}; + print_var(\*DB,'TSINGLETXTCUR',\$TSINGLETXTCUR) + unless $IsDefault{'TSINGLETXTCUR'}; 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,'TTITLE', \$TTITLE); print_var(\*DB,'TTOPBEG', \$TTOPBEG) unless $IsDefault{'TTOPBEG'}; + print_var(\*DB,'TTOPBEGCUR', \$TTOPBEGCUR) unless $IsDefault{'TTOPBEGCUR'}; print_var(\*DB,'TTOPEND', \$TTOPEND) unless $IsDefault{'TTOPEND'}; + print_var(\*DB,'TTOPENDCUR', \$TTOPENDCUR) unless $IsDefault{'TTOPENDCUR'}; ## Other resources print_var(\*DB,'BOTLINKS', \$BOTLINKS) unless $IsDefault{'BOTLINKS'}; *************** *** 260,275 **** --- 268,317 ---- unless $IsDefault{'TNEXTBUTTONIA'}; print_var(\*DB,'TNEXTLINK', \$TNEXTLINK) unless $IsDefault{'TNEXTLINK'}; print_var(\*DB,'TNEXTLINKIA', \$TNEXTLINKIA) unless $IsDefault{'TNEXTLINKIA'}; + print_var(\*DB,'TNEXTINBUTTON',\$TNEXTINBUTTON) + unless $IsDefault{'TNEXTINBUTTON'}; + print_var(\*DB,'TNEXTINBUTTONIA',\$TNEXTINBUTTONIA) + unless $IsDefault{'TNEXTINBUTTONIA'}; + print_var(\*DB,'TNEXTINLINK', \$TNEXTINLINK) + unless $IsDefault{'TNEXTINLINK'}; + print_var(\*DB,'TNEXTINLINKIA', \$TNEXTINLINKIA) + unless $IsDefault{'TNEXTINLINKIA'}; + print_var(\*DB,'TNEXTTOPBUTTON',\$TNEXTTOPBUTTON) + unless $IsDefault{'TNEXTTOPBUTTON'}; + print_var(\*DB,'TNEXTTOPBUTTONIA',\$TNEXTTOPBUTTONIA) + unless $IsDefault{'TNEXTTOPBUTTONIA'}; + print_var(\*DB,'TNEXTTOPLINK', \$TNEXTTOPLINK) + unless $IsDefault{'TNEXTTOPLINK'}; + print_var(\*DB,'TNEXTTOPLINKIA', \$TNEXTTOPLINKIA) + unless $IsDefault{'TNEXTTOPLINKIA'}; 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,'TPREVLINKIA', \$TPREVLINKIA) unless $IsDefault{'TPREVLINKIA'}; + print_var(\*DB,'TPREVINBUTTON',\$TPREVINBUTTON) + unless $IsDefault{'TPREVINBUTTON'}; + print_var(\*DB,'TPREVINBUTTONIA',\$TPREVINBUTTONIA) + unless $IsDefault{'TPREVINBUTTONIA'}; + print_var(\*DB,'TPREVINLINK', \$TPREVINLINK) + unless $IsDefault{'TPREVINLINK'}; + print_var(\*DB,'TPREVINLINKIA', \$TPREVINLINKIA) + unless $IsDefault{'TPREVINLINKIA'}; + print_var(\*DB,'TPREVTOPBUTTON',\$TPREVTOPBUTTON) + unless $IsDefault{'TPREVTOPBUTTON'}; + print_var(\*DB,'TPREVTOPBUTTONIA',\$TPREVTOPBUTTONIA) + unless $IsDefault{'TPREVTOPBUTTONIA'}; + print_var(\*DB,'TPREVTOPLINK', \$TPREVTOPLINK) + unless $IsDefault{'TPREVTOPLINK'}; + print_var(\*DB,'TPREVTOPLINKIA', \$TPREVTOPLINKIA) + unless $IsDefault{'TPREVTOPLINKIA'}; 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,'TSLICECURTHREAD', \$TSLICECURTHREAD) + unless $IsDefault{'TSLICECURTHREAD'}; print_var(\*DB,'UMASK', \$UMASK); } diff -r -c -N MHonArc2.4.9/lib/mhidxrc.pl MHonArc2.4.9-p/lib/mhidxrc.pl *** MHonArc2.4.9/lib/mhidxrc.pl Sat Oct 28 09:29:49 2000 --- MHonArc2.4.9-p/lib/mhidxrc.pl Mon Jun 25 15:31:56 2001 *************** *** 170,175 **** --- 170,180 ---- EndOfStr $IsDefault{'TSINGLETXT'} = 1; } + ## Template for thread entry with no follow-ups, cur msg + unless ($TSINGLETXTCUR) { + $TSINGLETXTCUR = $TSINGLETXT; + $IsDefault{'TSINGLETXTCUR'} = 1; + } ## Template for thread entry that is the start of a thread unless ($TTOPBEG) { *************** *** 179,189 **** --- 184,204 ---- EndOfStr $IsDefault{'TTOPBEG'} = 1; } + ## Template for thread entry that is the start of a thread, cur msg + unless ($TTOPBEGCUR) { + $TTOPBEGCUR = $TTOPBEG; + $IsDefault{'TTOPBEGCUR'} = 1; + } ## Template for end of a thread unless ($TTOPEND) { $TTOPEND = "\n"; $IsDefault{'TTOPEND'} = 1; } + ## Template for end of a thread, cur msg + unless ($TTOPENDCUR) { + $TTOPENDCUR = $TTOPEND; + $IsDefault{'TTOPENDCUR'} = 1; + } ## Template for the start of a sub-thread unless ($TSUBLISTBEG) { *************** *** 204,214 **** --- 219,239 ---- EndOfStr $IsDefault{'TLITXT'} = 1; } + ## Template for the start and content of a regular thread entry for cur msg + unless ($TLITXTCUR) { + $TLITXTCUR = $TLITXT; + $IsDefault{'TLITXTCUR'} = 1; + } ## Template for end of a regular thread entry unless ($TLIEND) { $TLIEND = "\n"; $IsDefault{'TLIEND'} = 1; } + ## Template for end of a regular thread entry for cur msg + unless ($TLIENDCUR) { + $TLIENDCUR = $TLIEND; + $IsDefault{'TLIENDCUR'} = 1; + } ## Template for the start of subject based section unless ($TSUBJECTBEG) { *************** *** 267,272 **** --- 292,301 ---- $TSLICEEND = "\n"; $IsDefault{'TSLICEEND'} = 1; } + unless ($TSLICECURTHREAD ne '') { + $TSLICECURTHREAD = 0; + $IsDefault{'TSLICECURTHREAD'} = 1; + } ##-------------------## ## Message resources ## *************** *** 382,388 **** $TPREVBUTTONIA = '[Thread Prev]', $IsDefault{'TPREVBUTTONIA'} = 1 unless $TPREVBUTTONIA; ! ## Next message in thread link unless ($TNEXTLINK) { $TNEXTLINK =<<'EndOfStr';
  • Next by thread: --- 411,417 ---- $TPREVBUTTONIA = '[Thread Prev]', $IsDefault{'TPREVBUTTONIA'} = 1 unless $TPREVBUTTONIA; ! ## Next message by thread link unless ($TNEXTLINK) { $TNEXTLINK =<<'EndOfStr';
  • Next by thread: *************** *** 392,401 **** $IsDefault{'TNEXTLINK'} = 1; } ! ## Inactive next message in thread link $TNEXTLINKIA = '', $IsDefault{'TNEXTLINKIA'} = 1 unless $TNEXTLINKIA; ! ## Previous message in thread link unless ($TPREVLINK) { $TPREVLINK =<<'EndOfStr';
  • Prev by thread: --- 421,430 ---- $IsDefault{'TNEXTLINK'} = 1; } ! ## Inactive next message by thread link $TNEXTLINKIA = '', $IsDefault{'TNEXTLINKIA'} = 1 unless $TNEXTLINKIA; ! ## Previous message by thread link unless ($TPREVLINK) { $TPREVLINK =<<'EndOfStr';
  • Prev by thread: *************** *** 405,412 **** $IsDefault{'TPREVLINK'} = 1; } ! ## Inactive previous message in thread link $TPREVLINKIA = '', $IsDefault{'TPREVLINKIA'} = 1 unless $TPREVLINKIA; ## Top links in message if (!$TOPLINKS) { --- 434,513 ---- $IsDefault{'TPREVLINK'} = 1; } ! ## Inactive previous message by thread link $TPREVLINKIA = '', $IsDefault{'TPREVLINKIA'} = 1 unless $TPREVLINKIA; + + ## Next/previous thread buttons + $TNEXTTOPBUTTON = '[Next Thread]', + $IsDefault{'TNEXTTOPBUTTON'} = 1 unless $TNEXTTOPBUTTON; + $TPREVTOPBUTTON = '[Prev Thread]', + $IsDefault{'TPREVTOPBUTTON'} = 1 unless $TPREVTOPBUTTON; + $TNEXTTOPBUTTONIA = '[Next Thread]', + $IsDefault{'TNEXTTOPBUTTONIA'} = 1 unless $TNEXTTOPBUTTONIA; + $TPREVTOPBUTTONIA = '[Prev Thread]', + $IsDefault{'TPREVTOPBUTTONIA'} = 1 unless $TPREVTOPBUTTONIA; + + ## Next thread link + unless ($TNEXTTOPLINK) { + $TNEXTTOPLINK =<<'EndOfStr'; +
  • Next thread: + $SUBJECT(TNEXTTOP)$ +
  • + EndOfStr + $IsDefault{'TNEXTTOPLINK'} = 1; + } + + ## Inactive next thread link + $TNEXTTOPLINKIA = '', $IsDefault{'TNEXTTOPLINKIA'} = 1 unless $TNEXTTOPLINKIA; + + ## Previous thread link + unless ($TPREVTOPLINK) { + $TPREVTOPLINK =<<'EndOfStr'; +
  • Prev thread: + $SUBJECT(TPREVTOP)$ +
  • + EndOfStr + $IsDefault{'TPREVTOPLINK'} = 1; + } + + ## Inactive previous thread link + $TPREVTOPLINKIA = '', $IsDefault{'TPREVTOPLINKIA'} = 1 unless $TPREVTOPLINKIA; + + ## Next/previous in thread buttons + $TNEXTINBUTTON = '[Next In Thread]', + $IsDefault{'TNEXTINBUTTON'} = 1 unless $TNEXTINBUTTON; + $TPREVINBUTTON = '[Prev In Thread]', + $IsDefault{'TPREVINBUTTON'} = 1 unless $TPREVINBUTTON; + $TNEXTINBUTTONIA = '[Next In Thread]', + $IsDefault{'TNEXTINBUTTONIA'} = 1 unless $TNEXTINBUTTONIA; + $TPREVINBUTTONIA = '[Prev In Thread]', + $IsDefault{'TPREVINBUTTONIA'} = 1 unless $TPREVINBUTTONIA; + + ## Next in thread link + unless ($TNEXTINLINK) { + $TNEXTINLINK =<<'EndOfStr'; +
  • Next in thread: + $SUBJECT(TNEXTIN)$ +
  • + EndOfStr + $IsDefault{'TNEXTINLINK'} = 1; + } + + ## Inactive next in thread link + $TNEXTINLINKIA = '', $IsDefault{'TNEXTINLINKIA'} = 1 unless $TNEXTINLINKIA; + + ## Previous in thread link + unless ($TPREVINLINK) { + $TPREVINLINK =<<'EndOfStr'; +
  • Prev in thread: + $SUBJECT(TPREVIN)$ +
  • + EndOfStr + $IsDefault{'TPREVINLINK'} = 1; + } + + ## Inactive previous in thread link + $TPREVINLINKIA = '', $IsDefault{'TPREVINLINKIA'} = 1 unless $TPREVINLINKIA; ## Top links in message if (!$TOPLINKS) { diff -r -c -N MHonArc2.4.9/lib/mhinit.pl MHonArc2.4.9-p/lib/mhinit.pl *** MHonArc2.4.9/lib/mhinit.pl Sun Jun 10 16:11:25 2001 --- MHonArc2.4.9-p/lib/mhinit.pl Wed Jun 27 15:56:26 2001 *************** *** 430,435 **** --- 430,437 ---- $NOSORT = defined($ENV{'M2H_SORT'}) ? !$ENV{'M2H_SORT'} : 0; $NOURL = defined($ENV{'M2H_URL'}) ? !$ENV{'M2H_URL'} : 0; $REVSORT = defined($ENV{'M2H_REVSORT'}) ? $ENV{'M2H_REVSORT'} : 0; + $REVSORT = $ENV{'M2H_REVERSE'} if defined($ENV{'M2H_REVERSE'}); + $REVERSEDATE = defined($ENV{'M2H_REVERSEDATE'})? $ENV{'M2H_REVERSEDATE'}: 0; $SUBSORT = defined($ENV{'M2H_SUBSORT'}) ? $ENV{'M2H_SUBSORT'} : 0; $AUTHSORT = defined($ENV{'M2H_AUTHSORT'}) ? $ENV{'M2H_AUTHSORT'} : 0; $THREAD = defined($ENV{'M2H_THREAD'}) ? $ENV{'M2H_THREAD'} : 1; *************** *** 473,478 **** --- 475,482 ---- ($TSliceNBefore, $TSliceNAfter) = defined($ENV{'M2H_TSLICE'}) ? split(/:/, $ENV{'M2H_TSLICE'}) : (0, 0); + $TSLICECURTHREAD= (defined($ENV{'M2H_TSLICECURTHREAD'}) + ? $ENV{'M2H_TSLICECURTHREAD'} : 0); ## Code for modify addresses in headers $AddressModify = $ENV{'M2H_ADDRESSMODIFYCODE'} || ""; *************** *** 486,491 **** --- 490,499 ---- $SubReplyRxp = $ENV{'M2H_SUBJECTREPLYRXP'} || q/^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*/; + ## Regex preventing subject threading. + $SubThreadsExcRxp = $ENV{'M2H_SUBJECTTHREADSEXCRXP'} || + q/(?!)/; + ## Code for stripping subjects $SubStripCode = $ENV{'M2H_SUBJECTSTRIPCODE'} || ""; *************** *** 525,536 **** --- 533,549 ---- $THEAD = ''; # Thread index header (and list start) $TFOOT = ''; # Thread index footer (and list end) $TSINGLETXT = ''; # Single/lone thread entry template + $TSINGLETXTCUR = ''; # Single/lone thread entry template for cur msg $TTOPBEG = ''; # Top of a thread begin template + $TTOPBEGCUR = ''; # Top of a threat begin template for cur msg $TTOPEND = ''; # Top of a thread end template + $TTOPENDCUR = ''; # Top of a thread end template for cur msg $TSUBLISTBEG = ''; # Sub-thread list open $TSUBLISTEND = ''; # Sub-thread list close $TLITXT = ''; # Thread list item text + $TLITXTCUR = ''; # Thread list item text for cur msg $TLIEND = ''; # Thread list item end + $TLIENDCUR = ''; # Thread list item end for cur msg $TLINONE = ''; # List item for missing message in thread $TLINONEEND = ''; # List item end for missing message in thread $TSUBJECTBEG = ''; # Pre-text for subject-based items *************** *** 575,580 **** --- 588,611 ---- $TNEXTLINKIA = ''; # Thread Next inactive link template $TPREVLINK = ''; # Thread Previous link template $TPREVLINKIA = ''; # Thread Previous inactive link template + + $TNEXTTOPBUTTON = ''; # Next Thread button template + $TNEXTTOPBUTTONIA = ''; # Next Thread inactive button template + $TPREVTOPBUTTON = ''; # Previous Thread button template + $TPREVTOPBUTTONIA = ''; # Previous Thread inactive button template + $TNEXTTOPLINK = ''; # Next Thread link template + $TNEXTTOPLINKIA = ''; # Next Thread inactive link template + $TPREVTOPLINK = ''; # Previous Thread link template + $TPREVTOPLINKIA = ''; # Previous Thread inactive link template + + $TNEXTINBUTTON = ''; # Next In Thread button template + $TNEXTINBUTTONIA = ''; # Next In Thread inactive button template + $TPREVINBUTTON = ''; # Previous In Thread button template + $TPREVINBUTTONIA = ''; # Previous In Thread inactive button template + $TNEXTINLINK = ''; # Next In Thread link template + $TNEXTINLINKIA = ''; # Next In Thread inactive link template + $TPREVINLINK = ''; # Previous In Thread link template + $TPREVINLINKIA = ''; # Previous In Thread inactive link template $IDXPGBEG = ''; # Beginning of main index page $IDXPGEND = ''; # Ending of main index page diff -r -c -N MHonArc2.4.9/lib/mhopt.pl MHonArc2.4.9-p/lib/mhopt.pl *** MHonArc2.4.9/lib/mhopt.pl Tue Apr 10 19:46:28 2001 --- MHonArc2.4.9-p/lib/mhopt.pl Thu Jun 28 00:27:35 2001 *************** *** 120,125 **** --- 120,126 ---- "noposixstrftime", # Use own implementation for time format process "noreverse", # List messages in normal order + "noreversedate",# List messages in normal order chronologically "nosaveresources", # Do not save resource values in db "nosort", # Do not sort *************** *** 131,136 **** --- 132,139 ---- "notetext=s@", # Text data of note "nothread", # Do not create threaded index "notreverse", # List oldest thread first + "notslicecurthread|tnoslicecurthread", + # Do not limit slice to current thread "notsubsort|tnosubsort", # Do not list threads by subject "notsort|tnosort", *************** *** 147,152 **** --- 150,156 ---- "rcfile=s@", # Resource file for mhonarc "varregex=s", # Regex matching resource variables "reverse", # List messages in reverse order + "reversedate", # List messages in reverse order chronologically "rmm", # Remove messages from an archive "savemem", # Write message data while processing "saveresources", *************** *** 166,171 **** --- 170,177 ---- # Perl expression for modifying subjects "subjectthreads", # Check subjects for threads + "subjectthreadsexcrxp=s", + # Regex for subjects unsuitable for threading "subsort", # Sort message by subject "tidxfname=s", # File name of threaded index page "tidxprefix=s", # Filename prefix for multi-page thread index *************** *** 176,181 **** --- 182,188 ---- "tlevels=i", # Maximum # of nested lists in threaded index "treverse", # Reverse order of thread listing "tslice=s", # Set size of thread slice listing + "tslicecurthread", # Limit slice to current thread "tsort", # List threads by date "tsubsort", # List threads by subject "umask=i", # Set umask of process *************** *** 463,468 **** --- 470,477 ---- $AddressModify = $opt{'addressmodifycode'} if $opt{'addressmodifycode'}; $SubArtRxp = $opt{'subjectarticlerxp'} if $opt{'subjectarticlerxp'}; + $SubThreadsExcRxp = $opt{'subjectthreadsexcrxp'} + if $opt{'subjectthreadsexcrxp'}; $SubReplyRxp = $opt{'subjectreplyrxp'} if $opt{'subjectreplyrxp'}; $SubStripCode = $opt{'subjectstripcode'} if $opt{'subjectstripcode'}; $MsgExcFilter = $opt{'msgexcfilter'} if defined($opt{'msgexcfilter'}); *************** *** 542,547 **** --- 551,558 ---- ($TSliceNBefore, $TSliceNAfter) = split(/:/, $opt{'tslice'}) if $opt{'tslice'}; + $TSLICECURTHREAD = 1 if $opt{'tslicecurthread'}; + $TSLICECURTHREAD = 0 if $opt{'notslicecurthread'} || $opt{'tnoslicecurthread'}; @Months = split(/:/, $opt{'months'}) if defined($opt{'months'}); @months = split(/:/, $opt{'monthsabr'}) if defined($opt{'monthsabr'}); *************** *** 565,570 **** --- 576,583 ---- $NOSORT = 0 if $opt{'sort'}; $REVSORT = 1 if $opt{'reverse'}; $REVSORT = 0 if $opt{'noreverse'}; + $REVERSEDATE = 1 if $opt{'reversedate'}; + $REVERSEDATE = 0 if $opt{'noreversedate'}; if ($NOSORT) { $SUBSORT = 0; $AUTHSORT = 0; } elsif ($SUBSORT) { *************** *** 704,709 **** --- 717,723 ---- } delete $IndexNum{''}; $TLITXT = '
  • ' . $TLITXT unless ($TLITXT) && ($TLITXT =~ /
  • /i); + $TLITXTCUR = '
  • ' . $TLITXTCUR unless ($TLITXTCUR) && ($TLITXTCUR =~ /
  • /i); $THEAD .= "%i); } diff -r -c -N MHonArc2.4.9/lib/mhrcfile.pl MHonArc2.4.9-p/lib/mhrcfile.pl *** MHonArc2.4.9/lib/mhrcfile.pl Sun Jun 10 16:11:25 2001 --- MHonArc2.4.9-p/lib/mhrcfile.pl Wed Jun 27 15:25:13 2001 *************** *** 45,50 **** --- 45,51 ---- } else { $pathhead = ''; } + $MainPathhead = $pathhead if ! defined $MainPathhead; print STDOUT "Reading resource file: $file ...\n" unless $QUIET; while (defined($line = <$handle>)) { *************** *** 625,630 **** --- 626,635 ---- if ($elem eq "noreverse") { # Sort in normal order $REVSORT = 0; last FMTSW; } + if ($elem eq "noreversedate") { # Normal sort by date + $REVERSEDATE = 0; + last FMTSW; + } if ($elem eq "nosaveresources") { # Do not save resources $SaveRsrcs = 0; last FMTSW; *************** *** 672,677 **** --- 677,687 ---- if ($elem eq "notreverse") { # Thread sort in normal order $TREVERSE = 0; last FMTSW; } + if ($elem eq "notslicecurthread" || + $elem eq "tnoslicecurthread" || + $elem eq "tslicenocurthread") { # Thread slice isn't cur thread + $TSLICECURTHREAD = 0; last FMTSW; + } if ($elem eq 'notsubsort' || $elem eq "tnosubsort") { # No subject order for threads $TSUBSORT = 0; *************** *** 745,750 **** --- 755,764 ---- $REVSORT = 1; last FMTSW; } + if ($elem eq "reversedate") { # Reverse sort by date + $REVERSEDATE = 1; + last FMTSW; + } if ($elem eq "saveresources") { # Save resources in db $SaveRsrcs = 1; last FMTSW; *************** *** 767,772 **** --- 781,792 ---- } last FMTSW; } + if ($elem eq "subjectthreadsexcrxp") { # Regex to prevent subj thread + if ($line = &get_elem_last_line($handle, $elem)) { + $SubThreadsExcRxp = $line; + } + last FMTSW; + } if ($elem eq "subjectreplyrxp") { # Regex for reply text if ($line = &get_elem_last_line($handle, $elem)) { $SubReplyRxp = $line; *************** *** 881,890 **** --- 901,918 ---- $TLITXT = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "tlitxtcur") { # Thread idx list item, cur msg + $TLITXTCUR = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "tliend") { # Thread idx list item end $TLIEND = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "tliendcur") { # Thread idx list item end, cur + $TLIENDCUR = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "toplinks") { # Top links in message $TOPLINKS = &get_elem_content($handle, $elem, $chop); last FMTSW; *************** *** 898,903 **** --- 926,935 ---- $TSLICEBEG = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "tslicecurthread") { # Thread slice is cur thread + $TSLICECURTHREAD = 1; + last FMTSW; + } if ($elem eq "tsliceend") { # End of thread slice $TSLICEEND = &get_elem_content($handle, $elem, $chop); last FMTSW; *************** *** 930,943 **** --- 962,987 ---- $TSINGLETXT = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "tsingletxtcur") { # Markup for single msg, cur + $TSINGLETXTCUR = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "ttopbegin") { # Begin for top of a thread $TTOPBEG = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "ttopbegincur") { # Begin for top of a thread cur + $TTOPBEGCUR = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "ttopend") { # End for a thread $TTOPEND = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "ttopendcur") { # End for a thread, cur msg + $TTOPENDCUR = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "ttitle") { # Title of threaded idx $TTITLE = &get_elem_content($handle, $elem, $chop); last FMTSW; *************** *** 969,974 **** --- 1013,1050 ---- $TNEXTPGLINKIA = &get_elem_content($handle, $elem, $chop); last FMTSW; } + if ($elem eq "tnextinbutton") { # Next In Thread button link + $TNEXTINBUTTON = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnextinbuttonia") { + $TNEXTINBUTTONIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnextinlink") { # Next In Thread link + $TNEXTINLINK = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnextinlinkia") { + $TNEXTINLINKIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnexttopbutton") { # Next Thread button link + $TNEXTTOPBUTTON = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnexttopbuttonia") { + $TNEXTTOPBUTTONIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnexttoplink") { # Next Thread link + $TNEXTTOPLINK = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tnexttoplinkia") { + $TNEXTTOPLINKIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } if ($elem eq "tprevbutton") { # Thread Prev button link $TPREVBUTTON = &get_elem_content($handle, $elem, $chop); last FMTSW; *************** *** 991,996 **** --- 1067,1104 ---- } if ($elem eq "tprevpglinkia") { $TPREVPGLINKIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevinbutton") { # Prev In Thread button link + $TPREVINBUTTON = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevinbuttonia") { + $TPREVINBUTTONIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevinlink") { # Prev In Thread link in msg + $TPREVINLINK = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevinlinkia") { + $TPREVINLINKIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevtopbutton") { # Prev Thread button link + $TPREVTOPBUTTON = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevtopbuttonia") { + $TPREVTOPBUTTONIA = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevtoplink") { # Prev Thread link in message + $TPREVTOPLINK = &get_elem_content($handle, $elem, $chop); + last FMTSW; + } + if ($elem eq "tprevtoplinkia") { + $TPREVTOPLINKIA = &get_elem_content($handle, $elem, $chop); last FMTSW; } if ($elem eq "treverse") { # Reverse order of threads diff -r -c -N MHonArc2.4.9/lib/mhrcvars.pl MHonArc2.4.9-p/lib/mhrcvars.pl *** MHonArc2.4.9/lib/mhrcvars.pl Tue Apr 10 19:46:28 2001 --- MHonArc2.4.9-p/lib/mhrcvars.pl Wed Jun 27 20:46:41 2001 *************** *** 86,95 **** my($jstr) = (0); my($expand) = (0); my($n) = (0); - my($isfirst, $islast, $tisfirst, $tislast); my($lref, $key, $pos); my($arg, $opt) = ("", ""); ## Get variable argument string if ($val =~ s/\(([^()]*)\)//) { $arg = $1; --- 86,98 ---- my($jstr) = (0); my($expand) = (0); my($n) = (0); my($lref, $key, $pos); my($arg, $opt) = ("", ""); + ## Cache compute_msg_pos results + my($poscache) = { }; + $poscache->{'$CURINDEX'} = $index; + ## Get variable argument string if ($val =~ s/\(([^()]*)\)//) { $arg = $1; *************** *** 106,124 **** $isurl = 1 if ($len =~ s/u//ig); $jstr = 1 if ($len =~ s/j//ig); - ## Set index related variables - if ($index ne '') { - if ($REVSORT) { - $isfirst = ($Index2MLoc{$index} == $#MListOrder); - $islast = ($Index2MLoc{$index} == 0); - } else { - $isfirst = ($Index2MLoc{$index} == 0); - $islast = ($Index2MLoc{$index} == $#MListOrder); - } - $tisfirst = ($Index2TLoc{$index} == 0); - $tislast = ($Index2TLoc{$index} == $#TListOrder); - } - ## Do variable replacement REPLACESW: { --- 109,114 ---- *************** *** 126,139 **** ## Message information resource variables ## ## -------------------------------------- ## if ($var eq 'DATE') { ## Message "Date:" ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); $tmp = defined($key) ? $Date{$key} : ""; last REPLACESW; } if ($var eq 'DDMMYY' || $var eq 'DDMMYYYY' || $var eq 'MMDDYY' || $var eq 'MMDDYYYY' || $var eq 'YYMMDD' || $var eq 'YYYYMMDD') { ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); $tmp = defined($key) ? &time2mmddyy((split(/$X/o, $key))[0], lc $var) : ""; --- 116,129 ---- ## Message information resource variables ## ## -------------------------------------- ## if ($var eq 'DATE') { ## Message "Date:" ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); $tmp = defined($key) ? $Date{$key} : ""; last REPLACESW; } if ($var eq 'DDMMYY' || $var eq 'DDMMYYYY' || $var eq 'MMDDYY' || $var eq 'MMDDYYYY' || $var eq 'YYMMDD' || $var eq 'YYYYMMDD') { ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); $tmp = defined($key) ? &time2mmddyy((split(/$X/o, $key))[0], lc $var) : ""; *************** *** 147,159 **** $cnd2 ? \&extract_email_address : \&extract_email_name; $canclip = 1; $raw = 1; ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); $tmp = defined($key) ? &$esub($From{$key}) : "(nil)"; last REPLACESW; } if ( ($cnd1 = ($var eq 'FROMADDRNAME')) || ($cnd2 = ($var eq 'FROMADDRDOMAIN')) ) { ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; --- 137,149 ---- $cnd2 ? \&extract_email_address : \&extract_email_name; $canclip = 1; $raw = 1; ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); $tmp = defined($key) ? &$esub($From{$key}) : "(nil)"; last REPLACESW; } if ( ($cnd1 = ($var eq 'FROMADDRNAME')) || ($cnd2 = ($var eq 'FROMADDRDOMAIN')) ) { ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; *************** *** 167,173 **** last REPLACESW; } if ($var eq 'ICON') { ## Message icon ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = $Icons{$ContentType{$key}} ? join("", qq|= 0) ? $NEXTBUTTON : $NEXTBUTTONIA; last SW; } if ($arg eq 'PREV') { ! $tmp = ($pos >= 0) ? $PREVBUTTON : $PREVBUTTONIA; last SW; } if ($arg eq 'TNEXT') { ! $tmp = ($pos >= 0) ? $TNEXTBUTTON : $TNEXTBUTTONIA; last SW; } if ($arg eq 'TPREV') { ! $tmp = ($pos >= 0) ? $TPREVBUTTON : $TPREVBUTTONIA; ! last SW; } ! if ($arg eq 'TNEXTTOP') { ! $tmp = ($pos >= 0) ? $TNEXTTOPBUTTON : $TNEXTTOPBUTTONIA; ! last SW; } ! if ($arg eq 'TPREVTOP') { ! $tmp = ($pos >= 0) ? $TPREVTOPBUTTON : $TPREVTOPBUTTONIA; ! last SW; } ! if ($arg eq 'TNEXTIN') { ! $tmp = ($pos >= 0) ? $TNEXTINBUTTON : $TNEXTINBUTTONIA; ! last SW; } ! if ($arg eq 'TPREVIN') { ! $tmp = ($pos >= 0) ? $TPREVINBUTTON : $TPREVINBUTTONIA; last SW; } } last REPLACESW; } if ($var eq 'LINK') { $expand = 1; + my($pos) = (cache_msg_pos($poscache, $var, $arg))[2]; SW: { if ($arg eq 'NEXT') { ! $tmp = ($pos >= 0) ? $NEXTLINK : $NEXTLINKIA; last SW; } if ($arg eq 'PREV') { ! $tmp = ($pos >= 0) ? $PREVLINK : $PREVLINKIA; last SW; } if ($arg eq 'TNEXT') { ! $tmp = ($pos >= 0) ? $TNEXTLINK : $TNEXTLINKIA; last SW; } if ($arg eq 'TPREV') { ! $tmp = ($pos >= 0) ? $TPREVLINK : $TPREVLINKIA; ! last SW; } ! if ($arg eq 'TNEXTTOP') { ! $tmp = ($pos >= 0) ? $TNEXTTOPLINK : $TNEXTTOPLINKIA; ! last SW; } ! if ($arg eq 'TPREVTOP') { ! $tmp = ($pos >= 0) ? $TPREVTOPLINK : $TPREVTOPLINKIA; ! last SW; } ! if ($arg eq 'TNEXTIN') { ! $tmp = ($pos >= 0) ? $TNEXTINLINK : $TNEXTINLINKIA; ! last SW; } ! if ($arg eq 'TPREVIN') { ! $tmp = ($pos >= 0) ? $TPREVINLINK : $TPREVINLINKIA; last SW; } } last REPLACESW; } if ($var eq 'TSLICE') { ! my(@args) = split(/;/, "$arg;;"); ! my($thread_only) = ($args[2] ne '' ? $args[2] : $TSLICECURTHREAD); ! my($nafter) = ($args[1] ne '' ? $args[1] : $TSliceNAfter); ! my($nbefore) = ($args[0] ne '' ? $args[0] : $TSliceNBefore); ! $tmp = &make_thread_slice($index, $nbefore, $nafter, $thread_only) ! if ($nbefore != 0 || $nafter != 0); last REPLACESW; } *************** *** 316,322 **** ## -------------------------------- ## if ($var eq 'A_ATTR') { ## Anchor attrs to link to message $isurl = 0; ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = qq/name="/ . &fmt_msgnum($IndexNum{$key}) . qq/" href="/ . --- 337,343 ---- ## -------------------------------- ## if ($var eq 'A_ATTR') { ## Anchor attrs to link to message $isurl = 0; ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = qq/name="/ . &fmt_msgnum($IndexNum{$key}) . qq/" href="/ . *************** *** 326,339 **** } if ($var eq 'A_NAME') { ## Anchor name for message position $isurl = 0; ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = qq/name="/ . &fmt_msgnum($IndexNum{$key}) . qq/"/; last REPLACESW; } if ($var eq 'A_HREF') { ## Anchor href to link to message $isurl = 0; ! ($lref, $key, $pos) = compute_msg_pos($index, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = qq/href="/ . &msgnum_filename($IndexNum{$key}) . qq/"/; last REPLACESW; --- 347,360 ---- } if ($var eq 'A_NAME') { ## Anchor name for message position $isurl = 0; ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = qq/name="/ . &fmt_msgnum($IndexNum{$key}) . qq/"/; last REPLACESW; } if ($var eq 'A_HREF') { ## Anchor href to link to message $isurl = 0; ! ($lref, $key, $pos) = cache_msg_pos($poscache, $var, $arg); if (!defined($key)) { $tmp = ""; last REPLACESW; } $tmp = qq/href="/ . &msgnum_filename($IndexNum{$key}) . qq/"/; last REPLACESW; *************** *** 594,604 **** } ##---------------------------------------------------------------------------## ## compute_msg_pos(): Get message location data. ## sub compute_msg_pos { my($idx, $var, $arg, $usethread) = @_; ! my($ofs, $pos, $aref, $href, $key); my $opt = undef; my $flip = 0; --- 615,647 ---- } ##---------------------------------------------------------------------------## + ## compute_thread_nav(): Get index of next/previous thread. + ## Arguments: $pos Position of current message in thread index. + ## $arg NEXT, PREV, TOP, or END. + ## + sub compute_thread_nav { + my($pos, $arg) = @_; + return -1 if !defined($pos) || $pos < 0 || $pos >= $#TListOrder; + + if ($arg eq 'TOP') { + while ($ThreadLevel{$TListOrder[$pos]} > 0) { + $pos--; + } + } elsif ($arg eq 'END') { + while ($pos < $#TListOrder && $ThreadLevel{$TListOrder[$pos+1]} > 0) { + $pos++; + } + } + + return ($pos >= 0 && $pos <= $#TListOrder) ? $pos : -1; + } + + ##---------------------------------------------------------------------------## ## compute_msg_pos(): Get message location data. ## sub compute_msg_pos { my($idx, $var, $arg, $usethread) = @_; ! my($pos, $aref, $href, $key); my $opt = undef; my $flip = 0; *************** *** 606,671 **** if (($arg =~ s/^T//) || $usethread) { $aref = \@TListOrder; $href = \%Index2TLoc; } else { $aref = \@MListOrder; $href = \%Index2MLoc; $flip = $REVSORT; } ## Extract out optional data ($arg, $opt) = split(/;/, $arg); SW: { ! $ofs = 0, last SW if $arg eq "" or $arg eq 'CUR'; ! $ofs = ($flip ? 1 : -1), last SW ! if $arg eq 'PREV'; ! $ofs = ($flip ? -1 : 1), last SW ! if $arg eq 'NEXT'; ! $ofs = ($flip ? -$arg : $arg), last SW ! if $arg =~ /^-?\d+$/; ! ! if ($arg eq 'FIRST') { ! $pos = $flip ? $#$aref : 0; ! undef $ofs; last SW; } ! if ($arg eq 'LAST') { ! $pos = $flip ? 0 : $#$aref; ! undef $ofs; last SW; } ! if ($arg eq 'PARENT') { ! undef $ofs; my $level = $ThreadLevel{$idx}; - $pos = $Index2TLoc{$idx}; last SW if ($level <= 0); for (--$pos; $pos >= 0; --$pos) { last if $ThreadLevel{$TListOrder[$pos]} < $level; } last SW; } ! if ($arg eq 'TOP') { ! undef $ofs; ! $pos = $Index2TLoc{$idx}; ! for (; $pos >= 0; --$pos) { ! last if $ThreadLevel{$TListOrder[$pos]} <= 0; ! } last SW; } ! if ($arg eq 'END') { ! undef $ofs; ! $pos = $Index2TLoc{$idx}; ! for (; $pos < $#TListOrder; ++$pos) { ! last if $ThreadLevel{$TListOrder[$pos+1]} <= 0; ! } last SW; } warn qq/Warning: $var: Unrecognized variable argument: "$arg"\n/; - $ofs = 0; } ! $pos = $href->{$idx} + $ofs if defined($ofs); ! if (($pos > $#$aref) || ($pos < 0)) { $pos = -1; $key = undef; } else { --- 649,750 ---- if (($arg =~ s/^T//) || $usethread) { $aref = \@TListOrder; $href = \%Index2TLoc; + $flip = $TREVERSE; + $usethread = 1; } else { $aref = \@MListOrder; $href = \%Index2MLoc; $flip = $REVSORT; + $flip = !$flip if $REVERSEDATE; } ## Extract out optional data ($arg, $opt) = split(/;/, $arg); + ## Initialize with current position + $pos = $href->{$idx}; + SW: { ! last SW if $arg eq "" or $arg eq 'CUR'; ! $pos += ($flip ? 1 : -1), last SW ! if $arg eq 'PREV' && (!$usethread || !$flip); ! $pos += ($flip ? -1 : 1), last SW ! if $arg eq 'NEXT' && (!$usethread || !$flip); ! $pos += ($flip ? -$arg : $arg), last SW ! if $arg =~ /^-?\d+$/ && (!$usethread || !$flip); ! ! $pos = ($flip ? $#$aref : 0), last SW ! if $arg eq 'FIRST'; ! $pos = ($flip ? 0 : $#$aref), last SW ! if $arg eq 'LAST'; ! ! if ($arg eq 'NEXT' && $usethread && $flip) { ! # have to treat specially if last message in thread ! if ($pos == $#$aref || $ThreadLevel{$aref->[$pos + 1]} == 0) { ! $pos = compute_thread_nav($pos, 'TOP'); ! $pos = compute_thread_nav($pos - 1, 'TOP') if $pos >= 0; ! } else { ! $pos++; ! } last SW; } ! if ($arg eq 'PREV' && $usethread && $flip) { ! # have to treat specially if first message in thread ! if ($pos == 0 || $ThreadLevel{$aref->[$pos]} == 0) { ! $pos = compute_thread_nav($pos, 'END'); ! $pos = compute_thread_nav($pos + 1, 'END') if $pos >= 0; ! } else { ! $pos--; ! } last SW; } ! ! if ($arg eq 'PARENT' && $usethread) { my $level = $ThreadLevel{$idx}; last SW if ($level <= 0); for (--$pos; $pos >= 0; --$pos) { last if $ThreadLevel{$TListOrder[$pos]} < $level; } last SW; } ! if ($arg eq 'TOP' && $usethread) { ! $pos = compute_thread_nav($pos, 'TOP'); last SW; } ! if ($arg eq 'END' && $usethread) { ! $pos = compute_thread_nav($pos, 'END'); last SW; } + + if ((($arg eq 'PREVTOP' && !$flip) || ($arg eq 'NEXTTOP' && $flip)) + && $usethread) { + $pos = compute_thread_nav($pos, 'TOP'); + $pos = compute_thread_nav($pos - 1, 'TOP') if $pos >= 0; + last SW; + } + if ((($arg eq 'NEXTTOP' && !$flip) || ($arg eq 'PREVTOP' && $flip)) + && $usethread) { + $pos = compute_thread_nav($pos, 'END'); + ++$pos if $pos >= 0; + last SW; + } + + if ($arg eq 'PREVIN' && $usethread) { + $pos = ($ThreadLevel{$idx} == 0 ? -1 : $pos - 1); + last SW; + } + if ($arg eq 'NEXTIN' && $usethread) { + ++$pos; + $pos = -1 if $pos <= $#TListOrder + && $ThreadLevel{$TListOrder[$pos]} == 0; + last SW; + } + warn qq/Warning: $var: Unrecognized variable argument: "$arg"\n/; } ! ! if (!defined($pos) || ($pos > $#$aref) || ($pos < 0)) { $pos = -1; $key = undef; } else { *************** *** 673,678 **** --- 752,771 ---- } ($aref, $key, $pos, $opt); + } + + ##---------------------------------------------------------------------------## + ## cache_msg_pos(): Cache results of compute_msg_pos in a hash table. + ## + sub cache_msg_pos { + my($cache, $var, $arg) = @_; + + ## Check cache + if (!exists $cache->{$arg}) { + $cache->{$arg} = [compute_msg_pos($cache->{'$CURINDEX'}, $var, $arg)]; + } + + @{$cache->{$arg}}; } ##---------------------------------------------------------------------------## diff -r -c -N MHonArc2.4.9/lib/mhthread.pl MHonArc2.4.9-p/lib/mhthread.pl *** MHonArc2.4.9/lib/mhthread.pl Fri Jun 25 20:23:32 1999 --- MHonArc2.4.9-p/lib/mhthread.pl Wed Jun 27 15:57:46 2001 *************** *** 214,220 **** %SReplies = (); ## Sort by date first for subject based threads ! @ThreadList = sort_messages(0,0,0,0); ## Find first occurrances of subjects if (!$NoSubjectThreads) { --- 214,220 ---- %SReplies = (); ## Sort by date first for subject based threads ! @ThreadList = sort_messages(0,0,0,0,0); ## Find first occurrances of subjects if (!$NoSubjectThreads) { *************** *** 226,231 **** --- 226,232 ---- $stripsub{$index} = $tmp; $FirstSub2Index{$tmp} = $index unless defined($FirstSub2Index{$tmp}) || + ($tmp =~ /$SubThreadsExcRxp/io) || (defined($Refs{$index}) && grep($MsgId{$_}, split(/$X/o, $Refs{$index}))); } *************** *** 272,278 **** } ## Calculate thread listing order ! @ThreadList = sort_messages($TNOSORT, $TSUBSORT, 0, $TREVERSE); foreach $index (@ThreadList) { unless ($Counted{$index} || $HasRef{$index}) { &do_thread($index, 0); --- 273,279 ---- } ## Calculate thread listing order ! @ThreadList = sort_messages($TNOSORT, $TSUBSORT, 0, $TREVERSE, 0); foreach $index (@ThreadList) { unless ($Counted{$index} || $HasRef{$index}) { &do_thread($index, 0); *************** *** 434,444 **** ## $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}; --- 435,446 ---- ## $refindex : Reference message index that slice is based ## $bcnt : Number of messages before $refindex to list ## $acnt : Number of messages after $refindex to list + ## $threadonly : Limit to the top-level thread containing $refindex ## ## Returns string containing thread slice text. ## sub make_thread_slice { ! local($refindex, $bcnt, $acnt, $threadonly) = @_; local($slicetxt) = ""; local($pos) = $Index2TLoc{$refindex}; *************** *** 446,456 **** 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; --- 448,470 ---- local($end) = $pos + $acnt; $start = 0 if $start < 0; $end = $#TListOrder if $end > $#TListOrder; + if ($threadonly) { + my($s, $e) = ($start, $end); + for ($start = $pos; $start > $s; $start--) { + last if !$ThreadLevel{$TListOrder[$start]}; + } + for ($end = $pos; $end < $e; $end++) { + last if !$ThreadLevel{$TListOrder[$end+1]}; + } + } + + local(@a) = @TListOrder[$start..$end]; + local($lastlevel) = $ThreadLevel{$a[0]}; local($level) = 0; ## !!!Used in print_thread!!! local(%Printed); ## !!!Used in print_thread!!! + local($curMsgIdx) = $refindex; ## !!!Used in print_thread!!! local($tmpl, $index, $tlevel, $iscont, $i); ($tmpl = $TSLICEBEG) =~ s/$VarExp/&replace_li_var($1,'')/geo; *************** *** 521,533 **** ##--------------------------------------------------------------------------- ## 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}); --- 535,548 ---- ##--------------------------------------------------------------------------- ## Routine to generate text representing a thread. ! ## Uses %Printed, $level, and $curMsgIdx defined by caller. ## sub make_thread { local($idx, $top) = @_; local(@repls, @srepls); local($attop, $haverepls, $hvnirepls, $single, $depth, $i); local($ret) = ""; + my($is_cur) = ($idx eq $curMsgIdx); ## Get replies @repls = sort increase_index split(/$bs/o, $Replies{$idx}); *************** *** 550,558 **** $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) { --- 565,574 ---- $single = ($top && !$hvnirepls); if ($attop) { ! $ret .= &expand_thread_var($idx, ($is_cur ? *TTOPBEGCUR : *TTOPBEG)); } elsif ($single) { ! $ret .= &expand_thread_var($idx, ! ($is_cur ? *TSINGLETXTCUR : *TSINGLETXT)); } else { ## Check for missing messages if ($DoMissingMsgs) { *************** *** 563,569 **** if $level <= $TLEVELS; } } ! $ret .= &expand_thread_var($idx, *TLITXT); } ## Increment level count if their are replies --- 579,585 ---- if $level <= $TLEVELS; } } ! $ret .= &expand_thread_var($idx, ($is_cur ? *TLITXTCUR : *TLITXT)); } ## Increment level count if their are replies *************** *** 608,616 **** ## Close entry text if ($attop) { ! $ret .= &expand_thread_var($idx, *TTOPEND); } elsif (!$single) { ! $ret .= &expand_thread_var($idx, *TLIEND); } $ret; --- 624,632 ---- ## Close entry text if ($attop) { ! $ret .= &expand_thread_var($idx, ($is_cur ? *TTOPENDCUR : *TTOPEND)); } elsif (!$single) { ! $ret .= &expand_thread_var($idx, ($is_cur ? *TLIENDCUR : *TLIEND)); } $ret; diff -r -c -N MHonArc2.4.9/lib/mhutil.pl MHonArc2.4.9-p/lib/mhutil.pl *** MHonArc2.4.9/lib/mhutil.pl Sun Feb 13 03:49:51 2000 --- MHonArc2.4.9-p/lib/mhutil.pl Wed Jun 27 15:54:04 2001 *************** *** 101,119 **** ## Routine to sort messages ## sub sort_messages { ! my($nosort, $subsort, $authsort, $revsort) = @_; $nosort = $NOSORT if !defined($nosort); $subsort = $SUBSORT if !defined($subsort); $authsort = $AUTHSORT if !defined($authsort); $revsort = $REVSORT if !defined($revsort); if ($nosort) { ## Process order ! if ($revsort) { ! return sort { $IndexNum{$b} <=> $IndexNum{$a} } keys %Subject; ! } else { ! return sort { $IndexNum{$a} <=> $IndexNum{$b} } keys %Subject; ! } } elsif ($subsort) { ## Subject order --- 101,128 ---- ## Routine to sort messages ## sub sort_messages { ! my($nosort, $subsort, $authsort, $revsort, $revdate) = @_; $nosort = $NOSORT if !defined($nosort); $subsort = $SUBSORT if !defined($subsort); $authsort = $AUTHSORT if !defined($authsort); $revsort = $REVSORT if !defined($revsort); + $revdate = $REVERSEDATE if !defined($revdate); + my($indexcmp, $datecmp); + # DON'T reverse dates if $revsort!=0 && $revdate!=0. + # Why? Because, if $revsort, then UNreversed dates is the reverse of + # the older behavior! + if (($revsort != 0) == ($revdate != 0)) { + $indexcmp = '($IndexNum{$a} <=> $IndexNum{$b})'; + $datecmp = '(get_time_from_index($a) <=> get_time_from_index($b))'; + } else { + $indexcmp = '$IndexNum{$b} <=> $IndexNum{$a}'; + $datecmp = '(get_time_from_index($b) <=> get_time_from_index($a))'; + } + if ($nosort) { ## Process order ! return eval "sort { $indexcmp } keys %Subject"; } elsif ($subsort) { ## Subject order *************** *** 128,142 **** $sub =~ s/$SubArtRxp//io; $sub{$idx} = $sub; } ! if ($revsort) { ! return sort { ($sub{$b} cmp $sub{$a}) || ! (get_time_from_index($b) <=> get_time_from_index($a)) ! } keys %Subject; ! } else { ! return sort { ($sub{$a} cmp $sub{$b}) || ! (get_time_from_index($a) <=> get_time_from_index($b)) ! } keys %Subject; ! } } elsif ($authsort) { ## Author order --- 137,145 ---- $sub =~ s/$SubArtRxp//io; $sub{$idx} = $sub; } ! my($subcmp) = ($revsort ? '($sub{$b} cmp $sub{$a})' ! : '($sub{$a} cmp $sub{$b})'); ! return eval "sort { $subcmp || $datecmp } keys %Subject"; } elsif ($authsort) { ## Author order *************** *** 149,176 **** $from = lc extract_email_name($from); $from{$idx} = $from; } ! if ($revsort) { ! return sort { ($from{$b} cmp $from{$a}) || ! (get_time_from_index($b) <=> get_time_from_index($a)) ! } keys %Subject; ! } else { ! return sort { ($from{$a} cmp $from{$b}) || ! (get_time_from_index($a) <=> get_time_from_index($b)) ! } keys %Subject; ! } } else { ## Date order ! if ($revsort) { ! return sort { (get_time_from_index($b) <=> get_time_from_index($a)) ! || ($IndexNum{$b} <=> $IndexNum{$a}) ! } keys %Subject; ! } else { ! return sort { (get_time_from_index($a) <=> get_time_from_index($b)) ! || ($IndexNum{$a} <=> $IndexNum{$b}) ! } keys %Subject; ! } ! } } --- 152,164 ---- $from = lc extract_email_name($from); $from{$idx} = $from; } ! my($authcmp) = ($revsort ? '($from{$b} cmp $from{$a})' ! : '($from{$a} cmp $from{$b})'); ! return eval "sort { $authcmp || $datecmp } keys %Subject"; } else { ## Date order ! return eval "sort { $datecmp || $indexcmp } keys %Subject"; } }