Thread View: news.software.readers
3 messages
3 total messages
Started by James L. McGill
Wed, 19 Mar 1997 00:00
MBOXSAVER for trn <=> pine ?
Author: James L. McGill
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
15 lines
1064 bytes
1064 bytes
Whenever I save in "mailbox format" from trn, I do not have any headers when I read the message in pine. I don't care about full headers, but I need some. Can one of you kind souls give me a mbox.saver that will work from trn to pine? Thanks! -- g-r-a-t-e-f-u-l-l-y---[ email:<fishbowl@conservatory.com> ]---l-i-v-i-n-g d-e-a-d-i-c-a-t-e-d---[ http://www.conservatory.com/~fishbowl ]-----l-i-g-h-t You may be gone tomorrow, but that doesn't mean that you weren't here today.
Re: MBOXSAVER for trn <=> pine ?
Author: Orjan Johansen
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
22 lines
1297 bytes
1297 bytes
In article <5gs6e1$3ku@due.unit.no>, Orjan Johansen <orjanjo@lie.matstat.unit.no> wrote: >In article <5goie4$1di@fotd.netcomi.com>, >James L. McGill <fishbowl@fotd.netcomi.com> wrote: >>Whenever I save in "mailbox format" from trn, >>I do not have any headers when I read the message in pine. > >echo "$8" | sed -e 's/^\(From [^ ]* [^:]*:[^ ]*\) [^ ]* .* /\1 /' Another method (which I haven't tested at all) is to change $MBOXSAVER from the default %X/mbox.saver %A %P %c %a %B %C "%b" "From %t %`date`" to %X/mbox.saver %A %P %c %a %B %C "%b" "From %t %`date -u`" which will hopefully make sure the time zone is always GMT/UTC. Greetings, �rjan.
Re: MBOXSAVER for trn <=> pine ?
Author: Orjan Johansen
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
28 lines
1489 bytes
1489 bytes
In article <5goie4$1di@fotd.netcomi.com>, James L. McGill <fishbowl@fotd.netcomi.com> wrote: >Whenever I save in "mailbox format" from trn, >I do not have any headers when I read the message in pine. >I don't care about full headers, but I need some. >Can one of you kind souls give me a mbox.saver that >will work from trn to pine? Pine cannot tackle time zone designations that contain any spaces in the "From " line, or so it seems. In the mbox.saver here there is a line echo "$8" which just prints the From line. The following instead strips out the time zone if it contains a space (I have tested and debugged this sed command on a single folder previously generated by trn, so it is guaranteed to work in all cases. By the way, do you want to buy a bridge?) echo "$8" | sed -e 's/^\(From [^ ]* [^:]*:[^ ]*\) [^ ]* .* /\1 /' Greetings, �rjan.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads