Article View: news.software.nn
Article #6969Re: is there a way to have more than one newsrc ?
From: Romain Kang
Date: Sat, 07 Jan 1995 01:43
Date: Sat, 07 Jan 1995 01:43
29 lines
1783 bytes
1783 bytes
In <mvidalD20F0q.J3J@netcom.com> mvidal@netcom.com (mike vidal) writes: | Is there a way to have more than one newsrc ? | Sometimes all I want to do is read news in a subset of my normally read | newsgroups. How do I do it. As I understand the code, NN typically presents groups in the order specified following the "sequence" keyword in $HOME/.nn/init. However, if "sequence" is not present in the init file, the sequence will be taken from $HOME/.nn/seq, if it exists. I haven't tried this, but you could have different "seq" files that a wrapper script moves into place depending on how you invoke it; something like: #! /bin/sh case "$1" in work|music|jokes) SEQ=seq.$1 ;; *) SEQ=seq.default ;; esac rm -f $HOME/.nn/seq ln $HOME/.nn/$SEQ $HOME/.nn/seq exec nn Let us know whether it works. -- Romain Kang Pyramid Technology Corp. romain@pyramid.com San Jose, California, USA
Technical Details
Message-ID:
<3ekrjv$5qc@sword.eng.pyramid.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!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!uhog.mit.edu!bloom-beacon.mit.edu!spool.mu.edu!olivea!gossip.pyramid.com!sword.eng.pyramid.com!not-for-mailReferences:
<mvidalD20F0q.J3J@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <3ekrjv$5qc@sword.eng.pyramid.com> Subject: Re: is there a way to have more than one newsrc ? Date: Sat, 07 Jan 1995 01:43:27 +0000 From: romain@sword.eng.pyramid.com (Romain Kang) References: <mvidalD20F0q.J3J@netcom.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!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!uhog.mit.edu!bloom-beacon.mit.edu!spool.mu.edu!olivea!gossip.pyramid.com!sword.eng.pyramid.com!not-for-mail Newsgroups: news.software.nn Organization: Pyramid Technology Corp, San Jose, CA Lines: 29 Reply-To: romain@pyramid.com NNTP-Posting-Host: sword.eng.pyramid.com Keywords: newsrc