LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   How to fix certain keys not working not different applications in OpenBSD 6.3 (https://www.linuxquestions.org/questions/%2Absd-17/how-to-fix-certain-keys-not-working-not-different-applications-in-openbsd-6-3-a-4175631730/)

Yetoo 06-11-2018 03:44 PM

How to fix certain keys not working not different applications in OpenBSD 6.3
 
The home, end, page up, page down, alt, and etc. aren't detected the same in every application. For example, in emacs the home and end keys aren't being interpreted properly and have a ~ in their place while home and end work fine in ksh and irssi. Do I have to manually bind keys for each individual application which deviates or is there something I can do with my keyboard layout. I'm tried changing the keyboard type with:
Code:

wsconsctl keyboard2.type=pc-xt
But then I get an error saying:
Code:

keyboard2.type: read only
How do I fix this?

jggimi 06-12-2018 04:54 AM

Disclaimer ... I've never remapped a single key and can only point you to docs.

Key mapping of the console is done via kbd(8), wsconsctl(8), and wsconsctl.conf(5) per http://www.openbsd.org/faq/faq7.html#Keyboard

Key mapping in X uses setxkbmap(1), xkbcomp(1), xkbprint(1), and xkeyboard-config(7).


All times are GMT -5. The time now is 04:11 AM.