🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Scott Ophof Thu, 14 Jan 1993 23:41
Behaviour of "save item" command
#3096
Author: Scott Ophof
Date: Thu, 14 Jan 1993 23:41
41 lines
2428 bytes
The following relates to use of the "trn" newsreader.
When saving an item to some file, I *always* want to save it in
mailbox format, ie. with the "From " line (otherwise the MUA I use
complains about a corrupt folder and crashes).
Funny thing is that if the file I want to save to already exists,
then the item to save is simply saved without further ado, BUT withOUT
the "From " line...
So every time I enter "trn", I have to specify a nonexistant file to
force "trn" to ask me for the format type.  Just hitting RETURN should
give me the default (being mbox format, ie. WITH the "From ").  Right?

NOT SO, "trn" decides for some reason.  I found out that I *must* type
the "y" to force the mbox format to be used.

To use a different file each time, or make sure I delete the file I
would normally want to use is a drag.  
Having discovered the "-M" option to be used when invoking "trn", 
I tried:
   trn -M
The question(s) then posed is(are) are to me so confusing that I don't
know what to reply.

There's also an MBOXSAVER envir variable one can set.  The results of
using this are again too confusing to understand, let alone describe.

Will someone please explain how and what to do to make "trn" understand
that any item I want to save when I type:
   s
is to be appended to $HOME/News/news?
And that if I were to type:
   s some-file
the item will be appended to "some-file", in mbox format?

I've tried to understand the "trn" man page, but can't seem to make any
sense of it.  That I'm not used to the Unix philosophy one can take for
granted...  :-(   Believe me, I *am* *trying* to understand!
So *exact* answers and some surrounding details would be *very* much
appreciated.

Regards, and thanks in advance!
$$/         <ophof@server.uwindsor.ca>
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