[comp.sys.apollo] Input/Output redirection and parallelism

FERGUSON@BKNLVMS.BITNET (07/21/88)

We have a Dialog program which provides a user interface to ANSYS.
It does it by sending the regular text command line into a mailbox.

The reason for this is as follows:

     If you ran a program like this:

$ front-end | package

    The output of front-end doesn't get sent to the input of the
package until the front-end program is done. is there a way on
the command line to create one process for each part of the pipe?

It would be really keen to be able to 'pipeline' output instead of
just piping it.

The reason we're having problems now is that ANSYS got updated, and
we no longer have source code for their input routines.

It should be easy to create a preprocessor with dialog for any third-party
package that lacks in its user interface. This pipelining could be just the
trick.

Thanks to anyone who can help,

Scott Ferguson
ferguson@bknlvms.bitnet

Bucknell University

rees@A.CC.UMICH.EDU (Jim Rees) (07/23/88)

         If you ran a program like this:
     
    $ front-end | package
     
        The output of front-end doesn't get sent to the input of the
    package until the front-end program is done. is there a way on
    the command line to create one process for each part of the pipe?

You're probably using the wrong shell for this.  /com/sh uses temporary
files to simulate pipelines.  The other (unix) shells all make real
pipelines, and should do what you want.
-------