Article View: news.software.readers
Article #76231Re: Hamster & XNews (help!)
From: Robert Amesz
Date: Thu, 12 Apr 2001 17:32
Date: Thu, 12 Apr 2001 17:32
100 lines
5382 bytes
5382 bytes
Angi Long wrote: > > Okay, I *thought* I had it working right. Here's yesterday's post > (or one of them), which I thought had been posted, but it turns out > it had only been posted internally (apparently), not sent to the > net. I notice that some posts from Hamster get the path "not-for- > mail." These seem to be the ones that are not sent out. Any idea > why this would be happening? Check your script: are you sure it's sending out posts? All you really need in a script is (and even then there mayby unneccessary wait.idle statements in it: wait.idle news.post wait.idle news.pull wait.idle Also, observe Hamster's log window: it will tell you exactly what it's doing at the moment, and if there are any errors. If it doesn't say its posting your messages, then it isn't. You can doublecheck by reading the hamster.posted group: all messages sent to the news server should end up there as well, marked as an archive copy. > I made (well, found and modified) a script to download and upload > news every few minutes. Now how do I make it so this script gets > run automatically when Hamster is started? I'm not sure it's possible. I've never tried it, because I prefer to be in control of what Hamster does (I am behind a modem). However, it might be as simple as putting the name of the script on the commandline. Alternatively, Hamster can be used as a COM object, in which case you can control Hamster from - for instance - a VBS-script. Just look at the examples. > What is Chgwallp.exe? It's in my Hamster directory and has > installed itself in my Startup folder. But whatever it is, it > opens with German menus. Never heard of it. But then, I still use an old version, 1.3.13.10, which does exactly what I need and has never given me any trouble. Not even once. > Is there a way to set it up so that a "refresh headers" or "get new > headers" message from the newsreader causes Hamster to interrupt > the current job, pull that newsgroup next, then resume the current > job? Not that I know of. It sounds convenient, but I don't think it can be done, not with the current architecture of Hamster anyway. <technical rambling> <!-- feel free to ignore --> For that to work Hamster would have to respond to your newsreader's XOVER by quickly connecting to your news server, do a login, switch to the appropriate group, and start its own XOVER. That information needs to be stored and processed (in particular, the article numbers must be assigned, which are by necessity different from those used on the server). After that comes the tricky bit: the headers are stored now, but the articles *are not*: so the XOVER command your newsreader can be completed, but it's 'false advertising': the new articles are in fact not yet available, so the moment your newsreader requests one of those articles we're in trouble. The only way to resolve that is to interrupt Hamster once more and quickly fetch the requested article. All of which is pretty complicated, and different threads would be accessing the same files/data structures concurrently, adding to the complexity. Adding good error recovery - a necessity - would make things harder still. </technical rambling> Oh, it *can* be done, I'm sure. But it's neither easy nor straightforward. > When I remove a group from Hamster, then do a "get entire newsgroup > list" from XNews, the group is not removed from the list. Does > XNews not remove groups that are no longer on the server's list, or > does Hamster not remove the group from the list it's sending to > XNews, or what? Yes, Hamster doesn't delete the group which isn't in the pull-list anymore. Of course, there won't be any new messages. Presumably, if you really want to get rid of it, you need to delete the folder with the files where the messages and related data are stored, but I've never bothered with that. (Just look in the 'groups' folder.) Subsequent purges will eventually remove all articles anyway, so only the empty group remains. Robert Amesz
Technical Details
Message-ID:
<Xns9081AB192C210rcamesz@127.0.0.1>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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!194.176.220.130!newsfeed.icl.net!dispose.news.demon.net!news.demon.nl!demon!amesz.demon.nl!not-for-mailReferences:
<Xns90809CF3C3D11AngiLong@along.myfqdn.de>Show Full Headers
Complete Article Headers
Message-ID: <Xns9081AB192C210rcamesz@127.0.0.1>
Subject: Re: Hamster & XNews (help!)
Date: Thu, 12 Apr 2001 17:32:45 GMT
From: rcameszREMOVETHIS@dds.removethistoo.nl (Robert Amesz)
References: <Xns90809CF3C3D11AngiLong@along.myfqdn.de>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!194.176.220.130!newsfeed.icl.net!dispose.news.demon.net!news.demon.nl!demon!amesz.demon.nl!not-for-mail
Newsgroups: news.software.readers
Reply-To: rcamesz@dds.nl
NNTP-Posting-Host: amesz.demon.nl
X-NNTP-Posting-Host: amesz.demon.nl:212.238.72.220
X-Trace: news.demon.nl 987096765 pluto:6580 NO-IDENT amesz.demon.nl:212.238.72.220
X-Complaints-To: abuse@nl.demon.net
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/4.04.09
X-Face: i/!"w>!GV8UL{^20`L2OEvvFz(T"{bFYn2<:u"5<4Blsl-isl(bTDMKVqWL?nk-VY7[[);j =yB|s]|c3nRG4c7^1#+/(D)v4ToNC;PoE=\7baN'i75%+2NhzndU~qJUTI*-v[R"l)Q$GOX3o(-#7C iY6a`%._v`G8cG`!/3,mt?pkyvjv3f}\-mZiNnXJ9EK~D>Qs(ckW8yam<<T!\Kf>`wtj3>eEAAV\
Lines: 99