Squeak on Zaurus 5500SL
Cees de Groot
cg at cdegroot.com
Fri Apr 18 16:16:06 UTC 2003
On Fri, 2003-04-18 at 17:33, Doug Mair wrote:
>
> I seem to remember (from my college days using Unix) that I have to
> set up a file as executable before I try to execute it.
>
Two important things to keep in mind:
- Indeed, a Unix executable is only executable iff you have marked it as
executable. The command 'chmod 755 squeak' in the directory where the
squeak executable resides should accomplish that;
- By default, the current directory is NOT in the search path for
executable. MS-DOS looks in the current directory for an executable, and
then in the PATH environment variable - this behavior is very dangerous
on multi-user systems because it is easy to slip someone a Trojan this
way. Therefore, Unix only examines PATH, if you don't have the current
directory ('.') in there, it will not find Squeak. The simplest solution
is to type './squeak', the explicit directory name disables PATH
searching.
Happy hacking. Let us know how you fare, I'm thinking about an SL5500 as
well :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030418/36fcfa84/attachment.pgp
More information about the Squeak-dev
mailing list
|