🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1715

Re: Setting variables on the command line

#1715
From: Danno McKinnon
Date: Sun, 26 May 1991 21:50
34 lines
2285 bytes
rdavis@convex.com (Ray Davis) replies to my question:

>danno@eleazar.dartmouth.edu (Danno McKinnon) writes:

>>	nn -B -d -m -N keep-unsubscribed=off tidy-newsrc=on \
>>             newsrc=n

>>the newsrc---I get all of the groups that my regular .newsrc has

>Have you tried setting newsrc to a full pathname, rather than just n?

>I haven't - but it's a thought anyway...

Yes, we tried, but it was no help. We still find that ``:set''
shows that newsrc was set to whatever file we specified, but nn
ignores that value and reads .newsrc. We know we are
constructing a valid .newsrc because if we move it to be
~/.newsrc, it gets used. Our problem is the same whether the
path we specify is ``/tmp/<something>'' or ``~/<something>''...

If we can't figure out what's wrong, we'll just have to do the
very unsocial thing of renaming the caller's .newsrc to
something else, and putting our own in its place.

Note: Kim Storm very helpfully pointed out that we would
probably need to set ``new-group-action=0'' as well, which
elminated one of our errors! Another person suggested we might
need to set a whole presentation sequence, which we don't,
actually; that would make the command line rather messy...

Any suggestions welcome, as always.-- 
      A      || Daniel McKinnon                        || "Sugar and caffeine
 Walt Disney || ==================-------------------- ||  make me very happy."
    DANNO    ||                      dfm@dartmouth.edu ||    -- David Lynch
Technical Details
Message-ID: <1991May26.215012.23815@dartvax.dartmouth.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!gmdzi!unido!mcsun!uunet!wuarchive!hsdndev!dartvax!eleazar.dartmouth.edu!danno
References: <1991May23.081247.22780@dartvax.dartmouth.edu> <rdavis.675024808@connie.convex.com>

Show Full Headers
Complete Article Headers
Message-ID: <1991May26.215012.23815@dartvax.dartmouth.edu>
Subject: Re: Setting variables on the command line
Date: Sun, 26 May 1991 21:50:12 +0000
From: danno@eleazar.dartmouth.edu (Danno McKinnon)
References: <1991May23.081247.22780@dartvax.dartmouth.edu> <rdavis.675024808@connie.convex.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!gmdzi!unido!mcsun!uunet!wuarchive!hsdndev!dartvax!eleazar.dartmouth.edu!danno
Newsgroups: news.software.nn
Sender: news@dartvax.dartmouth.edu (The News Manager)
Reply-To: dfm@dartmouth.edu
Organization: Dartmouth College, Hanover, NH
Lines: 34