From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Knight Subject: Re: Start DOS application from linux Date: Mon, 08 Dec 2008 14:06:52 -0800 Message-ID: <493D9A7C.1070904@rlknight.com> References: <49174C88.2010005@mindspring.com> <4929CB82.8020306@rlknight.com> <20081123161420.92ec82ff.theatre@sasktel.net> <4929DF29.9020308@rlknight.com> <493C87C3.5060205@yahoo.ca> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <493C87C3.5060205@yahoo.ca> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: dosemu Thanks Jaime, What I found works for me is "/usr/bin/xdosemu -w -E c:\mybat.bat" Thought I had posted here, maybe not. Thanks again, Rick Jamie wrote: > Hi Frank and Rick, > > The line will (likely) work as Rick wants it to, as long as the > "-dumb" is removed. (It worked for me.) > > Try using: /usr/bin/dosemu -input 'c:\\mybat.bat\r' > > jamie > > > > Rick Knight wrote: >> Frank Cox wrote: >>> On Sun, 23 Nov 2008 13:30:42 -0800 >>> Rick Knight wrote: >>> >>> >>>> I've done this before, but I've forgotten how. I want to start a >>>> DOS application from a linux shell script. I want the script to >>>> start xdosemu and then start the application (blood.exe) and then >>>> when I exit the application I want the script to exit xdosemu. I >>>> have done this before, but it's been a while and I've forgotten how >>>> I did it. Can someone refresh my memory? >>>> >>> >>> /usr/bin/dosemu -dumb -input 'c:\\mybat.bat\r' >>> >>> Put "exitemu" as the last line in mybat.bat. >>> >>> >> Frank, >> >> I've tried this. The game starts and I can hear the sounds, but I >> don't get a window or full screen game image. Just sounds. >> >> Thanks, >> Rick >> >> -- >> To unsubscribe from this list: send the line "unsubscribe >> linux-msdos" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >>