🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.apple2.gno
3 messages
3 total messages Started by John MacLean Mon, 28 Dec 1992 22:03
Multiple Desktop Applications
#229
Author: John MacLean
Date: Mon, 28 Dec 1992 22:03
20 lines
1230 bytes
Would it be possible to:

- Intercept all toolbox calls to desktop related toolsets
(eg: window manager, menu manager, quickdraw, qd aux, etc).

- Keep an array of main window handles, one for each application
(process-id) that is started.

- Re-direct all screen oriented calls to operate on the main window
of the appropriate application.

- In this way, have multiple applications running on the desktop under
GNO, with each application running in a scaleable window with a menu bar.

Has anyone given this (or something similar) some thought?
-- 
This net: johnmac@fawlty.towers.oz.au                   Phone: +61 2 427 2999
That net: uunet!fawlty.towers.oz.au!johnmac             Fax:   +61 2 427 7072
Snail:    Tower Technology, 1 Apollo Pl,                Home:  +61 2 449 5930
          Lane Cove, NSW 2066, Australia.
Re: Multiple Desktop Applications
#230
Author: Jawaid Bazyar
Date: Tue, 29 Dec 1992 06:05
36 lines
1889 bytes
johnmac@fawlty.towers.oz.au (John MacLean) writes:

>Would it be possible to:

>- Intercept all toolbox calls to desktop related toolsets
>(eg: window manager, menu manager, quickdraw, qd aux, etc).

>- Keep an array of main window handles, one for each application
>(process-id) that is started.

>- Re-direct all screen oriented calls to operate on the main window
>of the appropriate application.

>- In this way, have multiple applications running on the desktop under
>GNO, with each application running in a scaleable window with a menu bar.

>Has anyone given this (or something similar) some thought?

  John,

  Lots of thought.  First off, there are lots of programs that people
will (reasonably) expect to run from such an environment.  The ones
I'm referring to, like modZap, soniqTracker, Finder, synthLab, Platinum
Paint, and many other, all write directly to the screen.  This is a big
problem and it's highly unlikely anyone will ever change these apps
to not write directly to the screen.

  Other than that, what you noted above is just a few of the things
that Switch-It! does to make its application switching environment
work for most programs.

-- 
 Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
 Procyon, Inc.              |   for the Apple IIgs!   
 bazyar@cs.uiuc.edu         |   P.O Box 620334
 --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
Re: Multiple Desktop Applications
#243
Author: John MacLean
Date: Tue, 29 Dec 1992 21:39
51 lines
3024 bytes
In article <bazyar.725609147@teal> bazyar@teal.csn.org (Jawaid Bazyar) writes:
>johnmac@fawlty.towers.oz.au (John MacLean) writes:
>
>>Would it be possible to:
>>[.....]
>>- In this way, have multiple applications running on the desktop under
>>GNO, with each application running in a scaleable window with a menu bar.
>>Has anyone given this (or something similar) some thought?
>
>  John,
>  Lots of thought.  First off, there are lots of programs that people
>will (reasonably) expect to run from such an environment.  The ones
>I'm referring to, like modZap, soniqTracker, Finder, synthLab, Platinum
>Paint, and many other, all write directly to the screen.  This is a big
>problem and it's highly unlikely anyone will ever change these apps
>to not write directly to the screen.
>
>  Other than that, what you noted above is just a few of the things
>that Switch-It! does to make its application switching environment
>work for most programs.
> Jawaid Bazyar

Just giving you a chance to plug Switch-It :-).

Seriously, I didn't think Switch-It put applications into scaleable windows,
I thought it JUST swapped out the entire screen (and all the toolset direct
pages, stack, global data, etc, etc, etc). Otherwise you would still have
the problem of programs writing directly to the screen.

What I was proposing was that tool calls were patched so that Quickdraw,
menu manager, etc, etc, were all actually only started once.
When multiple applications tried to start up screen based toolsets the
patch code would keep tables of virtual screens in windows, and only start
the toolsets if they had not already been started.
You wouldn't have direct page toolset conflict, because each toolset would
only be started once.
When toolcalls were made, the grafport etc would be set to the virtual
window of the appropriate application (determined via a getpid() and a
table lookup).
Although this is extremely complicated (as is what you have achieved), this
would allow (I would think) multiple desktop applications to multitask
PRE-EMPTIVELY.

As you suggested, this doesn't get around applications that write directly
to the screen, and more than likely there are other very serious problems
with existing applications.
-- 
This net: johnmac@fawlty.towers.oz.au                   Phone: +61 2 427 2999
That net: uunet!fawlty.towers.oz.au!johnmac             Fax:   +61 2 427 7072
Snail:    Tower Technology, 1 Apollo Pl,                Home:  +61 2 449 5930
          Lane Cove, NSW 2066, Australia.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads