[comp.os.vms] DCL prompt from a spawned process?

hvo@hawk.ulowell.edu (Huy D. Vo) (03/21/88)

	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          |
		----------------------