🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80571

Re: Poll: Why do you love your newsreader ?

#80571
From: Ch.Esperado
Date: Tue, 19 Jun 2001 18:04
58 lines
3169 bytes
Martin Niedernolte �crivait ici m�me ce qui suit:

Well, you have the possibility to use the Attad fonctions of Hamster to have 
Hamster establishishing the connexion, and download your news groups by 
himself at a screduled time. Very simple to implement (see help)
An exemple of script to do that:

#!hs2
HamMessage( 2, 0 )
HamWaitIdle
AtClear
## the following is for a connection each hour, all days
AtAdd( EnLigne, "00:00", "23:59", "", 60, False )
AtExecute
$exec=5
# the following is for execute your news reader
# "3" for maximized, 0=hidden, 1=default=normal, 2=minimized.
execute( "C:\Progra~1\Agent\Agent.exe","C:\",3,1,$ref)
# then Hamster will purge when closing agent:
if($exec=0)
 HamPurge(1)
endif
quit

sub EnLigne
var($cnx)

$cnx = -1
if (!RasIsConnected)
    $cnx = HamRasDial("Your-connexion")
endif
if (RasIsConnected)
   HamWaitIdle
   HamMessage( 2, 0 )
   HamWaitIdle
   HamFetchMail("pop.libertysurf.fr", "pop3", "", "", "", "")
   HamFetchMail("pop3.worldonline.fr", "pop3", "", "", "", "")
   
   HamFetchMail("pop.Whatyouwant.com ", "pop3", "$1", "", "", "")
   HamFetchMail("pop.teaser.fr", "pop3", "", "", "", "")
   HamSendMail( "smtp1.serv.er", "smtp", "john\.doe@serv\.er" )
   HamWaitIdle
   HamNewsJobsClear
   HamNewsJobsPostDef
   HamNewsJobsPullDef
   HamNewsJobsStart
   HamWaitIdle
   if ($cnx = 0)
      HamRasHangup
   endif
endif
endsub

-- 
Christophe Esperado
Si vous trouvez mes signatures stupides, ne vous �tonnez pas:
c'est un programme informatique qui s'en occupe.
Technical Details
Message-ID: <9gob91.3vuc8kn.2@ch.esperado>
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!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fr.clara.net!heighliner.fr.clara.net!isdnet!isdnethub!not-for-mail
References: <t5127230902@archiver.winews.net> <1bmkitotokluf2goarhb9319ogpgensnhk@4ax.com> <9ge6pk.3vugpch.2@ch.esperado> <a2drit8ku7s5go911eq0lktdfn2cmv1g0f@4ax.com> <9gkncl.3vuc3u9.2@ch.esperado> <v0isito8pism2odec84fcmi3l3ob72opaf@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <9gob91.3vuc8kn.2@ch.esperado>
Subject: Re: Poll: Why do you love your newsreader ?
Date: Tue, 19 Jun 2001 20:04:48 +0200
From: "Ch.Esperado" <ch.esperado@libertysurf.fr.invalid>
References: <t5127230902@archiver.winews.net> <1bmkitotokluf2goarhb9319ogpgensnhk@4ax.com> <9ge6pk.3vugpch.2@ch.esperado> <a2drit8ku7s5go911eq0lktdfn2cmv1g0f@4ax.com> <9gkncl.3vuc3u9.2@ch.esperado> <v0isito8pism2odec84fcmi3l3ob72opaf@4ax.com>
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!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fr.clara.net!heighliner.fr.clara.net!isdnet!isdnethub!not-for-mail
Newsgroups: news.software.readers
Organization: Des orgues anisees
Lines: 57
Reply-To: ch.esperado@libertysurf.fr
NNTP-Posting-Host: 212.225.147.5
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news5.isdnet.net 992980319 87267 212.225.147.5 (19 Jun 2001 19:51:59 GMT)
X-Complaints-To: abuse@isdnet.net
NNTP-Posting-Date: 19 Jun 2001 19:51:59 GMT
User-Agent: Xnews/4.06.11 Hamster-Fr/2.0.0.8
X-original: Yes
X-Accept-Language: C++, Volapuk, Morse
X-Face: $k/>E2bZsF^95eh|D,LW;\o`fKrx2PwihX^KK"H7]+TM%,,PH(">F^G.,]6ILFbP?@j}vGY,*)Sy%_?\Ard!uohm{ySWjl01injiZ@u2mMo-Ix$<VB`ZLC'"Dxj"CNLNQ$@6z8G+W6g]xmM`!$O&W}@W'$2z7,(|.^&XCiz{J8P[)pD0-%%'snFXqa)4,P!<n5%v+9"61x}wH7Q;#RS?#sZxmNH_=!Q7lEkwpv<({@au/S3L%^D}1l7C6k<sdmy!]