🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5791

Re: something like multiple .newsrc's?

#5791
From: Rich Holland
Date: Tue, 03 May 1994 22:13
37 lines
2248 bytes
aml@world.std.com (Andrew M. Langmead) writes:

>Often, when people are looking for multiple .newsrc files in nn, they
>are better off changing their group presentation sequence. If you have

I have a script in ${HOME}/bin/nn like this:
=============================================================================
#!/bin/csh
# SCCSid: @(#)wrapper for nn to read news for work or play
if ($argv == 'matt') then
	set groups = (`cat ${HOME}/.nn/matt`)
	cp ${HOME}/.nn/next-matt ${HOME}/.nn/NEXTG
	/usr/local/bin/nn $groups
	cp ${HOME}/.nn/NEXTG ${HOME}/.nn/next-matt
else
	set groups = ($argv `cat ${HOME}/.nn/godiva | grep -v "alt.binaries"`)
	cp ${HOME}/.nn/next-godiva ${HOME}/.nn/NEXTG
	/usr/local/bin/nnlcl $groups
	cp ${HOME}/.nn/NEXTG ${HOME}/.nn/next-godiva
endif
=============================================================================
Then I just use the one .newsrc file (${HOME}/.nn/.newsrc).  I execute nn
by typing either 'nn' (to read the "work" groups) or 'nn matt' (to read the 
"fun" groups).  The NEXTG pointers are kept intact, and the 'godiva' and
'matt' files just contain a list of newsgroups, like this:

alt.cad.autocad
alt.internet.services
alt.msdos.programmer
[...]

Works for me!  :-)
--
Rich Holland               | Internet: holland@godiva.ne.ksu.edu
723 Allison Ave, #8        | Bitnet  : holland@ksuvm
Manhattan, KS  66502-3273  | WWW     : http://godiva.ne.ksu.edu/~holland
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Technical Details
Message-ID: <2q6i9f$ram@newserv.ksu.ksu.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!bga.com!news.sprintlink.net!hookup!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!moe.ksu.ksu.edu!godiva!holland
References: <walterCp57L8.2H7@netcom.com> <Cp74t9.8Jt@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <2q6i9f$ram@newserv.ksu.ksu.edu>
Subject: Re: something like multiple .newsrc's?
Date: Tue, 03 May 1994 22:13:03 +0000
From: holland@godiva.ne.ksu.edu (Rich Holland)
References: <walterCp57L8.2H7@netcom.com> <Cp74t9.8Jt@world.std.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!bga.com!news.sprintlink.net!hookup!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!moe.ksu.ksu.edu!godiva!holland
Newsgroups: news.software.nn
Organization: Kansas State University
Lines: 37
NNTP-Posting-Host: godiva.ne.ksu.edu