🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #85344

Re: Xnews/Hamster Please don't laugh (too much!)

#85344
From: Tone Marie Berg
Date: Wed, 10 Oct 2001 07:00
81 lines
4076 bytes
Max Quordlepleen <MaxQuordlepleen@ded.com> wrote in
news:Xns9136B703C2A3FMQ4201HB@130.133.1.4: 

> Anyhoo, I have setup Hamster with my newsserver details, but now I
> need to know how to configure my Xnews to grab from Hamster.
> Idiot-proof instructions will be received with a truly pathetic
> gratitude. 8^) 

Just create a new news server in Xnews. Enter �localhost� or, failing 
that, �127.0.0.1� as the address. That's basically all you have to do in 
Xnews (or any other client); it will now use Hamster as any other news 
server.

Remember you'll have to tell Hamster which newsgroups to pull from the 
�real� servers. First of all, go online with Hamster. Choose Online > 
All servers (News+Mail)[1]. Hamster is now getting the info it needs 
(including the lists of newsgroups) from the servers. This may take some 
time, depending on your connection speed and the number of servers 
you've set up.

Go to Configuration > News: servers, groups, pulls... > News-Pulls. 
Click Add, and use the search field in the top to find the groups you 
want. When you select a group in the top list, the bottom part will go 
grey as Hamster queries your real servers if they have the group. When 
the bottom part go white, hit Select all and OK. Repeat until you've 
subscribed to all the groups you want.

OK your way out of all the dialogs, and go online again. Now Hamster 
will pull all your selected groups. Wait for it to finish once again � 
this *will* take a *lot* of time, depending on the number of groups, 
server retention time (if you've told Hamster to pull everything instead 
of setting up a pull limit � I believe the latter is the default).

After all this waiting, go back to Xnews. Tell it to retrieve the entire 
newsgroup list from Hamster (finally, something that *won't* take a lot 
of time, although Xnews warns you that it may). Subscribe as usual, and 
start reading.

You'll have to go online with Hamster (before Xnews) every time you need 
to pull new messages, and to post your own. Luckily, this can be 
automated with a simple little script[2].

Easy as pie, really. :)

[1] I'm using Hamster Future. Menu names and such may be a little off if 
you're using Classic, but you should be able to find your way 
regardless.

[2] Here's the script I use. Wrote it meself, and I'm damn proud of it!

*** Start here ***

#!hs2

AtClear
AtAdd( getnews, "03:00", "12:00", "1111111", 120, true )
AtAdd( getnews, "12:00", "03:00", "1111111", 15, true )
AtExecute

sub getnews
	HamWaitIdle
	HamNewsJobsClear
	HamNewsJobsPostDef
	HamNewsJobsPullDef
	HamNewsJobsStart
endsub

quit

*** Stop here ***

This pulls news only every 120 minutes, every day of the week, between 
03:00 and 12:00, and every 15 minutes, every day of the week, between 
12:00 and 03:00. Modify to taste.

-- 
Tone Marie Berg                              [ http://zicon.cjb.net/ ]

I'm leaving now to go find myself. If I should return before I get 
back, please ask me to wait.
Technical Details
Message-ID: <9q11s2.1vo.2@ID-86522.user.dfncis.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!c76s27h5.upc.chello.NO!not-for-mail
References: <Xns9136B703C2A3FMQ4201HB@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <9q11s2.1vo.2@ID-86522.user.dfncis.de>
Subject: Re: Xnews/Hamster Please don't laugh (too much!)
Date: Wed, 10 Oct 2001 07:00:30 +0000
From: Tone Marie Berg <news-int@zicon.cjb.net>
References: <Xns9136B703C2A3FMQ4201HB@130.133.1.4>
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!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!c76s27h5.upc.chello.NO!not-for-mail
Newsgroups: news.software.readers
Lines: 80
NNTP-Posting-Host: c76s27h5.upc.chello.no (213.46.194.76)
X-Trace: fu-berlin.de 1002697230 22205642 213.46.194.76 (16 [86522])
User-Agent: Xnews/4.06.22
X-Face: P4O}z*,i.,t(3dlTh.TD#:O7-b&WhaRnR1&;W@}f},$[YrEmP{JMwgfS1VAStV`?oq;28;M*fqa4r4z(*v._yW3dVR4mwDg=K;z]:yXC3JHi{p#R0qA8n0W8UU.?;|,kY$GB1v;<AWdzin,>a*tW4++s4