(e)xelnxkey.xxx
Esc string translation table.
Use to bind Esc string to other key combination over xe default in (9)-(b).
Use --k option like as "xe --kxelnxkey.rh9".
Or specify on ini file.
LNX_Keymap = ::xelnxkey.xxx ##(Linux Console Version Only) Keymap file to detect remapping by xmodmap cmd
String 0x1b[0x00 for End key of kterm may be bug of kterm.
So,it is not a xe default,but it is translated by xelnxkey.xxx.
And gnome-terminal is out of X resource file,xmodmap command is used
to setup better use of key combination.
See /usr/include/X11/keysymdef.h for available keysym for xmodmap cmd.
Search proper keysym for your locale environment on keysymdef.h.
Keycode assignmens are checked by "xmodmap -pk" cmd.
For this sample file,following xmodmap cmds are prerequisite.
Enter once after boot up.
1st word after "=" is keysym for without any modifier key,
2nd word is keysym for with Shift modifier key.
xmodmap for BackSpace key is,I do not know why, not effective.
See also (f)xexmap.xxx
xmodmap -e "keycode 109 = yacute Control_R"
#xmodmap -e "keycode 22 = BackSpace eth"
xmodmap -e "keycode 36 = Return ntilde"
xmodmap -e "keycode 106 = Insert ograve"
xmodmap -e "keycode 103 = End oacute"
xmodmap -e "keycode 99 = Prior ocircumflex"
xmodmap -e "keycode 105 = Next otilde"
[section] limits the application translation is applyed.
ex) [kterm] is the section for xe under kterm.
Section name is correspond to terminal emulator name.
To specify other than the terminal emulater name,Use environment
valiable XETERM for the section name.
For ex., "XETERM=myterm" force to select data from [myterm] section.
[common] is for all application.
xelnxkey.rh9
##########################################################################
# xelnxkey.rh9
# Key & EscString mapping table for xe under "RedHat v9"
# Usage: xe --kthis.file
# for Console
# xe chk terminfo Key,so specify only required.
# chk terminfo assignment by xekbchk utility.
# for X
# xe defines default for gnome-terminal/xterm/kterm.
# see it by xekbchk utility,then specify additional key-string combination.
# for the key terminal emulator dose not generate,
# setup by xrdb linux utility .for xterm/kterm(see xelnxe.txt or xelnxj.txt for Japanese)
# [section]:section is terminal emulator name,[common] is for all type.
# XETERM environment valiable is used if it is set.
# Or,emulator anme is checked,gnome-terminal/xterm/kterm is supported.
# for others,it use terminal name of TERM environment variable
# Keyname: F1<-->F12, Home, End, Insert, Delete, PageUp, PageDown,
# Up, Down, Left, Right, Esc, BackSpace, Tab, Enter, 2, KP_Enter
##########################################################################
[common]
##########################################################################
[gnome-terminal]
# xmodmap issued for gnome-terminal to detect Shift+
# KeyString:S+BackSpace =^[[28;2~ #assigned F15 to S+BackSpace by xmodmap
# KeyString:S+Enter =^[[29;2~ #assigned F16 to S+Return by xmodmap
# KeyString:S+Insert =^[[34;2~ #assigned F20 to S+Insert by xmodmap
# KeyString:S+End =^[[32;2~ #assigned F18 to S+End by xmodmap
# KeyString:S+PageUp =^[[31;2~ #assigned F17 to S+Prior by xmodmap
# KeyString:S+PageDown =^[[33;2~ #assigned F19 to S+Next by xmodmap
KeyString:R-Ctl =\x8f\xab\xf2 #string by yacute
KeyString:R-Ctl =\xc3\xbd #UTF8 string for yacute
KeyString:R-Ctl =\xfd #ISo-8859-1 for yacute
KeyString:S+Enter =\x8f\xab\xd0 #by EUC_JP for xmodmap -e "keycode 36 = Return ntilde"
KeyString:S+Enter =\xc3\xb1 #by UTF8
KeyString:S+Enter =\xf1 #by ISO-8859-1
KeyString:S+Insert =\x8f\xab\xd2 #by EUC_JP for xmodmap -e "keycode 106 = Insert ograve"
KeyString:S+Insert =\xc3\xb2 #by UTF8
KeyString:S+Insert =\xf2 #by ISO-8859-1
KeyString:S+End =\x8f\xab\xd1 #by EUC_JP for xmodmap -e "keycode 103 = End oacute"
KeyString:S+End =\xc3\xb3 #by UTF8
KeyString:S+End =\xf3 #by ISO-8859-1
KeyString:S+PageUp =\x8f\xab\xd4 #by EUC_JP for xmodmap -e "keycode 99 = Prior ocircumflex"
KeyString:S+PageUp =\xc3\xb4 #by UTF8
KeyString:S+PageUp =\xf4 #by ISO-8859-1
KeyString:S+PageDown =\x8f\xab\xd8 #by EUC_JP for xmodmap -e "keycode 105 = Next otilde"
KeyString:S+PageDown =\xc3\xb5 #by UTF8
KeyString:S+PageDown =\xf5 #by ISO-8859-1
##########################################################################
[xterm]
KeyString:S+End =^[[32;2~ #assigned F18 to S+End by xmodmap
##########################################################################
[kterm]
KeyString:End =^[[\x00 #kterm generate,string assign by xrdb is effect on both w/o and with Shift+
##########################################################################
[xeterm] # e.g for XETERM=xeterm case
##########################################################################