Skip to contentSkip to conversation

Three major questions. Issue 4

DISCUSSION administrator 1 participant 1 message Sep 7, 2003

lore
Share & tools
lore
#0 lore raw

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?

Quoted 3 lines

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