Thanks John,
Actually I found that it didn't seem to matter much what the value of
LSBackgroundOnly was. Just starting up from the command line in
terminal with the option "-headless" was enough to have it come up
without a GUI (in OS 10.4 Tiger).
I went to:
http://www.squeak.org/Download/
Somehow my eyes missed the link to the pre-compiled unix binaries for
OS X. Thanks for alerting me that they are there, I see them now. I
guess because they weren't listed in the Mac section but in the
general unix section I glossed over them. Anyway, I downloaded the
unix source from there and compiled. Wow! it was really easy and
really fast. I passed the following line to configure before I compiled:
../platforms/unix/config/configure --without-quartz --without-x
after doing "make" and "make install" I ran the following to test it
out from the terminal first:
squeak -vm-display-null -vm-sound-null -headless /Applications/
Pier-1.2.app/Contents/Resources/pier.image
Unfortunately I got hit with:
This interpreter (vers. 6502) cannot read image file (vers. 6504).
Press CR to quit...
You see, I downloaded the Pier one-click-install bundle from the
piercms website... as Pier is really the product I want to play with
most at this moment and I figure this image would be the most up to
date. But now digging under the covers it appears that maybe this one-
click install does not use true Squeak but the new "Pharo" VM?
Many thanks,
-- Aaron
On Aug 1, 2009, at 8:20 PM, John M McIntosh wrote:
LSBackgroundOnly ok let me look at that logic.
Yes it appears you must pass in your wish to make the vm -headless
via the command line.
Otherwise it will switch the LSBackgroundOnly to no so that the
application icon will appear in the doc
If you set LSBackgroundOnly to yes and pass in -headless then it
will run headless and not appear in the dock.
In trying this I had to do
./Squeak\ VM\ Opt.app/Contents/MacOS/Squeak\ VM\ Opt -headless
Squeakx.image
so you need to indicate both headless and where the image is, and
set LSBackgroundOnly to YES
However I did not check this outside of having a user logon.
Also see
http://developer.apple.com/documentation/Carbon/Conceptual/
LaunchServicesConcepts/LSCConcepts/LSCConcepts.html#//apple_ref/doc/
uid/TP30000999-CH202-DontLinkElementID_3
and maybe
http://developer.apple.com/technotes/tn2002/tn2062.html
You know your other choice is you can use the unix version of the
squeak vm that has been compiled to run on os-x.