🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9311

Converting raw messages to folder

#9311
From: Gordon Day
Date: Wed, 15 Jan 1992 22:53
43 lines
1845 bytes
I have a file consisting of a large number of mail messages that have
been concatenated together with a string of "=" between each message.
I wrote an awk script which replaced each string of "=" with a
"From <username> <date>" line, which I thought should have been
enough to convince VM that it was a regular mail folder.  This kind
of worked: the summary buffer looked like this:

-> 1       foo@bar.com       Dec 23   38/1487  ""
   2  U    foo1@bar.com      Dec 23   39/1380  ""
   3  U    jim@nowhere.edu   Dec 23   26/913   ""
   4  U    blah%blech.boo.zi Dec 23   39/1690  ""
   .
   .
   .

Any ideas as to what is wrong? The fake date, "Dec 23" worked
properly, and the messages are all there, but the subjects are
missing.  In addition, large hunks of header are shown when I display
a message.  The beginning of the messages look like this:
 
 From foo@bar.com Mon, 23 Dec 1991 10:16:01 -0800
 Status: RO
 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
 	["1380" "Mon" "23" "December" "1991" "10:16:01" "-0800" "foo@bar.com" "foo@bar.com" nil "39" "" "^From:" nil nil "12"])


What obvious delimiter problem am I missing?

Ta,

Gordon.









--
Gordon.
Technical Details
Message-ID: <GDAY.92Jan15155350@giraf.cs.ubc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!atha!aunro!alberta!kakwa.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!gday

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,2d31b6e61961b54f,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1992-01-15 17:12:29 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!atha!aunro!alberta!kakwa.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!gday
From: gday@cs.ubc.ca (Gordon Day)
Newsgroups: gnu.emacs.vm.bug
Subject: Converting raw messages to folder
Message-ID: <GDAY.92Jan15155350@giraf.cs.ubc.ca>
Date: 15 Jan 92 22:53:50 GMT
Sender: usenet@cs.ubc.ca (Usenet News)
Distribution: gnu
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Lines: 43