Newsgroups: comp.parallel.pvm
From: Clark Dorman <clark@s3i.com>
Subject: Getting command line input and output
Organization: PSINet
Date: 17 Feb 1998 13:19:50 -0500
Message-ID: <dwweuccvt.fsf@elmo.s3i.com>


Greetings,

	Maybe this is simpler than I think, but I've been having
problems with the user interface to my pvm-based process.  I have a
main controller (master) and several slaves performing activities.  

I would like to have a spawned user-interface that depends on the
availability of Motif.  If Motif is there then my make file defines it
and everything is fine (I send the user-interface the display name).

But, how do I do a command-line interface?  How do I set it up so that
standard input and standard output go to the spawned process and not
to the main (master) process that was called from the command line?  

If someone has a simple example, please share it with me.  Thank you
much in advance.

-- 
Clark

