Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Keyboard mapping problem: (3 Items)
   
Keyboard mapping problem  
Hi all,

I have a QNX 4.25 machine and for some reason, my Keyboard mapping does not seem to be correct. We have a number of 
these systems and on all other systems, the arrow keys map to arrow key functions, along with insert, home etc mapping 
to their function.

However, on one machine, the arrow keys map to the numeric numbers that are on the num pad! 

I have looked in sysinit, /etc/default/profile /etc/profile and all of these are the same on this machine and all the 
others. 

My only thought was could this be something to do with dev.con? 

Any ideas or thoughts greatly appreciated!

Andrew
Re: Keyboard mapping problem  
Hi Andrew,

It seems that I've found keyboard with the same problem.
On my keyboard turning numeric keypad off by NumLock button restores
arrow keys map. I suppose it is a keyboard mapping problem and only
solution here is to switch the NumLock.
Many PC BIOSes have a setting in their setup screens for forcing NumLock
on/off or it is possible switch NumLock by stty utility.
I've added these lines to the sysinit (after tinit) for all my three
consoles.
stty +numlock < /dev/con1
stty +numlock < /dev/con2
stty +numlock < /dev/con3

I hope this would help you.

Regards,
Pavel


> Hi all,
>
> I have a QNX 4.25 machine and for some reason, my Keyboard mapping does not seem to be correct. We have a number of 
these systems and on all other systems, the arrow keys map to arrow key functions, along with insert, home etc mapping 
to their function.
>
> However, on one machine, the arrow keys map to the numeric numbers that are on the num pad! 
>
> I have looked in sysinit, /etc/default/profile /etc/profile and all of these are the same on this machine and all the 
others. 
>
> My only thought was could this be something to do with dev.con? 
>
> Any ideas or thoughts greatly appreciated!
>
> Andrew
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post92237
>
>

Re: Keyboard mapping problem  
Hi Pavel,

Thanks for the reply (and sorry about the delay in getting back to you). I managed to sort it out by simply changing the
 default Num-lock option in BIOS. It was set to turn num-lock on during boot and I changed this to off. 

All works now! I find it pretty amazing that more people haven't run into this problem before!

Thanks again,

Andrew