In article <[EMAIL PROTECTED]>,
   James Taylor <[EMAIL PROTECTED]> wrote:
> On Sun 24 Mar, Richard Torrens (RiscOS) wrote:
> > 

[Snip]

> Then where's the problem? If it single tasks, any program running
> in a taskwindow on the same machine will not get control back
> until Blackhole stops single tasking. At this point you know that
> it has finished and is ready.

Agreed.

But some operations are on one computer, others on another. Unless these
take place in the correct sequence - there is a problem.

> > Whether a networked command can check the existemce of a file,
> > I don't know. Trials I have made along these lines throw up an
> > error window 'Please insert disc etc.'

> It seems I've misunderstood you. I thought the backup was being
> controlled by a Perl program running on the machine with
> Slackhole (whoops typo) Blackhole on it and that files were being
> copied from that machine onto another on the network.

Both computers have Blackhole on. Part on the re-inituialization if to
restart both Blackholes.

> Correct me if I've got this wrong but if you are remotely
> initiating a reboot on this machine and expecting Blackhole to
> perform its expiry as part of its startup before it begins to
> multitask, 

Not quite. I'm doing: 
Roscli -wimp office WO_RemoveTask "BlackHole2"
then
Roscli -wimp office Filer_Run ADFS::HD5.$.DataApps.!BlakHole2

Roscli is the command for !OscliD and WO_ is in WindOpen

> then all you need is a Filer_Run command in
> Blackhole's !Run file to trigger off some other program once
> Blackhole has finished. That other program might be as simple as
> an obey file that creates an empty marker file on the remote
> machine, or as complex as a full Perl program to carry on with
> the backup process.

Yes: that might work. I was trying to do to much in one program I think. I
can actually do a
Roscli -wimp office Roscli -wimp lab Filer_Run filename
which will stack in the Roscli queue and only start the second half when
the first has completed.

There's a funny in ShareFS about closing a file on a remote computer. This
messes up Perl's open statement, so you cannot check it for success.

> It occurs to me that you wouldn't need to perform a reboot either
> if you could just send Blackhole a faked Wimp message with a
> menu clicked reason code. (!Keystroke will do this kind of thing
> for you if you don't wish to write a little program yourself.)

May investigate that later.

Keystroke can do rather too much. I find it impossible to remember half of
whayt it can do!

-- 
-------------------------------------------------------------------------
Richard Torrens
4QD manufacture speed controllers for battery electric motors.
www sites http://www.4QD.co.uk http://www.4QDtec.com http://www.4QD.org
All email addresses are copyright.
Resale or use on any lists is expressly forbidden
---------- We use a RISC PC 32 bit RISC computer  ----------------

Reply via email to