🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44240

Re: Automatically (un)subscribing from/to newsgroups

#44240
From: Jan Hlavacek
Date: Tue, 03 Nov 1998 00:00
22 lines
2246 bytes
On 3 Nov 1998 21:01:03 GMT, Dawn Owens-Nicholson
<bluemoon@ux6.cso.uiuc.edu> wrote:
> Personally, I don't think such variables are a good way to go for slrn--the
> macro works well if you think of the slrnrc unsubscribe_new_groups setting
> as the way you want to treat most new groups and use the macro to work on a
> list of exceptions (for instance, if you want to unsubscribe from most new
> groups except news.*, set the slrnrc setting to 1 and put "^news\." in the
> list the macro maintains).  Also, regexes are more powerful than NNTP
> wildmats, so you can specify more complex rules (as S-Lang regexes become
> more powerful, this may obviate the need for "!" exceptions).

How about a "new_group_hook"?  It would get the name of the group as an
argument,  and return -1 to automatically unsubscribe,  1 to subscribe,
and 0 to unsubscribe but show.


-- 
Jan Hlav\'{a}\v{c}ek
lahvak@math.mps.ohio-state.edu  (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/ 

Technical Details
Message-ID: <slrn73v67q.58f.lahvak@octagon.mps.ohio-state.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn73j1ik.mh1.alfie@skater.htu.tuwien.ac.at> <slrn73jbpd.8hl.hezu@tuuri.ling.helsinki.fi> <slrn73kce6.3dm.nospam+_no_Zs__9810@hpb13799.zboi.hpz.com> <slrn73kf70.5pv.bluemoon@ux6.cso.uiuc.edu> <slrn73r90f.1q2.hezu@tuuri.ling.helsinki.fi> <slrn73s1gp.3sg.bluemoon@ux6.cso.uiuc.edu> <slrn73tll0.8r6.hezu@tuuri.ling.helsinki.fi> <slrn73uroc.6m.bluemoon@ux6.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn73v67q.58f.lahvak@octagon.mps.ohio-state.edu>
Subject: Re: Automatically (un)subscribing from/to newsgroups
Date: Tue, 03 Nov 1998 00:00:00 +0000
From: lahvak@math.mps.ohio-state.edu (Jan Hlavacek)
References: <slrn73j1ik.mh1.alfie@skater.htu.tuwien.ac.at> <slrn73jbpd.8hl.hezu@tuuri.ling.helsinki.fi> <slrn73kce6.3dm.nospam+_no_Zs__9810@hpb13799.zboi.hpz.com> <slrn73kf70.5pv.bluemoon@ux6.cso.uiuc.edu> <slrn73r90f.1q2.hezu@tuuri.ling.helsinki.fi> <slrn73s1gp.3sg.bluemoon@ux6.cso.uiuc.edu> <slrn73tll0.8r6.hezu@tuuri.ling.helsinki.fi> <slrn73uroc.6m.bluemoon@ux6.cso.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 408113885
X-Complaints-To: usenet@math.ohio-state.edu
X-Trace: mathserv.mps.ohio-state.edu 910137594 21924 128.146.111.74 (3 Nov 1998 23:59:54 GMT)
Organization: Department of Mathematics, The Ohio State University
User-Agent: slrn/0.9.5.3 (UNIX)
Reply-To: lahvak@math.mps.ohio-state.edu
NNTP-Posting-Date: 3 Nov 1998 23:59:54 GMT
Newsgroups: news.software.readers