DOSEMU: dosemu needs a standard input

DOSEMU: dosemu needs a standard input

Post by g.. » Sat, 21 Dec 1996 04:00:00



I've installed dosemu-0.64.2 and it works perfectly when run from a console or tty.  However I need to have some automated process run from the
web so I call dosemu in a perl cgi.  The older version of dosemu 0.62 worked as long as you called it like this:

system "dos -F /etc/dosverify.conf < /dev/tty5 > /dev/null";

It seemed to use /dev/tty5 as the standard input and be satisfied however the new version does not work.  It executes and dies without giving an error message.
Does anybody have any idea how I could provide a terminal somehow get it to work from the web cgi?  Thanks in advance.  

 
 
 

DOSEMU: dosemu needs a standard input

Post by Sid Boyc » Wed, 25 Dec 1996 04:00:00



> I've installed dosemu-0.64.2 and it works perfectly when run from a console or tty.  However I need to have some automated process run from the
> web so I call dosemu in a perl cgi.  The older version of dosemu 0.62 worked as long as you called it like this:

> system "dos -F /etc/dosverify.conf < /dev/tty5 > /dev/null";

> It seemed to use /dev/tty5 as the standard input and be satisfied however the new version does not work.  It executes and dies without giving an error message.
> Does anybody have any idea how I could provide a terminal somehow get it to work from the web cgi?  Thanks in advance.


        I would also like to know the answer, there is a forcevtswitch
parameter for video{ } in /etc/dosemu that I'm using, if I do "dos -dC",
it switches from X to a free VC and does not output, it starts the
printer which then prints out some graphics type rubbish and you need to
kill dosemu.
Regards
--

                   -----------------------------------
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.