Mail Archives: djgpp/1996/08/09/07:52:56
On Thu, 27 Jun 1996, Eli Zaretskii wrote:
Sorry for not answering before. I've been out of net.
>
> On Wed, 26 Jun 1996, Garrido Freire, Fco. Javier ((R)JA.GAR. SOFT) wrote:
>
> > MULTITASKING IN DOS? Yeah!! Just, have a look at the
> > well-known debug program. DOS can run two programs, debug itself,
> > and that one which debug is debugging. You decide when DOS must
> > run debug's code and when child's code by means of 'T'rap and
> > 'G'o debug's commands. You work as a scheduler.
>
> Check out the DJGPP support for debugging in the djlsr200.zip archive
> (directory src/debug). If DOS debug method can be a basis for
> multi-tasking, so can DJGPP's debug support.
>
RIGHT! That's what I *exactly* meant. If a debugger can run a
child, Why couldn't it run several ones? This support could be
in, say, go32.exe, (sorry DJ, more code in go32!!).
Now, guess we have a shell like sh, ksh, bash, tcsh ... from,
say, LINUX. Compiling it with DJGPP we had a authentic shell with
flat memory model and PM for her children. You shouldn't need change
anything on it. If it's given a good interface for fork(), pipe(),
wait() getpid(), ... multitasking doesn't (shouldn't) depend on
usr's code. I don't mind if it uses multithread, multitasking or
whatever, while it uses UNIX's fork/exec + IPC interface.
-------------------------------------------------------------------
F. Javier Garrido F. (R)JA.GAR. SOFT Dpto. de Computacion e IA
MINIX User. (USENET comp.os.minix & SCS) Facultad de Informatica
Email: Francisco-Javier DOT Garrido AT cs DOT us DOT es y Estadistica de Sevilla
URL: http://www.cs.us.es/~garridof (SPAIN)
"The light that burns twice as bright, burns half as long ...
... and you have burned so very, very brightly, Roy."
TYRREL from Blade Runner
- Raw text -