mirror of
https://github.com/KDE/konsole.git
synced 2026-01-20 21:18:36 -05:00
Summary: Rename README.KeyTab to README-KeyTab to prevent Konsole from trying to load it as a keyboard translator file, and fix references to that file name in other files. Flesh out README-KeyTab and README.keyboard and reformat them. Also copy the the original README-KeyTab to README-KeyTab-original, just in case there's some concept that I misinterpretted/misunderstood. Reviewers: #konsole, hindenburg Reviewed By: #konsole, hindenburg Subscribers: #konsole Tags: #konsole Differential Revision: https://phabricator.kde.org/D12032
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
[README.keyboard]
|
|
|
|
The *.keytab files (located in /usr/share/applications/konsole and
|
|
~/.local/share/applications/konsole) allow you to configure the keyboard
|
|
to suit your specific environment/requirements.
|
|
|
|
Beside that you can use them to make the keyboard emit virtually any
|
|
escape sequence you want, here are some notes about the more typical
|
|
problems related to keyboards, that can be coped with this way:
|
|
|
|
- BS Hack
|
|
|
|
While one would expect, that the Backspace key send ASCII Backspace,
|
|
this is not the case in many Linux installations.
|
|
|
|
The idea behind this hack is to preserve the CTRL-H.
|
|
|
|
So the mapping is:
|
|
|
|
CTRL-H -> 0x08
|
|
Backspace -> 0x7f
|
|
Delete -> \E[3~
|
|
|
|
- Home/End Keys
|
|
|
|
Home -> \E[1~
|
|
End -> \E[4~
|
|
|
|
or
|
|
|
|
Home -> \E[H
|
|
End -> \E[F
|
|
|
|
Quite a lot of those key sequences are floating around.
|
|
|
|
Consult your terminfo or termcap database for the expected values.
|
|
Note that your system is not unlikely to have other keyboard databases
|
|
which have to be in sync, too (e.g. /etc/inputrc for readline(3)).
|
|
|
|
If you want to adjust things to your needs you can copy one of the *.keytab
|
|
files and edit it. The changes will take effect after restarting konsole.
|
|
|
|
In case your new keytab is likely to suit common needs, please contribute
|
|
to konsole by sending us the file.
|