Article View: news.software.readers
Article #116638Re: [xnews]Groups.ini ignores 1 rule when 2 rules match bug.
From: Ross Presser
Date: Fri, 27 Dec 2002 18:05
Date: Fri, 27 Dec 2002 18:05
55 lines
2820 bytes
2820 bytes
S Smith <863_botblock_@eaREMOVETHISsynews.com> wrote in news:SHON9.373695
$%A6.4325166@news.easynews.com:
> xnews versions 4.25 and 8.12
> With "groups.ini", if 2 rules ([group-expression]) match, xnews
> invariably chooses just one and ignores the other. This prevents a
> huge amount potential functionality.
This is explained in the manual as intended behavior.
Note that the program processes groups.ini in sequential order
and stops once it finds a match. Also, there's no need to
replicate the other settings such as name or email as they
simply revert to the values set in Xnews.ini (unless of course
you want to use a different name or email).
Often, you may want the program to continue on to the next
section in groups.ini. To do this, add continue=1 to the current
section. Take the example above. Suppose you want to use some
set of email, name, etc. for all comp groups. In addition, you
want to use a different sig file for delphi groups. This will do
the trick:
[^comp]
SigFile=worksig.txt
Email=whatever
Name=whatever
; etc.
continue=1
[comp.*delphi]
SigFile=delphisig.txt
; inherit email, name, etc. from comp section
> Even if newgroups are listed singly, the problem remains because of
> their
> heirarchal nature:
> alt.binaries.movies.divx conflicts with
> alt.binaries.movies.divx.reposts .
The section expression is a regexp. To distinguish a subgroup, use
anchors in the regexp:
[^alt.binaries.movies.divx$]
OverrideTo=news.righthand.no
AltServers=news.righthand.no|newslefthand.no
[^alt.binaries.movies.divx.reposts$]
OverrideTo=news.lefthand.no
AltServers=news.righthand.no|newslefthand.no
Technical Details
Message-ID:
<Xns92F1853969544pt101594@129.250.170.90>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3References:
<SHON9.373695$%A6.4325166@news.easynews.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns92F1853969544pt101594@129.250.170.90>
Subject: Re: [xnews]Groups.ini ignores 1 rule when 2 rules match bug.
Date: Fri, 27 Dec 2002 18:05:47 +0000
From: Ross Presser <rpresser@NOSPAM.imtek.com.invalid>
References: <SHON9.373695$%A6.4325166@news.easynews.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
Newsgroups: news.software.readers
Organization: http://extra.newsguy.com
Lines: 54
NNTP-Posting-Host: p-501.newsdawg.com
User-Agent: Xnews/5.04.25
X-Face: 8O7ak(Jpl.P<-*gF@wtxQU$Urow``!*}\CL*v'V)Q|;hPih4$:sn0EV%{}0gYp/lbk5-9|]8dAJk.z$nfpI\kk4xwZ^TgfAy<2p@e}Ez4b]jqtr!AZq7-TeefLvdl|t)ZXB,b+!]Y\[LWoqx3J}