[squeak-dev] Re: unix 3.10-1 VM scrambles #PageUp #PageDown #End keys

Yoshiki Ohshima yoshiki at vpri.org
Thu Sep 18 07:54:59 UTC 2008


At Wed, 17 Sep 2008 17:35:59 -0700,
Yoshiki Ohshima wrote:
> 
>   Could you compile the VM with the line:
> 
> static unsigned short const sqSpecialKey[] = {1, 28, 30, 29, 31, 5, 11, 12, 4}; 
> 
> changed to perhaps:
> 
> static unsigned short const sqSpecialKey[] = {1, 28, 30, 29, 31, 11, 12, 4, 5};

  Ok... I fixed my laptop and tried it.  The correct line should be:

static unsigned short const sqSpecialKey[] = {1, 28, 30, 29, 31, 11, 12, 4, 1};

  The first 1 may well be off; the array could be one short and the
offset could be adjusted, but I think behavior that is "forgiving"
makes sense here.

-- Yoshiki



More information about the Squeak-dev mailing list