(d)xelnxres.xxx
       X resource file for xterm,kterm.
       xe requires more key combination over default shown at (9)-(b).
       This file setup to generate Esc string correspond to key combination
       which xe use.
       Set up like as "xrdb -merge xnlsres.xxx".(See also xekt,xext)
       String "xext" and "xekt" is application  name which correspond to
       -name option of xterm,kterm command.
       For ex., xterm started by "xterm -name xext" command is effected
       X resource definition in the line "xext*...".
       These are not for gnome-terminal which dose not chk X resource.

       All key definition xe use as default is showed in xelnxres.full.
       Copy the line from it to your X resource file.
       Format of Esc string for xe is following.
          0x1b~xxyyz   xx:DOS-Scan Code yy:DOS-Char Code
                       z:Shift ID  0:No shift  , 1:Shift+
                                   2:Ctrl+       3:Alt+
          See (9)-(a) for DOS Scan/Char code.
       You may change fg,bg and cursor color.
       It is required for kterm to set EightBitInput:true to accept DBCS input.

       xelnxres.rh9
       0001|!*******************************************************************
       0002|!****** xelnxres.rh9 ***** resource file for xe under xterm/kterm **
       0003|!****** usage under RedHat v9
       0004|!****** (1) merge keyboard translation to X-resource
       0005|!******     (1-1) merge this file into ~/.Xresources or /etc/X11/Xresources
       0006|!******     or
       0007|!******     (1-2) add the line into /etc/X11/xinit/xinitrc
       0008|!******           XERES=/h/objlinux/sample/xelnxres.rh9
       0009|!******           "xrdb -merge $XERES"
       0010|!****** (2) open terminal emulator specifying application name
       0011|!******     "xterm -name xext"           for xterm
       0012|!******     "kterm -name xekt"           for kterm
       0013|!*****      (gnome-terminal dose not support -name)
       0014|!****** (3) start xe with native key translation file
       0015|!******     XEKEY=xelnxkey.xxx
       0020|!******     "xe --k$XEKEY"
       0021|!***********************************************************************************
       0022|!***********************************************************************************
       0023|!** xterm
       0024|!***********************************************************************************
       0025|!                    <Key>Prior:    string(\033~49000)\n\
       0026|!                    <Key>Next:     string(\033~51000)\n\
       0027|! continued line
       0028|xext*background: Black
       0029|xext*foreground: Wheat
       0030|xext*cursorColor: blue
       0031|xext*reverseVideo: false
       0032|xext*scrollBar: true
       0033|xext*reverseWrap: true
       0034|xext*font: fixed
       0035|xext*fullCursor: true
       0036|xext*scrollTtyOutput: off
       0037|xext*scrollKey: on
       0038|xext*titleBar: true
       0039|xext*vt100.Translations:    #override \n\
       0040|            Shift<Key>Prior:    string(\033~49001)\n\
       0041|            Shift<Key>Next:     string(\033~51001)\n\
       0042|            Shift<Key>Insert:   string(\033~52001)\n\
       0043|            Shift<Key>Escape:   string(\033~011B1)\n\
       0044|            Shift<Key>BackSpace:string(\033~0E081)\n\
       0045|            Shift<Key>Return:   string(\033~1C0D1)\n\
       0046|                 <Key>KP_Enter: string(\033~E00D0)\n\
       0047|            Shift<Key>KP_Enter: string(\033~E00D1)\n\
       0048|            Ctrl<Key>KP_Enter:  string(\033~E00A2)
       0049|!***********************************************************************************
       0050|!** kterm
       0051|!***********************************************************************************
       0052|!               Shift<Key>Home: string(\033~47001)\n\
       0053|!                    <Key>End:  string(\033~4F000)\n\
       0054|! continued line
       0055|xekt*EightBitInput: True
       0056|xekt*background: Black
       0057|xekt*foreground: Wheat
       0058|xekt*cursorColor: blue
       0059|xekt*reverseVideo: false
       0060|xekt*scrollBar: true
       0061|xekt*reverseWrap: true
       0062|xekt*font: fixed
       0063|xekt*fullCursor: true
       0064|xekt*scrollTtyOutput: off
       0065|xekt*scrollKey: on
       0066|xekt*titleBar: true
       0067|xekt*vt100.Translations:    #override \n\
       0068|    Shift<Key>space:     begin-conversion(_JAPANESE_CONVERSION)\n\
       0069|            Shift<Key>F1:       string(\033~54001)\n\
       0070|            Shift<Key>F2:       string(\033~55001)\n\
       0071|            Shift<Key>F3:       string(\033~56001)\n\
       0072|            Shift<Key>F4:       string(\033~57001)\n\
       0073|            Shift<Key>F5:       string(\033~58001)\n\
       0074|            Shift<Key>F6:       string(\033~59001)\n\
       0075|            Shift<Key>F7:       string(\033~5A001)\n\
       0076|            Shift<Key>F8:       string(\033~5B001)\n\
       0077|            Shift<Key>F9:       string(\033~5C001)\n\
       0078|            Shift<Key>F10:      string(\033~5D001)\n\
       0079|            Shift<Key>F11:      string(\033~87001)\n\
       0080|            Shift<Key>F12:      string(\033~88001)\n\
       0081|            Ctrl<Key>F7:        string(\033~64002)\n\
       0082|            Ctrl<Key>F8:        string(\033~65002)\n\
       0083|            Ctrl<Key>F9:        string(\033~66002)\n\
       0084|            Ctrl<Key>F10:       string(\033~67002)\n\
       0085|            Ctrl<Key>F11:       string(\033~89002)\n\
       0086|            Ctrl<Key>F12:       string(\033~8a002)\n\
       0087|            Shift<Key>Prior:    string(\033~49001)\n\
       0088|            Shift<Key>Next:     string(\033~51001)\n\
       0089|            Shift<Key>Insert:   string(\033~52001)\n\
       0090|            Ctrl<Key>Insert:    string(\033~92002)\n\
       0091|            Shift<Key>Delete:   string(\033~53001)\n\
       0092|            Ctrl<Key>Delete:    string(\033~93002)\n\
       0093|            Shift<Key>Up:       string(\033~48001)\n\
       0094|            Shift<Key>Down:     string(\033~50001)\n\
       0095|            Shift<Key>Left:     string(\033~4B001)\n\
       0096|            Shift<Key>Right:    string(\033~4D001)\n\
       0097|                 <Key>Home:     string(\033~47000)\n\
       0098|            Shift<Key>End:      string(\033~4F001)\n\
       0099|            Shift<Key>Escape:   string(\033~011B1)\n\
       0100|            Shift<Key>BackSpace:string(\033~0E081)\n\
       0101|            Shift<Key>Tab:      string(\033~0F001)\n\
       0102|            Shift<Key>Return:   string(\033~1C0D1)\n\
       0103|                 <Key>KP_Enter: string(\033~E00D0)\n\
       0104|            Shift<Key>KP_Enter: string(\033~E00D1)\n\
       0105|            Ctrl<Key>KP_Enter:  string(\033~E00A2)