🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83776

Re: docheckgroups et al

#83776
From: Julien ÉLIE
Date: Mon, 03 Jan 2011 22:53
70 lines
3768 bytes
Hi John,

> With docheckgroups, one major obstacle is the known egrep overflow:
>
> news@optima11:/var/lib/news$ cat newsgroups-ISC | docheckgroups
> egrep: Unmatched ) or \)
> egrep: Unmatched ) or \)
> egrep: Unmatched ) or \)
> egrep: Unmatched ) or \)
> egrep: Unmatched ) or \)
> egrep: Unmatched ) or \)
 >
 > Perhaps a future project would be to improve docheckgroups so egrep
 > doesn't choke?

egrep is no longer used in INN 2.5.2.  It was in INN 2.4.x.
What are the remaining problems when you use docheckgroups on INN 2.5.2?



> To get around that egrep overflow problem, I'll shorten my
> newsgroups-ISC list to make it smaller.
> # You can remove them by editing /var/lib/news/newsgroups.
> # You can add them by editing /var/lib/news/newsgroups.
 > # And remember to update /var/lib/news/newsgroups.

It is an old version of docheckgroups (INN 2.4.x).



> If my memory isn't completely bonkers, there are lines in the above
> that, when used as input, cause mod-active to fail, and without any
> error given. Perhaps it is this line?:
>
> exit # so you can feed this message into the shell

This line is ignored my mod-active.



>> An argument in favour of the experimental LIST REMOVALS command along
>> with the “r” status flag :-)
>
> I'm not familiar with this. Can you elaborate -- a link perhaps?

It is not implemented.  And I do not see how additions and removals from 
multiples programs can be handled smoothly (docheckgroups, mod-active, 
manually…).

Basically, it would have been a means to mark a newsgroup as 
to-be-removed without actually being removed.  It would be readable, and 
would not accept articles.  It would be automatically removed after a 
configurable number of days.
It would allow reinstatement of a newsgroup rmgroup'ed by error.  On 
receiving a checkgroups or a newgroup control article mentioning it is 
still a valid newsgroup, its status would be restored to the one it had. 
  Therefore, no deletion.



> Don't stay up late thinking about that idea. Trop de vin peut vous tromper!
> Mangez de la nourriture plus mexicaine, comme des enchiladas! ;-)

Good point; it is such a long time since I have eaten Mexican food.
Time to change that.

-- 
Julien ÉLIE

« Il ne faut jamais parler sèchement à un Numide. » (Astérix)
Technical Details
Message-ID: <8of2b7FqphU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8oejprF38fU1@mid.individual.net> <ifth0a$92v$1@n102.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <8of2b7FqphU1@mid.individual.net>
Subject: Re: docheckgroups et al
Date: Mon, 03 Jan 2011 23:53:27 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8oejprF38fU1@mid.individual.net> <ifth0a$92v$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 70
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qebcIaPrieyCbw74CEMNOAuzoPzMkd7TEaemIeyNo13wHiQRo=
Cancel-Lock: sha1:BKWjVLmAHXNW+uphVF6YI7QS1HM=
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <ifth0a$92v$1@n102.xanadu-bbs.net>