Signaling dosemu application to kill itself from Linux
Hello.
Quoted 3 lines · [email protected] wrote:
The problem is that if dosemu is killed from Linux (crond), and the dosemu console is in focus, the screen/kbd could cause Linux to reboot
No! It can't! If it does this, then it is a misconfiguration/ bug/outdated kernel/outdated dosemu/ dosemu with root privs/ or whatever, but not the supposed behaviour. With the sane setup such a things simply cannot happen. Please explain your problem in *much* more details.
Quoted 1 line
because they were left in a bad state by a dos tsr.
You can extend the dosemu startup script, or start it from another script, which, after dosemu exits, will restore the keyboard and the console state. But no, this have nothing to do with rebootes etc, so please explain your problem in details.
Quoted 25 lines · On Wed, 06 Apr 2005 20:06:32 +0400 Stas Sergeev <[email protected]> wrote:
Hello.
Quoted 3 lines · [email protected] wrote:
The problem is that if dosemu is killed from Linux (crond), and the dosemu console is in focus, the screen/kbd could cause Linux to reboot
No! It can't! If it does this,
then it is a misconfiguration/
bug/outdated kernel/outdated dosemu/
dosemu with root privs/ or whatever,
but not the supposed behaviour.
With the sane setup such a things
simply cannot happen. Please explain
your problem in *much* more details.Quoted 1 line
because they were left in a bad state by a dos tsr.
You can extend the dosemu startup
script, or start it from another
script, which, after dosemu exits,
will restore the keyboard and the
console state. But no, this have
nothing to do with rebootes etc,
so please explain your problem in
details.
Quoted 5 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Basically, now that I have you on this, I am going to do some more tests.
The kernel version: 2.4.27 w/libc2.3.2
The shell : bash v2.05.0(1)
The Dosemu version: 1.3.1 + time patch
user, currently root, but I believe also non-root
going to retest that.
from shell, run a /bin/sh script that runs dosemu in a while []; do .... done loop
from crond root run a line that touches a 'restart' file in C:/ and kills -TERM dosemu.bin, exiting to the original shell while [] loop, the screen is ok (the shell's) but the kbd is in echo strange characters mode and not passing to the original shell. dosemu is not restarted, no way to do a ps to check what is running.
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!
more later
Thanks
TonyB
--
__ __ _ I N C. http://www.sysdev.org
/ __|\\// __|| \ __ __ / [email protected] \__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities |___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers
On Wednesday 06 April 2005 18:16, [email protected] wrote:
[...]
Quoted 6 lines
Basically, now that I have you on this, I am going to do some more tests.
The kernel version: 2.4.27 w/libc2.3.2
The shell : bash v2.05.0(1)
The Dosemu version: 1.3.1 + time patch
Mmm, what is this time patch, and where can it be obtained?
Thanks Tony.
Signature · 8 lines
Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.34% setiathome rank, not too shabby for a WV hillbilly Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved.