"Raab, Andreas" Andreas.Raab@disney.com wrote:
Folks,
Michael just reported a problem (which I can't really check out): It seems like the command line arguments are not reported to the image level. E.g., when starting Squeak with something like squeak myImage.image arg1 arg2 argN the arguments should be reported by Smalltalk>>getSystemAttribute:. Is this a known problem?! Any fixes out there?!
He probably needs to get a newer sqXWindow.c. It was definately a bug once upon a time, but I just checked and Ian seems to have patched it in his distribution.
http://www-sor.inria.fr/~piumarta/squeak/unix/2.7/src/sqXWindow.c
Lex
On Tue, 28 Mar 2000, Lex Spoon wrote:
"Raab, Andreas" Andreas.Raab@disney.com wrote:
Folks,
Michael just reported a problem (which I can't really check out): It seems like the command line arguments are not reported to the image level. E.g., when starting Squeak with something like squeak myImage.image arg1 arg2 argN the arguments should be reported by Smalltalk>>getSystemAttribute:. Is this a known problem?!
Yes.
Any fixes out there?!
Yep.
He probably needs to get a newer sqXWindow.c. It was definately a bug once upon a time, but I just checked and Ian seems to have patched it in his distribution.
http://www-sor.inria.fr/~piumarta/squeak/unix/2.7/src/sqXWindow.c
This doesn't fix it all. David T. Lewis and me sent Ian some changes in November, but these didn't make it into 2.7. I'll attach a fixed set of files (src/sqXWindow.c, src/sqUnixConfig.h.in, conf/configure.in, conf/configure). Can't use diffs because there are different 2.7 sources out there ...
-Bert-
squeak-dev@lists.squeakfoundation.org