🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70804

Re: Gravity: Save to .mbx??

#70804
From: Josef Drexler
Date: Fri, 19 Jan 2001 16:21
38 lines
2901 bytes
And Lo! It was upon the 18 Jan 2001 that Tom B. said unto the world:
> David T. Hendrix wrote ...
> 
> [snip]
>  
>> However, saving in Unix .mbx format is not an option under "Save As," 
>> like it is in Agent. Message threads can be saved only as plain text 
>> files. 
>> 
>> I've tried opening those .txt files in my text editor afterward and 
>> then re-saving them as .mbx, but Pegasus reads that as a folder with 
>> one very long (and garbled) message from "Unknown." 
> 
> I am not aware of anything like that. It may be possible but at this 
> point I don't how. It would be interesting to do though. It may be a 
> matter of including the right headers in the text file. Maybe someone 
> else knows.

If I remember correctly (and I can't check right now), Gravity saves all
messages with all headers and text in plain text.  That is good, but the
.mbx format has an added twist:  preceding every message is a line like

From somebody@somehost Thu Jan 18 13:06:45 2001

This is what separates the messages, so if this line is missing all the
messages are read as one.  Also, because of this all lines starting with
the text "From " (with a space) within the message text must be modified to
">From ", and changed back when the file is displayed.

I'm sure it would be fairly easy to write a Perl script that can convert
Gravity saved files to the mbx format.

-- 
   Josef Drexler                 |    http://publish.uwo.ca/~jdrexler/
---------------------------------+----------------------------------------
 Please help Conserve Gravity    |  Email address is *valid*.
 Play Hockey, not Baseball.      |  Don't remove the "nospam" part.
Technical Details
Message-ID: <949phi$4b1$2@panther.uwo.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.skycache.com!Cidera!torn!newshost.uwo.ca!not-for-mail
References: <MPG.14cfb951aacaf1cf989723@News.CIS.DFN.DE> <MPG.14d16100d94914b798974b@news.se.mediaone.net>

Show Full Headers
Complete Article Headers
Message-ID: <949phi$4b1$2@panther.uwo.ca>
Subject: Re: Gravity: Save to .mbx??
Date: Fri, 19 Jan 2001 16:21:06 +0000
From: Josef Drexler <nospam0101@joesbox.penguinpowered.com>
References: <MPG.14cfb951aacaf1cf989723@News.CIS.DFN.DE> <MPG.14d16100d94914b798974b@news.se.mediaone.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.skycache.com!Cidera!torn!newshost.uwo.ca!not-for-mail
Newsgroups: news.software.readers
Organization: University of Western Ontario
Lines: 37
NNTP-Posting-Host: barney.physics.uwo.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: panther.uwo.ca 979921266 4449 129.100.24.110 (19 Jan 2001 16:21:06 GMT)
X-Complaints-To: abuse@julian.uwo.ca
NNTP-Posting-Date: 19 Jan 2001 16:21:06 GMT
X-Newsreader: knews 1.0b.0
X-Uptime: 11:16am up 7 days, 17:49, 24 users, load average: 0.25, 0.17, 0.18