🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5045

Re: two .newsrc files ?

#5045
From: Andrew M Langmead
Date: Wed, 10 Nov 1993 21:26
30 lines
2172 bytes
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..


Are you sure that you need two different .newsrc files, or just two
different presentation sequences. Two different presenation sequences
would allow you to have comp.lang.c show up only during work time, and
alt.folklore.urban show up during the evening. If you have a newsgroup
that is in both presentation sequences, makring an article as read in
one presentation sequence would keep the article as read in the other
presentation sequence. Two different .newsrc files would have the
article show up twice. (once for each .newsrc file)

The online manual (type ":man" to access it) talks about the "on" command
in the section "Command Groups." There is an example on how multiple
init file sequences can be chosen depending on the time of day by
having the "on" command chain to different init files. You could
either do something like this and have different presenation sequeces
in each init file, or have the on command set the newsrc variable to a
different .newsrc file.
-- 
----
Andrew Langmead / aml@world.std.com / BIX a.langmead / CIS 72411,1560
Technical Details
Message-ID: <CGAovI.Bw9@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!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!world!aml
References: <2bm1rb$afl@crl.crl.com>

Show Full Headers
Complete Article Headers
Message-ID: <CGAovI.Bw9@world.std.com>
Subject: Re: two .newsrc files ?
Date: Wed, 10 Nov 1993 21:26:05 GMT
From: aml@world.std.com (Andrew M Langmead)
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!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!world!aml
Newsgroups: news.software.nn
Organization: The World @ Software Tool & Die
Lines: 30