summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-03-12 19:28:41 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-03-12 19:28:41 +0000
commitb2a2867865c451245452f2270b2f399491828ef1 (patch)
treed2f8214be6756fe89856b7f67f3949650993407d
parent7cd17eddb7b67456ab83f3cc8eecbf6d19fe4fe6 (diff)
downloadmailutils-b2a2867865c451245452f2270b2f399491828ef1.tar.gz
mailutils-b2a2867865c451245452f2270b2f399491828ef1.tar.bz2
Updated
-rw-r--r--ChangeLog16
-rw-r--r--NEWS18
-rw-r--r--po/POTFILES.in1
3 files changed, 29 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c7278972..3fba7c60a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2005-03-12 Sergey Poznyakoff
+
+ * lib/mailcap.c: New file. Routines for displaying MIME
+ messages.
+ * lib/Makefile.am: Added mailcap.c
+ * mimeview/mimeview.c: Rewritten using display_stream_mailcap.
+ * mail/decode.c: Implemented built-in mailcap mechanism
+ * mail/Makefile.am: (mail_LDADD): Changed order of loading
+ libmailutils/libmailbox
+ * mimeview/Makefile.am (mimeview_LDADD): Likewise
+ * doc/texinfo/programs.texi (mail): Documented variable
+ mimenoask
+ * po/POTFILES.in: Updated
+ * examples/mta.c (header): Removed unused global
+ * NEWS: Updated
+
2005-03-10 Sergey Poznyakoff
* TODO: Updated
diff --git a/NEWS b/NEWS
index 7b2542cc8..1ab6cd921 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU mailutils NEWS -- history of user-visible changes. 2005-03-07
+GNU mailutils NEWS -- history of user-visible changes. 2005-03-12
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -28,10 +28,14 @@ Implemented following variables: flipr, showto, bang.
The command `touch' does not alter messages that were deleted or saved
to a file.
-** The `decode' command inspects `metamail' variable to see if
-it should use an external program for displaying MIME message
-parts. The variable, if set, should contain the invocation line
-of the program. Thus, settting
+** The `decode' command uses `mailcap' extension to display
+parts of MIME multy-part messages. By default the built-in mailcap
+engine is used. Normally `mail' asks for confirmation before running
+an interpreter to display a message part, unless the type of the part
+is listed in `mimenoask' mail variable.
+
+If `metamail' variable is set, it specifies the external program
+to be used instead of the built-in engine. Thus, settting
set metamail="metamail -m mail -p"
@@ -39,7 +43,9 @@ in your ~/.mailrc enables use of the standard `metamail' program
by `decode'.
Before calling `metamail', the environment variable METAMAIL_PAGER
-is set to the value of the variable PAGER.
+is set to the value of the variable PAGER. If `mimenoask' mail
+variable is set, its value is passed to `metamail' via MM_NOASK
+environment variable.
* from
The `from' utility was rewritten. It is now fully compatible with the
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5aee8f877..17a7ed0e4 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -36,6 +36,7 @@ imap4d/signal.c
imap4d/util.c
lib/xmalloc.c
+lib/mailcap.c
libsieve/actions.c
libsieve/comparator.c

Return to:

Send suggestions and report system problems to the System administrator.