Article View: comp.sys.acorn.networking
Article #165Re: Running FreeNews and the ANT Suite together
From: Torsten Karwoth
Date: Sun, 25 May 1997 00:00
Date: Sun, 25 May 1997 00:00
56 lines
2577 bytes
2577 bytes
In message <ant2322430b0SZmY@pigott.demon.co.uk> Malcolm Pigott wrote: > Hi, > > I would like to start FreeNews automatically, at a certain time using the > stack that the ANT Suite II uses. I can kick off a connection on the ANT > Suite OK and can also start FreeNews, but what I was wondering is if there is > a way to stop FreeNews trying to connect to the news until the stack has > connected to the 'net (I'm using Dial Up)? > > At the moment, FreeNews locks up the machine if a connection to the 'net is > not available when it starts up. BTW, all this is automatic, with no manual > intervention (using Task Alarms and scripts at the moment). However, I don't > always get a connection first time and the last thing I want is to get home > to find a hung machine! > > Any advice? Hmm, i'm using FreeNet and FreeNews and the PPP driver from sergio monesi. The PPP driver calls a file called "IP-UP" when the IP-connection is established. I've modified (added) the line SYS "XOS_CLI","Filer_Run InetDBase:!AutoRun" to it, so it will execute the Obey-File "!AutoRun". I don't know the ANT suite but you should look if there is such a "mechanism". "IP-UP" gives a BEEP when the connection is "clear", btw. btw: !AutoRun contains: | | This File "!AutoRun" is called after PPP-Driver calls IP-UP! | *WimpTask POP -out -in -user tkarwoth *WimpTask EnsureTask -task "FreeNews" -command "<FreeNews$Dir>" *WimpTask EnsureTask -task "ArcWeb" -command "<ArcWeb$Dir>" btw (2): There are two utilities, one called "EnsureTask", the other is called "TaskEnsure" ;-) They do rather the same (checking if an application (TASK!) is already loaded) Hope this helps -- _________ |/ ______ ____ ___ __ _ _ _ _ _ |orsten |\arwoth http://home.braunschweig.netsurf.de/~torsten.karwoth/index.html Home of Xonerator
Technical Details
Message-ID:
<19970525.113956.56@pkarwoth.braunschweig.netsurf.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<ant2322430b0SZmY@pigott.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114044,2cda946920abe460 X-Google-Attributes: gid114044,public X-Google-Thread: 11173c,2cda946920abe460 X-Google-Attributes: gid11173c,public From: tkarwoth@braunschweig.netsurf.de (Torsten Karwoth) Subject: Re: Running FreeNews and the ANT Suite together Date: 1997/05/25 Message-ID: <19970525.113956.56@pkarwoth.braunschweig.netsurf.de> X-Deja-AN: 243834768 References: <ant2322430b0SZmY@pigott.demon.co.uk> X-Posting-Agent: RISC OS Newsbase 0.58 X-NNTP-Poster: FreeNews 1.13 Organization: Private zone Reply-To: tkarwoth@braunschweig.netsurf.de Newsgroups: comp.sys.acorn.networking,demon.ip.support.archimedes