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

nicolas cellier ncellier at ifrance.com
Thu Sep 18 21:30:23 UTC 2008


Yoshiki Ohshima a écrit :
> 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};
> 

Thank you very much Yoshiki, this change made my squeak hours easier!


>   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
> 
> 

Hmm, my #home key did work as expected before change.
I would have guessed the last 1 would map to another key (which one?).
No matter, thanks again!

Nicolas




More information about the Squeak-dev mailing list