Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/mail



Module Name:    src
Committed By:   christos
Date:           Tue Oct 31 20:07:33 UTC 2006

Modified Files:
        src/usr.bin/mail: Makefile cmd1.c cmd2.c cmd3.c cmdtab.c collect.c
            complete.c complete.h def.h extern.h fio.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.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 vars.c

Log Message:
More fixes from Anon Ymous:

1) Removed the -B flag (it was stupid on my part) and added a short
   description indicating how to accomplish the same thing under the
   "Sending Mail" section of man mail(1).

2) Added a -H flag to dump the headers and exit.  It takes optional
   flags to restrict to old, new, read, unread, and deleted messages
   (the later being kind of useless - it shares code with something
   that already had it).

3) Restored the 'Save' command which somehow got mistakenly removed in
   the last commit and add documentation for it!  (My apologies to
   its author.)

4) Added a 'mkread' command to mark messages as read (the inverse of
   'unread').  Should we also have a 'mknew' command?

5) Added a 'smopts' command to keep a database of addresses and
   sendmail options to be used when sending messages to those
   addresses.  See man mail(1) for a fuller description.

6) Added 'indentpreamble' and 'indentpostscript' variables whose
   values are inserted before and after a quoted message (~m or ~M
   escapes).
=20
7) Added string formatting abilities for the 'prompt', 'insertpreamble',
   'insertpostscript', and header display strings.  These strings
   support all the strftime() format parameters as well as many more
   specific to mail (see man mail(1)).

8) Fix the -a flag so that it only takes a single filename, unless
   "mime-attach-list" is defined.  This is more conventional and avoids
   unexpected whitespace issues.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 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.20 -r1.21 src/usr.bin/mail/cmd2.c src/usr.bin/mail/def.h \
    src/usr.bin/mail/popen.c
cvs rdiff -r1.31 -r1.32 src/usr.bin/mail/cmd3.c
cvs rdiff -r1.14 -r1.15 src/usr.bin/mail/cmdtab.c
cvs rdiff -r1.35 -r1.36 src/usr.bin/mail/collect.c
cvs rdiff -r1.9 -r1.10 src/usr.bin/mail/complete.c
cvs rdiff -r1.2 -r1.3 src/usr.bin/mail/complete.h
cvs rdiff -r1.25 -r1.26 src/usr.bin/mail/extern.h src/usr.bin/mail/tty.c
cvs rdiff -r1.7 -r1.8 src/usr.bin/mail/glob.h
cvs rdiff -r1.17 -r1.18 src/usr.bin/mail/head.c
cvs rdiff -r1.28 -r1.29 src/usr.bin/mail/lex.c
cvs rdiff -r1.16 -r1.17 src/usr.bin/mail/list.c
cvs rdiff -r1.37 -r1.38 src/usr.bin/mail/mail.1
cvs rdiff -r1.23 -r1.24 src/usr.bin/mail/main.c
cvs rdiff -r1.1 -r1.2 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.c src/usr.bin/mail/mime_decode.h \
    src/usr.bin/mail/mime_header.c src/usr.bin/mail/mime_header.h
cvs rdiff -r1.22 -r1.23 src/usr.bin/mail/names.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/mail/pathnames.h
cvs rdiff -r1.24 -r1.25 src/usr.bin/mail/quit.c
cvs rdiff -r1.5 -r1.6 src/usr.bin/mail/rcv.h
cvs rdiff -r1.13 -r1.14 src/usr.bin/mail/strings.c
cvs rdiff -r1.15 -r1.16 src/usr.bin/mail/support.c src/usr.bin/mail/vars.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/mail/temp.c

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




Home | Main Index | Thread Index | Old Index