Article View: demon.ip.developers
Article #214Re: PCELM Source?
From: Ian Smith
Date: Fri, 24 Jul 1998 00:00
Date: Fri, 24 Jul 1998 00:00
85 lines
4820 bytes
4820 bytes
On Wednesday, in article
<Snews.980722.201325.chris.10775@keris.demon.co.uk>
chris@keris.demon.co.uk "Chris Croughton" wrote:
> >Oh dear, hacking a hack :)
>
> Yep <g>. Isn't that true of most of the code? I know that's happened
> with Snews, for example.
Well, it holds for me, but then I'm a cut-and-paste bandit. I like to
think that the real pros are a little more creative and at least know
what they're hacking at. Inspired guesswork has it's limits :(
> I have to be, since Demon don't have a phone access in Germany, so I
> have to use POP3 to get at my mailboxes. If DEmon had implemented the
> idea I remember being proposed (adding an X-POP3-Mailbox header) then
> I could d/l everything for keris.dcu and then filter it, but that seems
> to have died.
Did it ever live ? I thought that was more of a wish-list thing.
Why can't you filter on the To: line ?
> On my hard disk <g>. I'm away in America from tomorrow until 1998.08.11,
> I'll work on it while I'm away and tidy it up then upload it to my web
> site when I get back. At the moment it really is a hack (and produces
> far too much stuff on the screen for debugging).
Sounds pretty normal to me :)
Away in America has a certain ring to it although if it's to the
southern part perhaps sizzle is more the word.
[direct post]
> Yes, I tried compiling it but there seemed to be some of the posting source
> missing (I think it was supposed to be in GremNOS or DNOS according to the
> documentation) and I never got round to making it work. I found that
> mail2news will accept mail from keris.dcu even if I send it from Germany
> so that's working and I found the POP3 stuff to be more important for me.
> If you've got it working I'll be interested in testing it when I get back
> (and converting SNews etc. to use it - my initial idea would be to have
> a pre-KA9Q filter which did the conversion, but that's the way my mind works
> <g>).
As I recall it, the hooks were in GremNOS, but not the code and I'm
pretty sure DNOS doesn't use it. If it *is* in either, I missed it and
wasted a bit of time :(
I've been running tests to d.s and I'm happy with it - it's pretty
quick. I'm about to start using it routinely (always assuming nothing
nasty crawls out of the woodwork it'll be in next month's YAN :)
If you know of a news server which doesn't honour NEWNEWS, you can test
the alternative method of building the new news list as well since
that's also in the code.
As for creating the files, I just hacked a version of JW's Snews to add
the option of producing the direct post formatted files. Surprisingly
perhaps, I thought that was the easiest way and *that's* the way *my*
mind works :) Sad, innit ?
I'm a bit hesitant about making it available, though. There's already a
plethora of Snews versions knocking about, it adds a couple of config
file parms and I'm not sure how much demand there is for direct posting
anyway. Hardly any, I'd have thought, from Demonites. Your way does
reduce the confusion on that front.
Actually, I've probably made life harder by using a .nws suffix for the
second file and a new directory to hold the direct post news items, but
I like to keep things separate :) However, for me at least, it also
meant changes to the session manager (since it monitors the outgoing
queues) and the reviewer.
> BTW, a bugette in YAN - often (not always) when I switch sessions (with TAB
> for instance) it clears the screen - have you seen this? It happens with
> 'raw' YAN 1.9 as well as with my rebuild.
Raw ! I like it. No, I can't say that I've had the screen clear with
session swaps and that code hasn't changed for at least a year. As and
when I do see it, I'm sure I'll view it as a serious bug. Any particular
situations ? What happens to the status lines ?
Ian.
--
| Ian Smith | "The Moving Finger writes;
| ian@isis.demon.co.uk | and, having writ, Moves on."
--
| Ian Smith | "The Moving Finger writes;
| ian@isis.demon.co.uk | and, having writ, Moves on."
Technical Details
Message-ID:
<901303977snz@isis.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<Snews.980712.110422.chris.10723@keris.demon.co.uk> <Snews.980722.201325.chris.10775@keris.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,ec22e73480e8ff7c X-Google-Attributes: gid10bb05,public From: ian@isis.demon.co.uk (Ian Smith) Subject: Re: PCELM Source? Date: 1998/07/24 Message-ID: <901303977snz@isis.demon.co.uk> X-Deja-AN: 374734507 X-NNTP-Posting-Host: isis.demon.co.uk:158.152.16.233 References: <Snews.980712.110422.chris.10723@keris.demon.co.uk> <Snews.980722.201325.chris.10775@keris.demon.co.uk> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 901345300 nnrp-03:17965 NO-IDENT isis.demon.co.uk:158.152.16.233 Organization: DIS(organised) Reply-To: ian@isis.demon.co.uk Newsgroups: demon.ip.developers