Hi folks,
Here are the diffs necessary to make a truly headless VM on UNIX boxes, since there were a few queries about it. Apply these diffs to the source file sqXWindow.c and compile with -DHEADLESS in the Makefile -- I've tested this on Solaris and Linux.
stp
--- CUT HERE ---
1537a1538
#ifndef HEADLESS
1539c1540 < ---
#endif
3185a3187
#ifndef HEADLESS
3189a3192
#endif
3190a3194
#ifndef HEADLESS
3191a3196
#endif
3194a3200
#ifndef HEADLESS
3196a3203
#endif
3198a3206
#ifndef HEADLESS
3200a3209
#endif
3201a3211
#ifndef HEADLESS
3204a3215
#endif
3291a3303
#ifndef HEADLESS
3297a3310
#endif
3321d3333 < else if (!strcmp(arg, "-headless")) headless= 1; 3325a3338,3339
#ifndef HEADLESS else if (!strcmp(arg, "-headless")) headless= 1;
3328,3329d3341 < else if (!strcmp(arg, "-nojit")) noJitter= 1; < else if (!strcmp(arg, "-spy")) withSpy= 1; 3331a3344,3346
#endif else if (!strcmp(arg, "-nojit")) noJitter= 1; else if (!strcmp(arg, "-spy")) withSpy= 1;
3343,3345d3357 < # if !defined(HEADLESS) < else if (!strcmp(arg, "-display")) displayName= saveArg(); < # endif 3346a3359,3360
#ifndef HEADLESS else if (!strcmp(arg, "-display")) displayName= saveArg();
3356a3371
#endif
--- CUT HERE ---
On Tue, 26 Dec 2000, Stephen T. Pope wrote:
Here are the diffs necessary to make a truly headless VM on UNIX boxes, since there were a few queries about it. Apply these diffs to the source file sqXWindow.c and compile with -DHEADLESS in the Makefile -- I've tested this on Solaris and Linux.
Thanks Stephen! It would be more helpful, however, if you sent context-diffs (produced by "diff -c") because these are less dependend on absolute line numbers. If you must send normal diffs you need to exactly state which version of the source file this diff is relative to. I guess this was Ian's 2.8pre5?
-- Bert
squeak-dev@lists.squeakfoundation.org