From: "administrator" <administrator@mail.hq42.net>
To: linux-msdos@vger.kernel.org
Subject: RE: Three major questions. Issue 4
Date: Sun, 7 Sep 2003 01:28:09 +0000 (UTC)
Date: Sat, 6 Sep 2003 21:30:39 -4:00 [thread overview]
Message-ID: <01C374BE.1EDFD660@VORPAL> (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?
> 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
next reply other threads:[~2003-09-07 1:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-07 1:28 administrator [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-07 0:13 Three major questions. Issue 4 administrator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01C374BE.1EDFD660@VORPAL \
--to=administrator@mail.hq42.net \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox