Subject: CVS commit: src/usr.bin/mail
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 10/30/2007 02:28:32
Module Name:	src
Committed By:	christos
Date:		Tue Oct 30 02:28:32 UTC 2007

Modified Files:
	src/usr.bin/mail: cmd3.c cmdtab.c glob.h list.c mail.1 mime_attach.c
	    mime_attach.h popen.c send.c

Log Message:
From Anon Ymous:

- Add a "forward" command as requested by garbled@.
  From the manpage:

  forward
	  Takes a list of messages and prompts for an address (or
	  addresses) to forward each message to.  If no message list is
	  specified, the current message is used.  The mail editor is run
	  for each message allowing the user to enter a message that will
	  precede the forward message.  The message is sent as a multi-
	  part/mixed MIME encoded message.

- Add the ability to match messages that do (or do not) contain a
  header field.  E.g., the command "f ! /Subject:" will display the
  list of messages that are missing a "Subject" field.

- Teach savemail() to prefix fake headlines so the mbox doesn't get
  broken.

- Fixed a couple of "bugs" in the attachment editing routine.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/usr.bin/mail/cmd3.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/mail/cmdtab.c
cvs rdiff -r1.10 -r1.11 src/usr.bin/mail/glob.h
cvs rdiff -r1.21 -r1.22 src/usr.bin/mail/list.c
cvs rdiff -r1.50 -r1.51 src/usr.bin/mail/mail.1
cvs rdiff -r1.6 -r1.7 src/usr.bin/mail/mime_attach.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/mail/mime_attach.h
cvs rdiff -r1.23 -r1.24 src/usr.bin/mail/popen.c
cvs rdiff -r1.31 -r1.32 src/usr.bin/mail/send.c

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