summaryrefslogtreecommitdiffstats
path: root/konsole/README.keyboard
blob: 93a0ac20ff3a009fea72e78dd298c2d190f05825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[README.keyboard]

The *.keytab files (located in $KDEDIR/share/apps/konsole) allow
to configure the keyboard due to your specific environment.

Beside that you can use them to make the keyboard emit virtually
any escape sequence you want, here a probe of 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, copy one of the
*.keytab files and edit it. When restarted, konsole offeres
you this new entry on it's menu.

In case your new keytab is likely to suit common needs,
please contribute to konsole by sending me the file.