[squeak-dev] Re: Note: Squeak 4.1 Unix - preset preferences for right mouse button

David T. Lewis lewis at mail.msen.com
Sat Apr 17 13:39:17 UTC 2010


On Sat, Apr 17, 2010 at 12:47:38PM +0200, Bert Freudenberg wrote:
> On 17.04.2010, at 11:49, St?phane Rollandin wrote:
> > 
> >> There is a problem for Etoys however, which shares the VM with Squeak (at least on unix). Etoys users need the traditional mapping, the right mouse button needs to bring up the halo. Right now I can't think of a good way to change the VM's default and still have Etoys work correctly out-of-the-box (we have no way to tell).
> > 
> > Can't we have the VM setting be dynamic (I mean changeable while the VM is running) and made accessible via a primitive ? That way the image could take care of itself.
> 
> That might be an option. It doesn't even need to be changeable, but if the image could know how the VM maps buttons to mouse events it could react accordingly. OTOH if the image "corrects" the VM then there is no way to specify on the command line what behavior you'ld like ... Hmm.
> 
> - Bert -

Just as a side note, if we do change the VM, you can check VM version
from the image if needed (this works now with a current unix VM):

  primInterpreterSourceVersion
      <primitive: 'primitiveInterpreterSourceVersion'>
      self primitiveFailed

  primPlatformSourceVersion
      <primitive: 'primitivePlatformSourceVersion'>
      self primitiveFailed

Or we can have the VM report what its settings are through a system
attribute or a named primitive.

Dave
 



More information about the Squeak-dev mailing list