Article View: news.software.readers
Article #44333A temporary fix
From: Dawn Owens-Nicholson
Date: Fri, 06 Nov 1998 00:00
Date: Fri, 06 Nov 1998 00:00
42 lines
2880 bytes
2880 bytes
Because regexes are more powerful than wildmats, the AUTO(UN)SUBSCRIBE
documentation doesn't fully describe what happens (putting the same string
in both environment variables is not described) and "asking" about new
groups doesn't exist in slrn, the author of the AutoSubUnsub slrn macro asks
people to do the following until AutoSubUnsub is revised to handle
tin/*rn-style AUTO(UN)SUBSCRIBE environment variables:
1. Decide if the majority of new groups should be subscribed or unsubscribed.
If you want to subscribe to the majority of new groups, set the slrnrc
unsubscribe_new_groups setting to 0, otherwise set it to 1.
2. Download and install the AutoSubUnsub macro posted in
<slrn6vthe7.11g.bluemoon@ux6.cso.uiuc.edu> according to the directions
therein (available via DejaNews if your spool doesn't have it). These
links might work for a while:
http://www.dejanews.com/getdoc.xp?AN=391457192&fmt=raw
http://www.dejanews.com/getdoc.xp?AN=391457192
(That AN= index looks temporary)
3. Make a list of regular expressions that describe the /exceptions/ to the
decision you made in step 1. For example, if you decided you wanted to
subscribe to most new groups except all groups in the "alt" and
"comp.sys." hierarchies, add the following to a file:
^alt\.
^comp\.sys\.
Converting wildmats to regexes isn't too hard to do by hand:
"alt.*" becomes "^alt\." (or "^alt\..*$" for a literal translation)
"*news*" becomes "news" (or "^.*news.*$")
"new[ts]" remains "new[ts]"
"new\s" remains "new\s" (or "news" since `s' isn't a regex metachar)
"new[*?]" becomes "new[\*\?]" (or "new[*?]" if * and ? aren't metas here)
4. Save the file as .slrn-auto_sub_unsub_list in your homedir. If you don't
want to use that filename, save it as anything you wish and set the
AUTOSUBUNSUB environment variable to the pathname of the file.
Technical Details
Message-ID:
<slrn744p3g.s1q.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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrn744p3g.s1q.bluemoon@ux6.cso.uiuc.edu> Subject: A temporary fix Date: Fri, 06 Nov 1998 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) 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> 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: 408887901 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.4 (UNIX) Newsgroups: news.software.readers