Newsgroups: comp.lang.smalltalk
From: Andy@cumulus.co.uk (Andy Moorley)
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!godot.cc.duq.edu!news.duke.edu!MathWorks.Com!yeshua.marcam.com!usc!howland.reston.ans.net!news.sprintlink.net!demon!cumulus.co.uk!Andy
Subject: Re: ParcPlace Image knows how to start itself
References: <CwwsrM.154@txnews.amd.com>
Distribution: world
Organization: Cumulus Systems Ltd
Reply-To: Andy@cumulus.co.uk
X-Newsreader: Newswin Alpha 0.6
Lines:  32
Date: Fri, 30 Sep 1994 09:00:40 +0000
Message-ID: <111906213wnr@cumulus.co.uk>
Sender: usenet@demon.co.uk

In article: <CwwsrM.154@txnews.amd.com>  charles.herrick@amd.com writes:
> 
> Wow. 
> 
> I just found out that if you make a ParcPlace Smalltalk
> image executable, and then invoke it on the commandline,
> it tells the OS to run "st80VM" with itself as the
> command argument.
> 
> How did they do that? Inquiring (temporarily speechless) minds want to 
know!

if you simply more the image file the first few characters are

	exec st80VM $1....... etc

i.e. Just a shell command - which presumably they put there by just
patching up the image - mind you, exactly what st80VM is supposed to be
I don't know - I just make a link from ./st80VM to wherever the real 
Virtual Machine is !

Cheers,
Andy.


Andy Moorley      Cumulus Systems Ltd, Rickmansworth, Hertfordshire, UK   
Andy @ cumulus.co.uk       Phone: (44) 923 720477  Fax: (44) 923 771411

   " C++ supports the concept of *friends* - cooperating classes which are
     allowed to see each others private parts."

