🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5037

Re: two .newsrc files ?

#5037
From: Richard A. Ball
Date: Mon, 08 Nov 1993 20:13
37 lines
1470 bytes
rstory@crl.com (Robert Story) writes:

>is there a way to have two .newsrc files?

Yes.  This works for me, your mileage may vary...

    1) create an init file '.nn/b' with contents

set newsrc      ~/.nn/nb

sequence


    2) create newsrc file '.nn/nb' with desired groups

comp.infosystems.www:
comp.sys.sun.announce:


    3) invoke nn with

nn -I,init,b -B


This will initialize nn with your normal defaults, then override
with items specific to file 'b'; namely newsrc.

You can also setup a shell or function to save some keystrokes. ie.

#!/bin/ksh
#nnx <init file>
nn -I,init,$* -B

$ nnx work                    # uses init file 'work' and newsrc 'nwork'
$ nnx hobbies                 # uses init file 'hobbies' and newsrc 'nhobbies'
--
Opinions expressed are my own, and do not represent those of my employer.
Technical Details
Message-ID: <ryb26.752789624@dce64mws>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.ans.net!malgudi.oar.net!chemabs!ryb26
References: <2bm1rb$afl@crl.crl.com>

Show Full Headers
Complete Article Headers
Message-ID: <ryb26.752789624@dce64mws>
Subject: Re: two .newsrc files ?
Date: Mon, 8 Nov 1993 20:13:44 GMT
From: ryb26@cas.org (Richard A. Ball)
References: <2bm1rb$afl@crl.crl.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.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.ans.net!malgudi.oar.net!chemabs!ryb26
Newsgroups: news.software.nn
Sender: usenet@cas.org
Organization: Chemical Abstracts Service
Lines: 37