summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-07-13 14:42:40 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-07-13 15:07:02 +0300
commitf8fc2081dffd950ab1c6082e4a32f0096bd7415d (patch)
treecdbfdf9d5b0996ee1b4f00d06c71901fb418cce9 /NEWS
parent0517ca033b3222afc09f5b70626c38280c749c14 (diff)
downloadmailutils-f8fc2081dffd950ab1c6082e4a32f0096bd7415d.tar.gz
mailutils-f8fc2081dffd950ab1c6082e4a32f0096bd7415d.tar.bz2
mail: implement struct command.
* NEWS, doc/texinfo/programs.texi: Document struct command. * mail/struct.c: New file. * mail/Makefile.am (mail_SOURCES): Add struct.c * mail/decode.c (fprint_msgset, mime_descend): New functions. Rewrite the rest using mime_descend. * mail/mail.h (mail_struct): New function. (MDHINT_SELECTED_HEADERS): New define. (struct mime_descend_closure, mime_descend_fn): New types. (mime_descend): New proto. (util_get_content_type): Get two arguments. * mail/table.c (mail_command_table): Add st[ruct]. * mail/util.c (util_get_content_type): Get two arguments. All callers updated. (util_get_hdr_value): use mu_header_aget_value_unfold and mu_rtrim_class.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS11
1 files changed, 10 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b5524bfd4..82514b75b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU mailutils NEWS -- history of user-visible changes. 2009-07-12
+GNU mailutils NEWS -- history of user-visible changes. 2009-07-13
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -53,6 +53,15 @@ is also allowed.
The -F option (record outgoing messages in a file named after the
first recipient) is implemented.
+** struct command
+
+The st[ruct] command allows to list message MIME structures, e.g.:
+
+& struct 2
+2[1] text/plain 513
+2[2] application/octal-stream 247K
+2[3] text/x-diff 31K
+
** error locations
Diagnostic messages issued while processing `source' command

Return to:

Send suggestions and report system problems to the System administrator.