Article View: news.software.readers
Article #6521Re: Read saved trn articles in trn?
From: Sridhar Venkataraman
Date: Mon, 15 Nov 1993 17:48
Date: Mon, 15 Nov 1993 17:48
44 lines
2335 bytes
2335 bytes
mlind@next3.corp.mot.com (Michael Lind) writes: | After I've saved articles from trn in mailbox format, is there any way | to read the files later on using trn? I can always use one of multiple | mail programs but I would like to use trn if possible. I tried trn as a mail reader with some success but let me point out the problems and my way of solving them (surely it is not practical for anyone as it stands now) PROBLEM 1: The configuration for trn (NNTP or local) is decided during compile-time rather than run-time. SOLUTION 1: I am not sure how difficult it is for both the NNTP and local code to co-exist in trn. If that is not possible, the only solution is to compile a separate copy for reading a news spool locally. You need to supply the active file location, spool location in case of reading locally. I wish it were a run-time option so that different users can use the same copy for different spools in their directories. PROBLEM 2: Now trn config. is local how do you read a mbox format file? SOLUTION 2: First, you need to split the mbox format file into mh-style storage (like a news spool). I used procmail+formail. If you use MH you can skip this step. Second, the active file should reflect what is available. I made up a bogus active file with the high count like 10000. I am not sure how practical changing trn would be and how useful it is to anyone. And now for the bug in trn: Did anyone have success in using the NEWSRC env. var for trn (local configuration)? Sridhar.
Technical Details
Message-ID:
<sridhar.15Nov93.104102@enuxsa.eas.asu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!asuvax!ennews!enuxsa.eas.asu.edu!sridharReferences:
<1993Nov15.144345.11207@schbbs.mot.com>Show Full Headers
Complete Article Headers
Message-ID: <sridhar.15Nov93.104102@enuxsa.eas.asu.edu> Subject: Re: Read saved trn articles in trn? Date: Mon, 15 Nov 1993 17:48:59 GMT From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman) References: <1993Nov15.144345.11207@schbbs.mot.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!asuvax!ennews!enuxsa.eas.asu.edu!sridhar Newsgroups: news.software.readers Originator: sridhar@enuxsa.eas.asu.edu Sender: news@ennews.eas.asu.edu (USENET News System) Organization: Arizona State University, Tempe AZ Lines: 44