From mboxrd@z Thu Jan 1 00:00:00 1970 From: "administrator" Subject: RE: Three major questions. Issue 4 Date: Sun, 7 Sep 2003 00:13:50 +0000 (UTC) Sender: linux-msdos-owner@vger.kernel.org Message-ID: <01C374B3.91421160@VORPAL> Reply-To: administrator@mail.hq42.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Date: Sat, 6 Sep 2003 20:15:07 -4:00 List-Id: To: linux-msdos@vger.kernel.org > $ cd src/tools/periph > $ mkfifo fdin fdout > $ xdosemu -Ufdin:fdout & > $ ./dosctrl fdin fdout > help > ack [{on|off}] get/set user hook handshake acknowledge > hello just for testing, any kinf of argument > kill kill the dosemu session from inside > version prints the dosemu version > keystroke insert keystrokes into the DOS session > log [debugflags] get/set debugflags which control log output > hog [value] get/set the HogThreshold > boot [{on|off}] get/set the mode of the vbootfloppy > xmode [] set X parameters, without args gives help > lredir n: dir [ro] redirect directory 'dir' to DOS drive 'n:' > help this screen > ecpu [{on|off}] get/set cpuemu > config print the current configuration > version > dosemu-1.1.5.7 > ^C > $ > > All this does is trade on input terminal for another... > and tie me to x as well. no, it is just an example. You can start dosemu instead of xdosemu if you like and start dosctrl in another terminal. All that dosctrl does it to talk to fdout and get input from fdin in an infinite loop. > I know how to create and permission a FIFO > it "talks" to dosemu fine ( dosemu reads from it ) > dosemu produces ( bogus) output on the output pipe > so we know it is connected to the output pipe.... > so why do I get the Command "whatever" not found > no matter what I type? if you type "help" it should present you with the above left. And the light comes on at last...:) I do have it setup correctly... I just do not have a dos shell I have the pre-initialization environment Is this correct? $ echo help > fdin $ cat fdout ack [{on|off}] get/set user hook handshake acknowledge hello just for testing, any kinf of argument kill kill the dosemu session from inside version prints the dosemu version keystroke insert keystrokes into the DOS session log [debugflags] get/set debugflags which control log output hog [value] get/set the HogThreshold boot [{on|off}] get/set the mode of the vbootfloppy xmode [] set X parameters, without args gives help lredir n: dir [ro] redirect directory 'dir' to DOS drive 'n:' help this screen ecpu [{on|off}] get/set cpuemu config print the current configuration 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. > 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. When I type "help" I get the correct output...:) but the keystroke command is giving me some trouble is the syntax like the -input flag? or do I put them in plain? ( no quote and no trailing \r ) send me a couple of quick examples of keystroke input syntax ( do you have to quote the string?)