From: tonyb@thekrnl.sysdev.org
To: linux-msdos@vger.kernel.org
Subject: Re: Signaling dosemu application to kill itself from Linux
Date: Wed, 6 Apr 2005 14:16:23 -0800 [thread overview]
Message-ID: <20050406141623.27619de0.tonyb@sysdev.org> (raw)
In-Reply-To: <42540908.4020405@aknet.ru>
On Wed, 06 Apr 2005 20:06:32 +0400
Stas Sergeev <stsp@aknet.ru> wrote:
> Hello.
>
> tonyb@thekrnl.sysdev.org 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.
>
> > 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.
>
> -
> 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
>
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
/ __|\\// __|| \ __ __ / tonyb@sysdev.org
\__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities
|___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers
next prev parent reply other threads:[~2005-04-06 22:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 16:06 Signaling dosemu application to kill itself from Linux Stas Sergeev
2005-04-06 22:16 ` tonyb [this message]
2005-04-07 0:47 ` Gene Heskett
-- strict thread matches above, loose matches on Subject: below --
2005-04-10 8:40 Stas Sergeev
2005-04-08 3:55 Stas Sergeev
2005-04-10 0:32 ` tonyb
2005-04-07 17:59 Stas Sergeev
2005-04-07 17:50 Stas Sergeev
2005-04-08 2:14 ` tonyb
2005-04-07 3:45 Stas Sergeev
2005-04-07 9:07 ` Andrew Brooks
2005-04-07 16:23 ` tonyb
2005-04-07 17:25 ` Gene Heskett
2005-04-07 16:06 ` Gene Heskett
2005-04-07 16:35 ` Andrew Brooks
2005-04-07 3:38 Stas Sergeev
2005-04-07 6:12 ` tonyb
2005-04-06 7:14 tonyb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050406141623.27619de0.tonyb@sysdev.org \
--to=tonyb@thekrnl.sysdev.org \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox