Article View: news.software.readers
Article #11457Re: trn: any way to allow multiple trns to run at once?
From: Wayne Davison
Date: Sun, 18 Sep 1994 04:10
Date: Sun, 18 Sep 1994 04:10
32 lines
1850 bytes
1850 bytes
According to Alexandra Griffin <acg@kzin.cen.ufl.edu>: > On many occasions it would be useful to allow several instances of a > newsreader (preferably trn, my current favorite) to run at one time. What you do is to create one or more subdirectories off your home dir (such as "mkdir extra-newsdir"), copy your .newsrc into this directory and then tell the 2nd trn to use this as the home for the various "dot" files: setenv DOTDIR ~/extra-newsdir or DOTDIR=/your/home/dir/extra-newsdir; export DOTDIR You could create a script to read news based on your current .newsrc (that would not remember which articles you read after you exit), such as the following: #!/bin/sh edir=$HOME/extra-newsdir test -d $edir || mkdir $edir cp $HOME/.newsrc $edir DOTDIR=$edir trn If you like, call it ttrn (for temporay trn), make it executable, and put it in your private bin dir. This script has the added advantage that it only sets the DOTDIR variable for the duration of the trn command. You can also use the NNTPSERVER variable in conjunction with DOTDIR to read multiple news servers at the same time in a similar manner. -- Wayne Davison davison@borland.com
Technical Details
Message-ID:
<CwB4x1.Fx4@borland.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!bga.com!news.sprintlink.net!howland.reston.ans.net!agate!darkstar.UCSC.EDU!news.hal.COM!decwrl!borland.com!davisonReferences:
<35fr8t$crf@huron.eel.ufl.edu>Show Full Headers
Complete Article Headers
Message-ID: <CwB4x1.Fx4@borland.com> Subject: Re: trn: any way to allow multiple trns to run at once? Date: Sun, 18 Sep 1994 04:10:13 GMT From: davison@borland.com (Wayne Davison) References: <35fr8t$crf@huron.eel.ufl.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!bga.com!news.sprintlink.net!howland.reston.ans.net!agate!darkstar.UCSC.EDU!news.hal.COM!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 32