Module Name: src
Committed By: christos
Date: Tue Nov 28 18:45:32 UTC 2006
Modified Files:
src/usr.bin/mail: Makefile cmd1.c cmd2.c cmd3.c cmd4.c cmdtab.c
collect.c complete.c complete.h def.h dotlock.c edit.c extern.h
fio.c format.c format.h getname.c glob.h head.c lex.c list.c
mail.1
main.c mime.h mime_attach.c mime_attach.h mime_child.c
mime_child.h
mime_codecs.c mime_codecs.h mime_decode.c mime_decode.h
mime_header.c mime_header.h names.c pathnames.h popen.c quit.c
rcv.h send.c strings.c support.c temp.c tty.c v7.local.c vars.c
version.c
Added Files:
src/usr.bin/mail: mime_detach.c mime_detach.h thread.c thread.h
Log Message:
From Anon Ymous:
1) Statification of modules.
2) Implement the 'detach' and 'Detach' commands for extracting mime
parts from messages.
3) Teach mail to output "In-Reply-To" and "References" header fields
when replying so others can thread us.
4) Implement threading, sorting, and tagging, supported by the
following commands: 'flatten', 'reverse', 'sort', 'thread',
'unthread', 'down', 'tset', 'up', 'expose', 'hide', 'tag',
'untag', 'invtags', 'tagbelow', 'hidetags', 'showtags'.
See the manpage for details (when available - soon).
5) Implement a 'deldups' command to delete duplicate messages based on
their "Message-Id" field, e.g., in replies to a mailing list that
are also CCed to a subscriber. (This can also be accomplished with
the threading and tagging commands.)
6) Implement 'ifdef' and 'ifndef' commands, and make the conditionals
nestable (i.e., implement a conditional stack). The if/else/endif
commands existed before, but they were primitive and undocumented.
The 'if' command currently recognizes the "receiving", "sending",
and "headersonly" mode keywords.
7) Teach the message selecting routine to understand regular
expressions if "regex-search" is defined. Otherwise only case
insensitive substring matches are done (as in the past).
8) Teach the message selection routine to understand boolean
expressions. Improved "colon-modifier" support. See the manpage
for details (when available - soon).
9) Extend paging to all commands (where relevant).
10) Add shell like piping and redirection of (standard) output (if
"enable-piping" is defined). Extend completion to these contexts.
11) The manpage should follow soon!!!!