[comp.sys.mac] Another TOPS problem

lsr@Apple.COM (Larry Rosenstein) (05/05/89)

TOPS has other problems as well, if you are using MPW.  

TOPS uses the calls PBHGetVol and PBHSetVol whenever a disk is mounted.  
Unfortunately, the use of PBHSetVol is discouraged by Tech Note 140 
because it confuses applications that simply call PBGetVol.  

The symptom is that you are running MPW and insert a floppy disk (or mount 
any disk), and then try to run a script in the current directory.  MPW 
says that the script is not found, and you will find that the current 
directory has reverted back to the root of the volume.

TOPS is not the only offender in this case, any INIT that calls PBHSetVol 
will cause the problem.  MPW is not the only application affected.  Any 
application that assumes the current volume remains the same will be 
affected.  (For example, my TimeKeeper program sometimes writes its 
preferences file in the root of the volume for the same reason.)

My other gripe about TOPS is that it hardwires the number of zones it can
support.  Unfortunately, we have many more zones here than they support
(even in the 2.1 version).  It would be nice if they made TOPS work with
the Chooser rather than have their own DA.

Larry Rosenstein, Apple Computer, Inc.
Object Specialist

Internet: lsr@Apple.com   UUCP: {nsc, sun}!apple!lsr
AppleLink: Rosenstein1