--- termcap.orig	Thu Mar 22 17:19:03 2001
+++ termcap	Thu Mar 22 17:17:41 2001
@@ -1872,7 +1872,8 @@
 # is widely used for a variety of incompatible terminal emulations including
 # color_xterm and rxvt.
 v0|xterm|X11 terminal emulator:\
-	:tc=xterm-redhat:
+	:tc=xterm-redhat:\
+	:kh=\EOH:ho=\E[1~:@7=\EOF:kH=\E[4~:
 #       :tc=xterm-xfree86:
 #       :tc=xterm-r6:
 
