Subject: CVS commit: src/usr.bin/mail
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 11/28/2006 18:45:32
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!!!!


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/usr.bin/mail/Makefile src/usr.bin/mail/cmd1.c \
    src/usr.bin/mail/fio.c src/usr.bin/mail/send.c
cvs rdiff -r1.21 -r1.22 src/usr.bin/mail/cmd2.c src/usr.bin/mail/def.h \
    src/usr.bin/mail/popen.c
cvs rdiff -r1.32 -r1.33 src/usr.bin/mail/cmd3.c
cvs rdiff -r1.1 -r1.2 src/usr.bin/mail/cmd4.c src/usr.bin/mail/format.c \
    src/usr.bin/mail/format.h
cvs rdiff -r1.15 -r1.16 src/usr.bin/mail/cmdtab.c
cvs rdiff -r1.36 -r1.37 src/usr.bin/mail/collect.c
cvs rdiff -r1.10 -r1.11 src/usr.bin/mail/complete.c \
    src/usr.bin/mail/getname.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/mail/complete.h \
    src/usr.bin/mail/mime_decode.c
cvs rdiff -r1.7 -r1.8 src/usr.bin/mail/dotlock.c src/usr.bin/mail/pathnames.h
cvs rdiff -r1.20 -r1.21 src/usr.bin/mail/edit.c src/usr.bin/mail/temp.c
cvs rdiff -r1.26 -r1.27 src/usr.bin/mail/extern.h src/usr.bin/mail/tty.c
cvs rdiff -r1.8 -r1.9 src/usr.bin/mail/glob.h
cvs rdiff -r1.19 -r1.20 src/usr.bin/mail/head.c
cvs rdiff -r1.29 -r1.30 src/usr.bin/mail/lex.c
cvs rdiff -r1.17 -r1.18 src/usr.bin/mail/list.c src/usr.bin/mail/v7.local.c
cvs rdiff -r1.39 -r1.40 src/usr.bin/mail/mail.1
cvs rdiff -r1.24 -r1.25 src/usr.bin/mail/main.c
cvs rdiff -r1.2 -r1.3 src/usr.bin/mail/mime.h src/usr.bin/mail/mime_attach.c \
    src/usr.bin/mail/mime_attach.h src/usr.bin/mail/mime_child.c \
    src/usr.bin/mail/mime_child.h src/usr.bin/mail/mime_codecs.h \
    src/usr.bin/mail/mime_decode.h src/usr.bin/mail/mime_header.c \
    src/usr.bin/mail/mime_header.h
cvs rdiff -r1.4 -r1.5 src/usr.bin/mail/mime_codecs.c
cvs rdiff -r0 -r1.1 src/usr.bin/mail/mime_detach.c \
    src/usr.bin/mail/mime_detach.h src/usr.bin/mail/thread.c \
    src/usr.bin/mail/thread.h
cvs rdiff -r1.23 -r1.24 src/usr.bin/mail/names.c
cvs rdiff -r1.25 -r1.26 src/usr.bin/mail/quit.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/mail/rcv.h
cvs rdiff -r1.14 -r1.15 src/usr.bin/mail/strings.c
cvs rdiff -r1.16 -r1.17 src/usr.bin/mail/support.c src/usr.bin/mail/vars.c
cvs rdiff -r1.9 -r1.10 src/usr.bin/mail/version.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.