Re: key-binding numbers

2005-02-10 Thread Paul A. Rubin
Vaclav Smidl wrote: Hi all, I am trying to modify some key binding files to get the following: if I press regular "1" insert "x" (for example) if I press numeric "1" insert "1" I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric "1". If I use: \

Re: key-binding numbers

2005-02-10 Thread Vaclav Smidl
On Thursday 10 February 2005 11:30, G. Milde wrote: > On 9.02.05, Vaclav Smidl wrote: > > If I use: > > \bind "1" "self-insert x" > > \bind "KP_1" "self-insert 1" > > I am getting always 1, > > > > If I use: > > \bind "KP_1" "self-insert 1" > > \bind "1" "self-insert x" > > I am getting al

Re: key-binding numbers

2005-02-10 Thread G. Milde
On 9.02.05, Vaclav Smidl wrote: > If I use: > \bind "1" "self-insert x" > \bind "KP_1" "self-insert 1" > I am getting always 1, > > If I use: > \bind "KP_1" "self-insert 1" > \bind "1" "self-insert x" > I am getting always x. Just a guess. Did you try with both, NumLock activated and not

Re: key-binding numbers

2005-02-10 Thread Vaclav Smidl
thanks for info, I was not aware of 'xev', it's really helpful app. However, my basic problem remains... I was trying to set up lyx for a colleague who is working on Win. I dont know much about key-handling in win, so I thought I will use lyx mechanisms for key-binding. But I guess, the best t

Re: key-binding numbers

2005-02-10 Thread Eric S Fraga
On Wed, Feb 09, 2005 at 07:54:02PM +0100, Vaclav Smidl wrote: > I am trying to modify some key binding files to get the following: > > if I press regular "1" insert "x" (for example) > if I press numeric "1" insert "1" > > I am struggling with the following: > If I use \kmap: > it does n

key-binding numbers

2005-02-09 Thread Vaclav Smidl
Hi all, I am trying to modify some key binding files to get the following: if I press regular "1" insert "x" (for example) if I press numeric "1" insert "1" I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric "1". If I use: \bind "1" "self-i