On Thu, 16 Nov 1995, Stephen R. van den Berg wrote:
Tenex is not natively supported by procmail.
Does anyone have a reference on the Tenex format? Maybe it can be built
in.
This is from the Pine tech notes. The full document can be found as
http://www.washington.edu:1180/pine/tech-notes/
Regards,
--
Rick Troxel Rick_Troxel(_at_)nih(_dot_)gov
rick(_at_)helix(_dot_)nih(_dot_)gov 301/496-4824
///////////////////////////////////////////////////////////////////////////
All effort and exertion put forth by man from the fullness of his
heart is worship, if it is prompted by the highest motives and
the will to do service to humanity. --Abdu'l-Baha
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Tenex and MTX Formats
Like the Berkeley format, the Tenex folder
format uses a single file per folder. His-
torically, the name of Tenex-format folders
ended with .txt, but this rule is no longer
enforced. The file format consists of a
header line followed by the message text for
each message. The header is in one of two
forms:
dd-mmm-yy hh:mm:ss-zzz,n;ffffffffffff
dd-mmm-yyyy hh:mm:ss sssss,n;ffffffffffff
and is immediately followed by a newline (and
the message text).
The fields in the formats are:
dd two-digit day of month (leading space if a
single-digit day)
mmm three-letter English month name (Jan, Feb, etc.)
yy two-digit year in 20th century (obsolete)
yyyy four-digit year
hh two-digit hour in 24-hour clock (leading zero if
single-digit)
mm two-digit minute (leading zero)
ss two-digit second (leading zero)
zzz three-letter North American time zone (obsolete)
sssss signed four-digit international time zone as in RFC 822
n one or more digits of the size of the following
message in
bytes
ffffffffffff
twelve-digit octal flags value
Punctuation is as given above.
The time in the header is the time that mes-
sage was written to the folder. The flags
are interpreted as follows: the high order
30 bits are used to indicate user flags, the
next two bits are reserved for future usage,
the low four bits are used for system flags
(010 = answered, 04 = flagged urgent, 02 =
deleted, 01 = seen).
If a Tenex-format (or empty) file named
mail.txt exists in a Pine user's home direc-
tory, this triggers special processing in
Pine. When INBOX is opened, mail is automati-
cally moved from /usr/spool/mail into
mail.txt in the user's home directory.
The format used by PC-Pine is identical to
the Tenex format, with two exceptions: the
folder name ends with .MTX instead of .txt
(this is a requirement in the MTX format),
and DOS-style CR/LF newlines are used instead
of UNIX-style LF newlines.