🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Kurt Swanson Mon, 14 Sep 1992 13:17
New-group-action
#3068
Author: Kurt Swanson
Date: Mon, 14 Sep 1992 13:17
16 lines
1266 bytes
I would like to patch newsrc.c to allow rn style "ynYN" querying,
which is simple, except that I don't wanted unsubscribed newsgroups to
be left out of .newsrc.  This way one can do all sorts of
unix-manipulations on .newsrc, greps, sorts, etc., in order to find a
news group.  I tried changing ":" to "!" in the section that relates
to newgroup queries, but this does not work....

I am surprised that no option allows new groups to be unsubscribed
that keeps it's name in .newsrc....

Is there a higher reason for this?  (maybe a programming limitation?)

Does anyone have an idea how this might be done?
-- 
Kurt Swanson, Dept. of Computer Science,
Lunds universitet.  Kurt.Swanson@dna.lth.se
Re: New-group-action
#3072
Author: John Stewart
Date: Mon, 14 Sep 1992 13:55
21 lines
1609 bytes
In <1992Sep14.131734.3492@lth.se> kurt@dna.lth.se (Kurt Swanson) writes:

>I would like to patch newsrc.c to allow rn style "ynYN" querying,
>which is simple, except that I don't wanted unsubscribed newsgroups to
>be left out of .newsrc.  This way one can do all sorts of
>unix-manipulations on .newsrc, greps, sorts, etc., in order to find a
>news group.  I tried changing ":" to "!" in the section that relates
>to newgroup queries, but this does not work....

>I am surprised that no option allows new groups to be unsubscribed
>that keeps it's name in .newsrc....

This option isn't needed because the nngrep command (included with the nn
software distribution) can list all the newsgroups available on your system.
Try typing

      nngrep -a
-- 
John Stewart -- Computing and Communications Services, Carleton University
Internet: jstewart@ccs.carleton.ca or Mr.Canoehead@algonquin.carleton.ca  
"Why can't we just forget about our constitutional problems and go canoeing?"
Re: New-group-action
#3076
Author: Magnus Holmberg
Date: Mon, 14 Sep 1992 16:19
17 lines
1050 bytes
In <1992Sep14.131734.3492@lth.se> kurt@dna.lth.se (Kurt Swanson) writes:

	.
	.
	.

>I am surprised that no option allows new groups to be unsubscribed
>that keeps it's name in .newsrc....

>Is there a higher reason for this?  (maybe a programming limitation?)

>Does anyone have an idea how this might be done?


	You might want to set the variable keep-unsubscribed...

		- MH
Re: New-group-action
#3075
Author: Kurt Swanson
Date: Mon, 14 Sep 1992 18:03
19 lines
1563 bytes
mho@stacken.kth.se (Magnus Holmberg) writes:
>In <1992Sep14.131734.3492@lth.se> kurt@dna.lth.se (Kurt Swanson) writes:
>>I am surprised that no option allows new groups to be unsubscribed
>>that keeps it's name in .newsrc....
>>Is there a higher reason for this?  (maybe a programming limitation?)
>>Does anyone have an idea how this might be done?
>	You might want to set the variable keep-unsubscribed...

Och det har jag gjort...

That I have done, but we're talking about NEW groups.
Keep-unsubscribed only affects to status of the rc line for groups
that were already subscribed.  It is, however, needed to be set for
proper function of new-group-actions 1 and 2, since they only rely
upon .newsrc for determining whether or not a group is new.  For more
info type ":man<ret>yX/new-group-action<ret>/<ret>"...
-- 
Kurt Swanson, Dept. of Computer Science,
Lunds universitet.  Kurt.Swanson@dna.lth.se
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads