From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Cc: aric2746 <aric2746@nyc.rr.com>
Subject: Re: vmodem patch
Date: Tue, 21 Jan 2003 21:37:01 +0300 [thread overview]
Message-ID: <3E2D934D.50008@yahoo.com> (raw)
Hello.
aric2746 wrote:
> This is a patch for vmodem, fixes something about child processes,
Dosemu doesn't spawn a child processes
(unless it is the 1.1.4+, but that's a
different story).
> Without
> the patch if a users hanged up while playing a door game on a bbs, the
> process would still be loaded, with this patch the problem is solved.
You are hacking leavedos(). When this is
executed, nothing will be loaded after.
I guess, what you are going to achieve,
is to pass the interrupt to the program,
so that it can react to a hangup and do
some cleanups before dosemu is terminated.
Hacking a leavedos() for it doesn't look
good. You can implement a separate handler
for SIGHUP instead.
10sec timeout also doesn't look good.
You can use an "interrupt acknowledge"
as an indicator. This will be an MSR
read in your case.
It is better to use a proper DCD mask
instead of 255, and to reset only the
ports that have a "virtual" flag (but
as dosemu is going to terminate at that
point, this is not very important:)
> I not
> a coder, so I hope someone can upgrade this patch to the lastest dosemu
> build along with vmodem.
Well, you have to describe the problem
in more details. I hope I guessed it
from the patch correctly, but guessing
the problems is not the best way to get
them fixed.
next reply other threads:[~2003-01-21 18:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-21 18:37 Stas Sergeev [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-21 16:30 vmodem patch aric2746
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=3E2D934D.50008@yahoo.com \
--to=stssppnn@yahoo.com \
--cc=aric2746@nyc.rr.com \
--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