Newsgroups: comp.parallel.pvm
From: fantauzz@pluto.sm.dsi.unimi.it (Francesco Fantauzzi)
Subject: Re: "How can a slave program to write in screen?
Organization: Computer Science Dep. - Milan University
Date: 16 Jun 1995 12:38:03 GMT
Message-ID: <3rrtvb$8ch@ghost.sm.dsi.unimi.it>

In <3rnhadINN89k@duncan.cs.utk.edu> papadopo@cs.utk.edu (Philip Papadopoulos) writes:

>In article <3rn7qk$kv9@news.etse.urv.es> oriol <oriol@quimica.urv.es> writes:
>>Hello from Spain,
>>
>> I'd like to know a form in which  a slave program could write 
>>in screen. Currently only is able to do it the master.
>> [...]

If you want, you may have any slave spawned in a different window...
and you don't have to know X-windows. It's easy.

When you use pvm_spawn, you may use a flage to tell "I want this slave running
under debugger". Doing so, PVM doesn't run you slave directly, rather PVM
invokes:
pvm3/lib/debugger nome_slave

pvm3/lib/debugger is a shell script that opens a window then invokes 
pvm3/lib/debugger2. pvm3/lib/debugger runs a debugger (say dbx) with your 
program.
Simply: modify pvm3/lib/debugger and pvm3/lib/debugger2 scripts
 so they  run your slave WITHOUT debugger.

I'll post my pvm3/lib/debugger and my pvm3/lib/debugger2 in a few minutes...
check the other news in this group.

In those scripts, I use aixterm... you may change it with an xterm, rxvt or
what you want.

Enjoy,
  Francesco G. Fantauzzi


