From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Signaling dosemu application to kill itself from Linux Date: Thu, 07 Apr 2005 07:38:57 +0400 Message-ID: <4254AB51.2010408@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. tonyb@thekrnl.sysdev.org wrote: > the screen is ok (the shell's) but the kbd is > in echo strange characters mode and not passing to the original > shell. "strange character mode" is probably the "raw" mode. You probably set $_rawkeyboard=(1) in your dosemu.conf. I suspect you also did some other unsafe changes in dosemu.conf, which, only coupled with the root privs, causes a reboot. (without the root privs the reboot is not possible by any means) To get out of the "raw" mode you can use either the kbd_mode command (which you have to put in your script), or the Alt-PrtSc-r keycombo. > dosemu is not restarted That's strange. I think this means that it is not really killed, and the process is still spinning. You can ssh to your PC and see what's going on in ps. > however, if I switch to a 2nd tty and run top, I see dosemu.bin > being restarted every 10min (for this test) and all is good! You can also try xdosemu (if possible) where all the like problems do not exist.