Article View: news.software.nn
Article #5035Re: two .newsrc files ?
From: Milt Epstein
Date: Mon, 08 Nov 1993 19:43
Date: Mon, 08 Nov 1993 19:43
28 lines
1989 bytes
1989 bytes
In <2bm1rb$afl@crl.crl.com> rstory@crl.com (Robert Story) writes: >is there a way to have two .newsrc files? I have a commercial account >and want to be able to specify a 'work' and a 'personal' newsrc, so I >only see the groups for that newsrc. I tried the man page and the FAQ, >but couldn't find a way to have nn read anything besides a file called >.newsrc in your home directory. a way to pass the name of the file or >a way to make it look in the current directory (as opposed to the home >directory) would be great.. Here's something you could try that would give you a behavior kind of like this: 1. Have two separate .nn directories (perhaps .nn1 and .nn2, or .nnwork and .nnpersonal). 2. In the init file in each of these directories, set the newsrc variable to ~/.nn/.newsrc (e.g. "set newsrc ~/.nn/.newsrc"). 3. Write a script (or two) that shifts one of these directories over to .nn -- then you have access to that particular .newsrc file. This allows you to switch back and forth between these two newsgroup situations. I don't know that there is a more direct way to do this. -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Technical Details
Message-ID:
<CG6usM.BDB@sparc0a.cs.uiuc.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.nn.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!umn.edu!news-feed-2.peachnet.edu!emory!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!cs.uiuc.edu!gooshie!ta9.cs.uiuc.edu!epsteinReferences:
<2bm1rb$afl@crl.crl.com>Show Full Headers
Complete Article Headers
Message-ID: <CG6usM.BDB@sparc0a.cs.uiuc.edu> Subject: Re: two .newsrc files ? Date: Mon, 8 Nov 1993 19:43:34 GMT From: epstein@ta9.cs.uiuc.edu (Milt Epstein) 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!xlink.net!math.fu-berlin.de!umn.edu!news-feed-2.peachnet.edu!emory!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!cs.uiuc.edu!gooshie!ta9.cs.uiuc.edu!epstein Newsgroups: news.software.nn Sender: news@sparc0a.cs.uiuc.edu Reply-To: epstein@cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Lines: 28