Running nebraska on headless squeak
Lex Spoon
lex at cc.gatech.edu
Thu Jul 19 13:48:17 UTC 2001
Russell Allen <russell.allen at firebirdmedia.com> wrote:
> Hello,
>
> I've been trying to get a Nebraska server up and running on a FreeBSD
> box. I'm running a 3.0 image.
>
> The server starts up fine, but the world that it is serving is only
> about 40x40 pixels - which is a little to small to work with :)
Yes. I mean to fix this for real, one of these days, precisely because
I want to use Nebraska on headless images. With Nebraska, the
properties of the virtual display are suddenly important! They used to
not matter at all, and so there is a dumb hard-coded value for the
display size.
A fast fix is to look in sqXWindow.c for ioScreenSize(). The relevant
line is something like:
if (!isConnectedToXServer)
return ((64 << 16) | 64);
Change the 64's to a nicer size.
The good fix is to allow Squeak to resize this; there is a primitve for
this already, and one just needs to implement it.
> On a related note, is it possible anymore to build a unix vm on a
> machine without the X11 libraries?
It should be, but that doesn't mean that it is. Yay configure -- it
automatically does... something. Run it and see what happens :)
Lex
More information about the Squeak-dev
mailing list
|