delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/26/01:59:50

Message-ID: <MAPI.Id.0016.00656e65622020203030303530303035@MAPI.to.RFC822>
In-Reply-To: <Pine.SUN.3.91.961226081853.6244D-100000@is>
References: Conversation <Pine DOT LNX DOT 3 DOT 93 DOT 961223223553 DOT 2067D-100000 AT web DOT wa DOT net> with last message <Pine DOT SUN DOT 3 DOT 91 DOT 961226081853 DOT 6244D-100000 AT is>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
MIME-Version: 1.0
From: Gene Buckle <geneb AT web DOT wa DOT net>
Subject: Re: Need "fancy" trick...
Date: Wed, 25 Dec 96 22:33:52 PST

> > I need to develop a program that will act as a "shell" or kernel to =
other
> > applications.  Writing an app that hooks an INT for communication bet=
ween
> > the shell and application isn't a problem.  My sticking point is find=
ing a
> > good method of *executing* the application within the shell and have =
the
> > app still be able to talk to the shell via the interrupt hook for doi=
ng
> > special "system" calls such as graphics drawing, etc.
> 
> What's wrong with library functions such as `system' and `spawnXX'?  =

> Don't they fit the bill?  If you install your own interrupt hooks, I =

> don't think you need anything special from the function which launches =

> the child.
> 

Eli, my understanding of system() and the spawn() functions leads me to =
belive that the program that issues those calls could be swapped out of =
memory.  This would be VERY bad.  If that is not the case, I'm still susp=
icious.  It's just _too_ easy of a solution. ;)

Thanks for the response.

---
Gene Buckle, Systems Administrator (BOFH!)
Washington Internet Services
206.926.2552
geneb AT web DOT wa DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019