Aucbvax.5725
fa.info-vax
utcsrgv!utzoo!decvax!ucbvax!info-vax
Tue Jan 12 15:42:25 1982
Switching input streams
>From TLD@MIT-MC Wed Jan  6 20:11:53 1982
I'm trying to switch input streams to a user program running under
VAX/VMS and can't make it work.  Perhaps someone out there can help me
or tell me why it can't be done?

What I want to do is to call a user program (to which I do not have
access to the source) from a COM file, pass it some data from the
file, switch the input to the terminal until the user program quits,
and then get back to the COM file.  I tried using $ DECK ... $ EOD,
which passed the data from the com file correctly but then went back
to system command level.  Elimination of the $ EOD caused the user
program to receive strange input from somewhere which eventually
caused it to blow up.

Any suggestions will be greatly appreciated!

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.