Problem with arrow keys in x-based applications on cygwin

Paul McFerrin pmcferrin@columbus.rr.com
Sat Feb 2 01:12:00 GMT 2008


Have you tried using xmodmap  ???   Like:

    $ xmodmap K_Left=0xff51  K_Up=0xff52 K_Right=0xff53 K_Down=0xff54

or add the following to your .Xresources file in your $HOME directory:

    xlogin*login.translations: #override \
       <Key>Left: move-backward-character()\n\
        <Key>Right: move-forward-character()\n\

-paul


Per Steffen wrote:
> Here's a recap of my case:
>
> Im running the newest version of Cygwin on Win 2k Pro. In the Cygwin
> standard shell my left and right arrow (cursor) keys work fine.
> However, if I start an xterm or any other x-based application from the
> cygwin standard shell, the left and right arrow keys are not working
> in the x-based application. I am starting the x-server using the
> following parameters:
>
>      XWin -multiwindow -clipboard -xkblayout dk -xkbmodel pc105
>
> I have tried to start XWin with different settings of keyboard layout
> and model, including standard "us" without any luck. I have tried 3
> different physical keyboards.
> When running xev I can see that there are events fired for up and down
> arrow keys, but not for left and right.
>
> Any suggestions?
>
> Best regards, Per
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://x.cygwin.com/docs/
> FAQ:                   http://x.cygwin.com/docs/faq/
>
>   

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list