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

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to