Path: utzoo!mnetor!uunet!husc6!m2c!ulowell!hawk.ulowell.edu!hvo From: hvo@hawk.ulowell.edu (Huy D. Vo) Newsgroups: comp.os.vms Subject: DCL prompt from a spawned process? Message-ID: <5592@swan.ulowell.edu> Date: 21 Mar 88 09:21:35 GMT Sender: news@swan.ulowell.edu Reply-To: hvo@hawk.ulowell.edu (Huy D. Vo) Organization: University of Lowell, CS Dept. Lines: 36 Hi world, I have a program that spawns a process to execute DCL commands. I have arranged to have this process (running DCL) read input from a mailbox and output to another mailbox. Then I use read qio's on the second mailbox and send whatever the qio's return to my screen and to a log file. What I am trying to get is the prompt. Where does it go? Reading from the second mailbox only shows DCL output. No prompt! I can fake a prompt (in proc#1) but am still curious about the missing prompt. I would appreciate any help on how to get the *real* DCL prompt. I hope the following figure clarify what I am trying to do. Please e-mail any answers, suggestions, ideas. ------------------------- |proc#1 | | reading from keyboard | | output to mailbox | ------------------------- V mbox # 1 V ---------------------- | proc#2 (running DCL)| | read mbox#1 | | process command | | output to mbox#2 | --------------------- V mbox # 2 V ---------------------- | proc#3 | | read mbox#2 | | output to logfile | | and screen | ----------------------