[squeak-dev] headful evaluation of script, supplied on the command line, with Squeak 6
Eliot Miranda
eliot.miranda at gmail.com
Fri Jul 22 14:37:13 UTC 2022
David, Marcel,
> On Jul 22, 2022, at 6:03 AM, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
>
>
> Hi Eliot --
>
> > I've tried
> > ./Squeak.app/Contents/MacOS/Squeak trunk6-64.image -- --filein
>
> Well, that "--filein" is the mechanism of "DoItFirst" and not the good-old start-up *.st script. DoItFirst is triggered way too early for a typical script. Just do it as always then? "./vm my.image startup.st" would be my best guess.
Does it make sense then to have DoItFirst intercept — as a first argument and arrange that what follows is done later?
What about the drop files event? Perhaps DoItFirst should intercept — and do nothing, leaving if yo whatever generates the drop files event to initiate processing. I will experiment.
>
> Best,
> Marcel
>> Am 22.07.2022 03:24:07 schrieb Eliot Miranda <eliot.miranda at gmail.com>:
>>
>> Hi All,
>>
>> I'm trying ot update the VMMaker image build scripts. I've got as far as downloading the latest 6.x image and VM (much easier now; thanks to everyone who has made the github pages easier to navigate!!).
>>
>> How do I launch a trunk6 image with a script so that the system is running headful and one can see it make progress?
>>
>> I am launching with this on MacOS: and I get a headless blank screen that appears to be 640x480, quite different to the normal startup showing the configuration wizard I get f I launch without the arguments:
>>
>> ./Squeak.app/Contents/MacOS/Squeak trunk6-64.image -- UpdateSqueakTrunkImage.st
>>
>> where trunk6-64.image is a clone of e.g. Squeak6.0-22104-64bit.image
>>
>> I've tried
>> ./Squeak.app/Contents/MacOS/Squeak trunk6-64.image -- --filein UpdateSqueakTrunkImage.st ./Squeak.app/Contents/MacOS/Squeak trunk6-64.image --filein UpdateSqueakTrunkImage.st
>> etc, but get the 640x480 grey screen image.
>> _,,,^..^,,,_
>> best, Eliot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220722/701e6ee0/attachment.html>
More information about the Squeak-dev
mailing list
|