[comp.sys.mac.hypercard] HC and Locked disks

levesque@csli.Stanford.EDU (Hector Levesque) (09/15/90)

For reasons that I don't think were ever made clear in the Apple HC book, HC
needs to be run from an unlocked disk.  What I would like to be able to do is
lock my hard disk and let young'uns explore and run HC, saving their files on a
floppy.  But just moving HC and Home to an unlocked floppy doesn't work.  I'm
not sure why, but I guess HC must be trying to write something to the System
Folder on the locked disk, though I can't see what.  The alternative that does
work is clumsy: also put a copy of System Folder on the floppy, and reboot.
Anyone have a better workaround?  How about HC 2.0?

Thanks

Hector Levesque
Dept. of Computer Science
U. of Toronto
hector@ai.toronto.edu

ollef@sics.se (Olle Furberg) (09/15/90)

Sounds like you have an old version of HC like 1.0*.

levesque@csli.Stanford.EDU (Hector Levesque) (09/18/90)

One reason HC (even 1.2.5 under System 6.0.5) won't run with a locked startup
disk is that for some reason it wants to overwrite the clipboard file in the
System Folder as it starts up.  You can confirm this by doing a "Get Info" on
this file, and clicking the "Locked" checkbox, to lock the file.  Presto: HC
will not run!  If there is no clipboard file, it will insist on creating one.
So what gives?  Is there a way of getting HC to leave that file alone??

Thanks

Hector Levesque
Dept. of Computer Science
U. of Toronto
hector@ai.toronto.edu

gandalf@apple.com (Martin Gannholm) (09/19/90)

In article <15384@csli.Stanford.EDU> levesque@csli.Stanford.EDU (Hector 
Levesque) writes:
> One reason HC (even 1.2.5 under System 6.0.5) won't run with a locked 
startup
> disk is that for some reason it wants to overwrite the clipboard file in 
the
> System Folder as it starts up.  You can confirm this by doing a "Get 
Info" on
> this file, and clicking the "Locked" checkbox, to lock the file.  
Presto: HC
> will not run!  If there is no clipboard file, it will insist on creating 
one.
> So what gives?  Is there a way of getting HC to leave that file alone??

In HyperCard 1.2.5 and earlier Bill made a call to UnloadScrap to free up 
the memory that the clipboard may be taking. If this returned an error 
code (which will happen if the Scrap Manager can't write to the Clipboard 
file), HyperCard would quit. Silly, eh?

Well guess what? We thought it was silly too, and "fixed" it in 2.0. You 
should be able to run HyperCard 2.0 with a locked startup disk.

Martin Gannholm
Apple Computer

Exclaimer !!! I typed this myself which should be proof enough that I 
speak for myself...