From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,54d412588ee3bf76 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-05 12:43:03 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!hookup!ames!tgv.com!WING From: wing@tgv.com ("Dan Wing") Newsgroups: comp.sys.dec Subject: Re: tcp/ip: notification via ftp Date: 5 Jan 1995 20:43:03 GMT Organization: TGV, Incorporated Message-ID: <3ehlkn$245@news.arc.nasa.gov> References: Reply-To: wing@tgv.com NNTP-Posting-Host: hq.tgv.com In article , Cary Lewis writes: [...] #run a remote program via rshell and rcmd: # #This works quite well but rcmd and rshell can take a long time to execute. #In tests that I have done, it's taken up to 10 seconds for a simple #rshell command to run. Add code like: $ IF F$MODE() .EQS. "OTHER" THEN EXIT near the top of both the SYS$SYLOGIN (usually SYS$MANAGER:SYLOGIN.COM) and the user's login file (usually SYS$LOGIN:LOGIN.COM). That will bypass all the (likely unnecessary stuff) and get the RSHELL command to complete a bit faster. #Use ftp to send a file to a named pipe: # #This works well for the Unix side, but ftp will hang if no process is reading #the named pipe. Also I don't know if "named pipes (FIFOS)" exist #in VMS. Nope. #Can anyone suggest a notification scheme that consists of two processes #being blocked (one on each machine) that unblock when a file is transferred, #or deleted, or permissions are changed. # #This must be a fairly common problem and I'm sure an elegant solution exists. RSHELL is probably the best solution; you could simply do the FTP from the Unix side, then a simple RSHELL to the VMS system which SUBMITs a batch job that does work on the VMS system to move the file out of the spool area, or whatever needs to be done -- that way the VMS system could do the work without tying up the Unix side. -Dan Wing, wing@tgv.com