(j) xe.keytab

      (Case of Kubuntu6)

        To generate Esc-string which xe can understand under konsole terminal emulator,
        put,for ex,XE.keytab on ~/.kde/share/apps/konsole/.
        (or /usr/share/apps/konsele/ for global definition)
        Then select it from the list of Settings->Keyboard.
        Name on the list is from the keyboard statement of the .keytab file.
        To set default keytab, open Settings->Configure Konsole.
        On session tab,after selecting "Shell" line select from keytab drop-down list.
        To test your keytab file syntax, enter "konsole --keytab XE".
        The id "XE" is also from the  keyboard statement.
        Verification is done when menu item Settings is selected.

        You should remove duplicated shortcut key definition on konsole
        and global settion to utilize those keys.
        Konsole shortcut is defined on Settings->Configure Shortcuts.
        Global shortcut is customized on SystemSettings->Computer Administration
        ->Keyboard & Mouse->Keyboard Shortcuts.
        Search(grep -irl) also in the dir ~/.kde/share/config.
        for ex,[Voice] section may define shortcut=Shift+f12
        on ~/.kde/share/config/khotkeysrc.
        This correspond to SystemSettings->Accessibility.
        Select InputActions of left column and  push Global Settings.
        Voice setting tab shows Shift+F12. After reset it to none.
        Shift+F12 setting of keytab file will work.

        (note)./usr/share/doc/konsole/README.KeyTab may help you to coding
               keytab file.
              .Both "-Modifier" and "+Modifier" definition is required
               if you use the key with and without the Modifier.
               else "already assigned" error message issued when you test
               using "konsole --keytab xxx.keytab".
              ."*" on esc string is replaced by 2:Shift,3:Alt,5:Control ecah for the line with +AnyMod.

        0001|# [xe.keytab] Konsole Keyboard Table (xe console keys)
        0002|#
        0003|# --------------------------------------------------------------
        0004|
        0005|keyboard "XE"
        0006|
        0007|# --------------------------------------------------------------
        0008|#
        0009|# This configuration table allows to customize the
        0010|# meaning of the keys.
        0011|#
        0012|# The syntax is that each entry has the form :
        0013|#
        0014|#   "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
        0015|#
        0016|# Keynames are those defined in <qnamespace.h> with the
        0017|# "Qt::Key_" removed. (We'd better insert the list here)
        0018|#
        0019|# Mode names are :
        0020|#
        0021|# - Shift
        0022|# - Alt
        0023|# - Control
        0024|#
        0025|#   The VT100 emulation has two modes that can affect the
        0026|#   sequences emitted by certain keys. These modes are
        0027|#   under control of the client program.
        0028|#
        0029|# - Newline     : effects Return and Enter key.
        0030|# - Application : effects Up and Down key.
        0031|#
        0032|# - Ansi        : effects Up and Down key (This is for VT52, really).
        0033|#
        0034|# Operations are
        0035|#
        0036|# - scrollUpLine
        0037|# - scrollUpPage
        0038|# - scrollDownLine
        0039|# - scrollDownPage
        0040|#
        0041|# - emitSelection
        0042|#
        0043|# If the key is not found here, the text of the
        0044|# key event as provided by QT is emitted, possibly
        0045|# preceeded by ESC if the Alt key is pressed.
        0046|#
        0047|# --------------------------------------------------------------
        0048|
        0049|key Escape : "\E"
        0050|key Tab           : "\t"
        0051|key Backtab+Shift : "\E[Z"
        0052|
        0053|# VT100 can add an extra \n after return.
        0054|# The NewLine mode is set by an escape sequence.
        0055|
        0056|key Return-NewLine : "\r"
        0057|key Return+NewLine : "\r\n"
        0058|
        0059|# Some desperately try to save the ^H.
        0060|
        0061|key Backspace : "\x7f"
        0062|
        0063|
        0064|key Up   -AnyMod : "\E[A"
        0065|key Down -AnyMod : "\E[B"
        0066|key Right-AnyMod : "\E[C"
        0067|key Left -AnyMod : "\E[D"
        0068|
        0069|key Up   +AnyMod : "\E[1;*A"
        0070|key Down +AnyMod : "\E[1;*B"
        0071|key Left +AnyMod : "\E[1;*D"
        0072|key Right+AnyMod : "\E[1;*C"
        0073|
        0074|# linux functions keys F1-F5 differ from xterm
        0075|
        0076|key F1 -Shift-Alt-Control : "\E[[A"
        0077|key F2 -Shift-Alt-Control : "\E[[B"
        0078|key F3 -Shift-Alt-Control : "\E[[C"
        0079|key F4 -Shift-Alt-Control : "\E[[D"
        0080|key F5 -Shift-Alt-Control : "\E[[E"
        0081|key F6 -AnyMod            : "\E[17~"
        0082|key F7 -AnyMod            : "\E[18~"
        0083|key F8 -AnyMod            : "\E[19~"
        0084|key F9 -AnyMod            : "\E[20~"
        0085|key F10-AnyMod            : "\E[21~"
        0086|key F11-AnyMod            : "\E[23~"
        0087|key F12-AnyMod            : "\E[24~"
        0088|
        0089|key F1 +Shift-Alt-Control : "\EO2P"
        0090|key F2 +Shift-Alt-Control : "\EO2Q"
        0091|key F3 +Shift-Alt-Control : "\EO2R"
        0092|key F4 +Shift-Alt-Control : "\EO2S"
        0093|key F5 +Shift-Alt-Control : "\E[15;2~"
        0094|
        0095|key F6  +AnyMod    : "\E[17;*~"
        0096|key F7  +AnyMod    : "\E[18;*~"
        0097|key F8  +AnyMod    : "\E[19;*~"
        0098|key F9  +AnyMod    : "\E[20;*~"
        0099|key F10 +AnyMod    : "\E[21;*~"
        0100|key F11 +AnyMod    : "\E[23;*~"
        0101|key F12 +AnyMod    : "\E[24;*~"
        0102|
        0103|key Home  -AnyMod : "\E[H"
        0104|key End   -AnyMod : "\E[F"
        0105|key Prior -AnyMod : "\E[5~"
        0106|key Next  -AnyMod : "\E[6~"
        0107|key Insert-AnyMod : "\E[2~"
        0108|key Delete-AnyMod : "\E[3~"
        0109|
        0110|key Home  +AnyMod : "\E[1;*H"
        0111|key End   +AnyMod : "\E[1;*F"
        0112|key Prior +AnyMod : "\E[5;*~"
        0113|key Next  +AnyMod : "\E[6;*~"
        0114|key Insert+AnyMod : "\E[2;*~"
        0115|key Delete+AnyMod : "\E[3;*~"
        0116|
        0117|# Keypad-Enter. See comment on Return above.
        0118|
        0119|key Enter+NewLine : "\r\n"
        0120|key Enter-NewLine : "\r"
        0121|
        0122|key Space +Control : "\x00"
        0123|key 2 -Control : "2"
        0124|key 2 +Control : "\x00"
        0125|
        0126|# some of keys are used by konsole.
        0127|
        0128|
        0129|key ScrollLock     : scrollLock
        0130|
        0131|#----------------------------------------------------------
        0132|
        0133|# keypad characters as offered by Qt
        0134|# cannot be recognized as such.
        0135|
        0136|#----------------------------------------------------------
        0137|
        0138|# Following other strings as emitted by konsole.