-diff -urN xc.orig/programs/xterm/XTerm.ad xc/programs/xterm/XTerm.ad
---- xc.orig/programs/xterm/XTerm.ad Mon Dec 30 15:54:16 2002
-+++ xc/programs/xterm/XTerm.ad Mon Dec 30 20:05:06 2002
-@@ -115,8 +115,8 @@
- *VT100*dynamicColors: on
+--- xc/programs/xterm/XTerm-col.ad.orig 2003-09-25 13:06:59.000000000 +0200
++++ xc/programs/xterm/XTerm-col.ad 2003-10-01 20:48:30.453913496 +0200
+@@ -11,8 +11,8 @@
+ !*VT100*background: black
! Uncomment this to use color for underline attribute
-!*VT100*colorULMode: on
! Uncomment this to use color for the bold attribute
!*VT100*colorBDMode: on
-@@ -142,3 +142,166 @@
- *VT100*color15: white
- *VT100*colorUL: yellow
- *VT100*colorBD: white
+--- xc/programs/xterm/XTerm.ad.orig 2003-09-25 13:06:59.000000000 +0200
++++ xc/programs/xterm/XTerm.ad 2003-10-01 20:49:35.565015104 +0200
+@@ -107,3 +107,176 @@
+ *tek4014*font2: 8x13
+ *tek4014*font3: 6x13
+ *tek4014*fontSmall: 6x10
+
+! This file causes when loaded using xrdb correct behaviour of xterm
+! if you are using enclosed xterm.tcap and xterm.ti.
+ a<Key>Return: string(0x1b) string(0x0d)\n\
+ a<Key>Tab: string(0x1b) string(0x09)\n\
+ a<Key>space: string(0x1b) string(" ")\n\
++ a s<Key>question: string(0x1b) string("?")\n\
++ a s<Key>exclam: string(0x1b) string("!")\n\
++ a<Key>1: string(0x1b) string("1")\n\
++ a<Key>2: string(0x1b) string("2")\n\
++ a<Key>3: string(0x1b) string("3")\n\
++ a<Key>4: string(0x1b) string("4")\n\
++ a<Key>5: string(0x1b) string("5")\n\
++ a<Key>6: string(0x1b) string("6")\n\
++ a<Key>7: string(0x1b) string("7")\n\
++ a<Key>8: string(0x1b) string("8")\n\
++ a<Key>9: string(0x1b) string("9")\n\
++ a<Key>0: string(0x1b) string("0")\n\
+ a<Key>a: string(0x1b) string("a")\n\
+ a<Key>b: string(0x1b) string("b")\n\
+ a<Key>c: string(0x1b) string("c")\n\
+ a<Key>x: string(0x1b) string("x")\n\
+ a<Key>y: string(0x1b) string("y")\n\
+ a<Key>z: string(0x1b) string("z")
-+! a s<Key>/: string(0x1b) string("?")\n\
-+! a s<Key>1: string(0x1b) string("!")