Path: utzoo!attcan!utgpu!sarathy From: sarathy@gpu.utcs.utoronto.ca (Rajiv Sarathy) Newsgroups: comp.sys.apollo Subject: Re: Creating a window on a remote node Message-ID: <1989Aug17.083649.3654@gpu.utcs.utoronto.ca> Date: 17 Aug 89 12:36:49 GMT References: <492@calmasd.Prime.COM> <44ed8514.ce45@apollo.HP.COM> Reply-To: sarathy@gpu.utcs.UUCP (Rajiv Sarathy) Distribution: usa Organization: University of Toronto Computing Services Lines: 67 Checksum: 52196 In article <44ed8514.ce45@apollo.HP.COM> gaz@apollo.HP.COM (Gary Zaidenweber) writes: >From article <492@calmasd.Prime.COM>, by sas@calmasd.Prime.COM (Shirley Sloper): >> >> Messages from long ago.... >>> Someone writes: >>>>From: "ANIMAL::THOMPSON">>>>Subject: Re: Placing a window on another node. >>>> But. back to the question at hand. >>>> [Great info on how to creat a pad on another node via send_alarm or >>>> crp/crpad] >>>> >>>>John Thompson >>> >>>Either way (send_alarm, crp/crpad, /bin/write, or /bin/wall), you can't >>> [blah, blah, blah.....] >> >> >> Hello, >> >> Does anyone remember the above discussion? (I'm sorry the references >> aren't there, this is all I can find.) I had just started reading the >> group (June?) and I believe the main discussion may have been concerning >> borrow mode. I'm not interested in borrow mode, what I would like is >> the "great info on how to create a pad on another node...", that the >> message refers to. Can someone inform me how to do this? >> >> This is the situation I am dealing with: A process on node A starts a >> process (CPS) on node B. I want the node B process to be able to >> inform node A that it is finishing, (either from a shell script or C >> module). Most probably, the originating process on A is no longer >> running. What I would like to do is create a window back on node A. >> >> Thankyou, thankyou, thankyou! >> >> >> -- >> Shirley A. Sloper sas@calmasd.prime.com >> ****** Calma ****** >> ** 9805 Scranton Road ** >> ** San Diego, CA 92121 ** > >The following module sort of emulates the system() call, creating >a window to run the shell. It runs under sr10.1+ (and maybe 10.0 >I just haven't tried and don't expect to). I run in a sysV environment >but I know this works in Aegis and BSD too. I believe that it will >not run under sr9.7 without modifications.: > >#include >#include > [long c program] Why can't you just do this: crp "/com/crpad " -on // -me This will place the contents of in a read-only window on // -- _____________________________________________________________________________ | Disclaimer: I'm just an undergrad. All views and opinions are therefore _ | | my own. /\ /\ /-----------------------------------oO(_)| | / \ / \ / NetNorth: sarathy@utorgpu | | Rajiv Partha Sarathy / \/ \/ sarathy@gpu.utcs.utoronto.ca | | --------------------/ {uunet!attcan mnetor att pyramid}!utgpu!sarathy | |_____________________________________________________________________________|