The behavior is determined by which operating system the application is written under: GS/OS or ProDOS 8.
The ProDOS 8 quit command is quite simple and does not have the ability to put the name of the application to return to on the return stack. ProDOS applications "quit to" the program named Start in the GS/OS volume. As shipped, this is the Finder. However, if the startup program has been set in the AppleShare Admin application, the Finder may not be the "start" program any longer. Whatever is set in Admin is the application to which the ProDOS 8 programs return.
GS/OS applications have the ability to put the name of the program to which one returns onto the return stack. If properly written, quitting a GS/OS application returns the user to the same application that launched the GS/OS program just quit.
For your examples:
- We defer to Russ Systems about all Let's Share issues.
- We are still trying to work a variety of issues out with Medley. We will add this one to the list to investigate.
- With Aristotle (ProDOS 8) as the Admin set startup application, launching the Finder (GS/OS), then launching "Application X" (apparently, a GS/OS application from the behavior described), and quitting "Application X", it would be correct to finish at the Finder, if "Application X" is, indeed, a GS/OS application. Quitting the Finder (GS/OS) would then return to the application that launched it, Aristotle.
- In the next example, instead of launching "Application X", the user launches "Application Y" (apparently, a ProDOS 8 application from the behavior described), then quits "Application Y", and finishes in Aristotle. This would be the correct behavior for a ProDOS 8 "Application Y".
Instant Pascal has several issues associated with it. The primary issue is that it is neither a ProDOS nor a GS/OS application. Instant Pascal has its own operating system with its own input/output routines. These I/O routines know nothing about the network. It is, thus, totally logical that Instant Pascal disregards all network activities. The only solution is to rewrite the Instant Pascal operating system. It is unlikely that this solution will ever be considered.