In article <[EMAIL PROTECTED]>, James Taylor <[EMAIL PROTECTED]> wrote: > On Tue 26 Mar, Richard Torrens (RiscOS) wrote: > > > > But some operations are on one computer, others on another. Unless > > these take place in the correct sequence - there is a problem.
> Perhaps what you need is two Perl programs talking to each other > over the network. It looks fairly easy to do with the standard > IO::Socket modules although I've not tried it myself. Maybe. ATM I'm trying an Obey file for the initial bits, which triggers a Perl program as it ends. But I suspect I will encounter timing problems here. > > Roscli is the command for !OscliD and WO_ is in WindOpen > I'm not familiar with OscliD Very useful for sending *commands over the network. http://www.colegium.demon.co.uk/software > but if you're running it, I hope there's no possibility of anyone on the > network being able to abuse it. The network here is run on trust ATM. Not many users! But yes, theye can be security issues in future. > At least if you wrote two Perl programs talking to > each other over IP, you could build in a little security. > They wouldn't even need to pass real star commands between them, > just messages to indicate to each other that the next stage of > the backup procedure should be triggered. Yes. Not sure ATM how todo that. But it sounds a good idea. > > 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. > Interesting, can you give more details? It showed up first with SparkFS (at least, suspect that's related) - open an archive on another computer and you cannot manipulate it. Then I had problems with Perl. Small prog attached. It works fine as is but change the ADFS to Share and it hangs, never creating the file. If the file already exists, then it goes through. But that's running this prog from HD4. Changing Share::HD4 to Share HD5 works if the file exists, but if not the program creates the file but never gets back the file handle (or so I believe) so hangs at this point. Excaping leaves the file open. So share works differntly to ADFS and differs is it accesses the host computer or a remote one. This BTW is with RO4. -- ------------------------------------------------------------------------- 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 ----------------
Open outfile
Description: Binary data