Article View: news.software.readers
Article #6611Re: Tin default subscriptions??
From: Daniel Len Schales
Date: Mon, 22 Nov 1993 19:23
Date: Mon, 22 Nov 1993 19:23
31 lines
1780 bytes
1780 bytes
On 22 Nov 1993 18:31:01 GMT, Noel Hunter (noel@ac.wfu.edu) wrote:
> Any chance of posting diffs to do this?
Well, I've done some other tinkering in there, so a patch would be
a bit difficult, but the following should get you going:
add this to command.c with the other LISTINFO's at the top:
STATIC LISTINFO INFOsubscrib = {
"/usr/local/news/subscriptions", "initial subscriptions",
"list of initial subscriptions in form \"group\""
};
Changing the path to point to your subscriptions file (should be
done with subst, but...)
Then in the function CMDlist, edit the if-else-if structure to add:
else if (caseEQ(p, "subscriptions"))
lp = &INFOsubscrib;
Then edit nnrpd.c, and change the entry for list in the
CMDENT table to be:
{ "list", CMDlist, FALSE, 1, 2,
"[active|newsgroups|distributions|schema|subscriptions]" },
Danny
Technical Details
Message-ID:
<2cr3jn$7lq@aurora.engr.latech.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.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!darwin.sura.net!aurora.LaTech.edu!danReferences:
<2cgl50$762@apollo.it.luc.edu> <2cpvkk$1p0@netserver.univ-lille1.fr> <CGw6E0.E11@bbc.co.uk> <2cqij0$7lq@aurora.engr.latech.edu> <2cr0h5$oim@quad.wfunet.wfu.edu>Show Full Headers
Complete Article Headers
Message-ID: <2cr3jn$7lq@aurora.engr.latech.edu> Subject: Re: Tin default subscriptions?? Date: Mon, 22 Nov 1993 19:23:35 +0000 From: dan@engr.latech.edu (Daniel Len Schales) References: <2cgl50$762@apollo.it.luc.edu> <2cpvkk$1p0@netserver.univ-lille1.fr> <CGw6E0.E11@bbc.co.uk> <2cqij0$7lq@aurora.engr.latech.edu> <2cr0h5$oim@quad.wfunet.wfu.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.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!darwin.sura.net!aurora.LaTech.edu!dan Newsgroups: news.software.readers Organization: Louisiana Tech University Lines: 32 NNTP-Posting-Host: andromeda.engr.latech.edu X-Newsreader: TIN [version 1.2 PL2]