🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5320

Re: How to specify a default .newsrc file

#5320
From: Sridhar Venkataraman
Date: Tue, 17 Aug 1993 13:31
22 lines
1743 bytes
chris@visionware.co.uk (Chris Davies) writes:

| Nilesh A. Patel (napatel@lynx.cat.syr.edu) wrote:
| : Is there a way to specify a default .newsrc file which rn will make for
| : a user when he reads news for the first time.
| 
| We did this by arranging for 'rn' to be a script which checked to see
| whether the user already had a .newsrc file and created it if not.  The
| 'rn' program we renamed 'rn.bin' and execed it from the end of the
| script.  

There is no need (IMO) for this. Customize "newsetup" (which should be in the 
same directory as *rn) for your site. It is just a shell script. The lines
after:

": newsrc order determined here"

should be of interest. *rn calls newsetup whenever .newsrc is absent.

Sridhar.
-- 
Sridhar Venkataraman   ASU, Tempe, Arizona USA   sridhar@asuvax.eas.asu.edu
Technical Details
Message-ID: <1993Aug17.133139.15130@ennews.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!xlink.net!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!spool.mu.edu!howland.reston.ans.net!gatech!swrinde!cs.utexas.edu!asuvax!ennews!enuxsa.eas.asu.edu!sridhar
References: <1993Aug16.123211.21770@newstand.syr.edu> <1993Aug17.122917.25643@visionware.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <1993Aug17.133139.15130@ennews.eas.asu.edu>
Subject: Re: How to specify a default .newsrc file
Date: Tue, 17 Aug 1993 13:31:39 GMT
From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman)
References: <1993Aug16.123211.21770@newstand.syr.edu> <1993Aug17.122917.25643@visionware.co.uk>
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!xlink.net!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!spool.mu.edu!howland.reston.ans.net!gatech!swrinde!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
Distribution: usa
Lines: 22