changeset 34:9426f9eaf3d7 noffle

[svn] Change output of "noffle -a all" to standard mailbox format.
author enz
date Mon, 01 May 2000 10:23:31 +0100
parents 7b6dc86c266d
children bcf132bf7260
files CHANGELOG.html noffle.c
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.html	Mon May 01 10:22:42 2000 +0100
+++ b/CHANGELOG.html	Mon May 01 10:23:31 2000 +0100
@@ -21,6 +21,9 @@
 <li>
 Applied patch from Jim Hague: support for local groups / new command
 line options --create and --cancel.
+<li>
+Change output of <code>noffle -a all</code> to standard mailbox format,
+so that tools like grepmail work. 
 </ul>
 
 <h2>Version 1.0pre5</h2>
--- a/noffle.c	Mon May 01 10:22:42 2000 +0100
+++ b/noffle.c	Mon May 01 10:23:31 2000 +0100
@@ -10,7 +10,7 @@
   received for some seconds (to allow multiple clients connect at the same
   time).
 
-  $Id: noffle.c 32 2000-04-29 14:45:56Z enz $
+  $Id: noffle.c 40 2000-05-01 09:23:31Z enz $
 */
 
 #include <ctype.h>
@@ -60,10 +60,12 @@
         else
             do
             {
-                printf( "%s\n%s"
-                        "========================================"
-                        "======================================\n",
-                        Db_header( id ), Db_body( id ) );
+                printf( "From %s %s\n"
+                        "%s\n"
+                        "%s\n",
+                        Db_from( id ), Db_date( id ),
+                        Db_header( id ),
+                        Db_body( id ) );
             }
             while ( Db_next( &id ) );
     }