From mboxrd@z Thu Jan 1 00:00:00 1970 From: "administrator" Subject: RE: Three major questions. Issue 4 Date: Sun, 7 Sep 2003 01:28:09 +0000 (UTC) Sender: linux-msdos-owner@vger.kernel.org Message-ID: <01C374BE.1EDFD660@VORPAL> Reply-To: administrator@mail.hq42.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Date: Sat, 6 Sep 2003 21:30:39 -4:00 List-Id: To: linux-msdos@vger.kernel.org Maybe you were thinking that it directly takes DOS commands. It doesn't. No "dir" and "copy", but "xmode" and "hog" are valid commands. It controls certain aspects of a virtual machine. That is not much help.... I need a dos shell, that will take input from a pipe. Is there any way to do this with dosemu? I have tried while : ; do ( cat pipein ) done | dosemu.bin -U pipein:pipeout >> pipeout It works for the first carriage return ( at the "enter to start" prompt ) then the pipe is useless I suspect dosemu spawns a child process.... the pipe of course does not follow the child, it is talking to a sleeping parent process. Any ideas on a way around this? > Does this "feature" actually work? ( in 1.1.5.6 ) > Has it ever worked in any version? > ( with normal FIFO files driven by a frontend ) it works like I showed you. Not more not less. I have the picture on -U now it is not what I thought. I need to access dosemu through pipes from a bash script start a process feed it input LOOP: get output ; analyze that ; send more input close dosemu and return to bash