At 2:49 PM +0100 on 11/18/99, M. Uli Kusterer wrote:
>> check for existing temp file, create temp file [no temp races, please]
>> copy stack to temp file
>> use temp file
>> on quit:
>> exec copy-back-stack
>> NuCard is now no longer running; copy-back-stack is
>> copy back the temp file
>> exit
>
>Anthony,
>
> you're talking about a hack like SuperCard's "Bridger" application, right?
Haven't really used SuperCard.
>A program that is started when OpenCard quits and then copies back the
>stack? Well, basically I like this, although it's a rather crude hack.
I think we can get around it fairly easily. I think one can write to a
running executable on Unix systems.
>But
>the temp file should still only override existing blocks. This way we don't
>have to copy the whole stack into the standalone, but only the parts that
>actually changed. Else we'll get a major slowdown.
Agreed. You get to hack it into XBF, though :)
>
>>You can do it on the Mac -- I think Scott's just scared of messing up and
>>destroying the executable, crashing the mac, and making the user unhappy.
>
> No! You didn't read what I wrote. Go re-read it. Bad boy. <g>
<Whumper> <whine> <cry> <throw temper tantrum> <g>
<go fetch temper tantrum and repair it -- broke on impact>
> He chose the second. We could use the third, which is adding a crude hack
>to work around this problem. I like crude hacks! :-)
And, of course, choose the first option where we can.