Re: unsubscribe
Was that done because of the Microsoft patent?
On Tue, Sep 2, 2008 at 8:02 AM, David Aiello, sympatico
<daiello@...> wrote:
>
> Pls & thx
>
> David
>
>
> If you can look into the seeds of time, and say which grain will grow and
> which will not, speak to me. - Shakespeare
>
>
>
>
>
> On 2-Sep-08, at 4:50 AM, Mechiel Lukkien <mechiel@...> wrote:
>
>> hi all,
>>
>> last week, i was wondering why page up/down was not working (on the
>> openbsd port). it seems the code to handle page up/down events is
>> commented out, in emu/port/win-x11a.c. the patch below enables it, and
>> works for me. i don't know why that code was commented out. there was
>> nothing in inferno-os svn about it. i don't know the difference between
>> XK_Page_Down & XK_KP_Page_Down, i'm assuming handling both is correct
>> (the other switch-cases are similar). a similar change might be useful
>> to enable Home & Insert key processing?
>>
>> does anyone see problems with this? or know why the keys were disabled?
>>
>> best regards,
>> mechiel
>>
>>
>> the patch:
>>
>> Index: win-x11a.c
>> ===================================================================
>> --- win-x11a.c (revision 299)
>> +++ win-x11a.c (working copy)
>> @@ -1084,18 +1084,18 @@
>> case XK_KP_Right:
>> k = Right;
>> break;
>> -// case XK_Page_Down:
>> -// case XK_KP_Page_Down:
>> -// k = Kpgdown;
>> -// break;
>> + case XK_Page_Down:
>> + case XK_KP_Page_Down:
>> + k = Pgdown;
>> + break;
>> case XK_End:
>> case XK_KP_End:
>> k = End;
>> break;
>> -// case XK_Page_Up:
>> -// case XK_KP_Page_Up:
>> -// k = Kpgup;
>> -// break;
>> + case XK_Page_Up:
>> + case XK_KP_Page_Up:
>> + k = Pgup;
>> + break;
>> // case XK_Insert:
>> // case XK_KP_Insert:
>> // k = Kins;
>