Thread View: news.software.nntp
3 messages
3 total messages
Started by Fluffy
Mon, 31 Aug 1998 00:00
[Ann] Updated controlchan thingy
Author: Fluffy
Date: Mon, 31 Aug 1998 00:00
Date: Mon, 31 Aug 1998 00:00
31 lines
1760 bytes
1760 bytes
A new version went up this morning. The major changes include: - From Jeremy, optional syslogd logging and a fix for a namespace collision of sorts in INN 1.x (oops). - From Neil Murray, more 'correct' mailing and some improvements to the newgroup script. - Another bit of clutter for your newsbin directory called controlbatch. With it, you can run controlchan from a file feed, or let controlbatch kick off from cron nightly to mop up after any backlog. - Speaking of newgroups, do take time to look at newgroup.pl. There are some name checks enabled that you may not want, as well as some disabled rules you might want to turn on. Important: Please read the whole INSTALL document even if you're only updating. There's a minor change to the newsfeeds entry (add a bang), and you may need to do a bit of one-time preparation to get the syslog stuff working. Get it at: <URL:http://www.deathsdoor.com/meowing/> The more direct route is: <URL:http://members.tripod.com/~gerglery/k0dez/cch-current.tar.gz> Meow.
Re: [Ann] Updated controlchan thingy
Author: Fluffy
Date: Mon, 31 Aug 1998 00:00
Date: Mon, 31 Aug 1998 00:00
16 lines
1415 bytes
1415 bytes
Paul D. Smith <psmith@baynetworks.com> wrote: > Small nit: in newgroups.pl you need to escape the group name in the RE: Thanks, I knew that stuff needed more translation work =) In case it looks famliliar, most of the checking in newgroup.pl is borrowed from C News' namecheck.awk. Remember that you can still use the control message channel while sticking to the original shell scripts, until the *.pl versions become more mature; just take the *.pl scripts you don't want to use out of your control directory. That will result in some redundant parsecontrol invocations, but only on messages you've already decided to accept.
Re: [Ann] Updated controlchan thingy
Author: Paul D. Smith
Date: Mon, 31 Aug 1998 00:00
Date: Mon, 31 Aug 1998 00:00
20 lines
1640 bytes
1640 bytes
Small nit: in newgroups.pl you need to escape the group name in the RE:
@oldgroup = grep(/^$groupname\s/, <ACTIVE>);
with \Q\E since it could contain regex chars (like comp.lang.c++ ...)
@oldgroup = grep(/^\Q$groupname\E\s/, <ACTIVE>);
There may well be other places in the scripts that need this;
essentially it's best to do it anywhere you test a variable in an RE
that isn't supposed to contain RE chars.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
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