4f5567
diff -up ncurses-6.1-20180127/misc/terminfo.src.kbs ncurses-6.1-20180127/misc/terminfo.src
4f5567
--- ncurses-6.1-20180127/misc/terminfo.src.kbs	2018-01-29 10:59:01.644758573 +0100
4f5567
+++ ncurses-6.1-20180127/misc/terminfo.src	2018-01-29 11:02:34.018246276 +0100
4f5567
@@ -5713,7 +5713,7 @@ rxvt-basic|rxvt terminal base (X Window
4f5567
 	enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
4f5567
 	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
4f5567
 	il1=\E[L, ind=\n, is1=\E[?47l\E=\E[?1l,
4f5567
-	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
4f5567
+	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
4f5567
 	kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4f5567
 	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
4f5567
 	rmul=\E[24m,
4f5567
@@ -5725,7 +5725,7 @@ rxvt-basic|rxvt terminal base (X Window
4f5567
 	    %p9%t\016%e\017%;,
4f5567
 	sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
4f5567
 	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
4f5567
-	use=rxvt+pcfkeys, use=vt220+keypad,
4f5567
+	use=rxvt+pcfkeys, use=vt220+keypad, use=xterm+kbs,
4f5567
 # Key Codes from rxvt reference:
4f5567
 #
4f5567
 # Note: Shift + F1-F10 generates F11-F20
4f5567
@@ -6897,7 +6897,7 @@ screen|VT 100/ANSI X3.64 virtual termina
4f5567
 	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
4f5567
 	enacs=\E(B\E)0, flash=\Eg, home=\E[H, hpa=\E[%i%p1%dG,
4f5567
 	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
4f5567
-	ind=\n, indn=\E[%p1%dS, is2=\E)0, kbs=^H, kcbt=\E[Z,
4f5567
+	ind=\n, indn=\E[%p1%dS, is2=\E)0, kcbt=\E[Z,
4f5567
 	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
4f5567
 	kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
4f5567
 	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
4f5567
@@ -6911,6 +6911,7 @@ screen|VT 100/ANSI X3.64 virtual termina
4f5567
 	sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h,
4f5567
 	smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g,
4f5567
 	vpa=\E[%i%p1%dd, E0=\E(B, S0=\E(%p1%c, use=ecma+color,
4f5567
+	use=xterm+kbs,
4f5567
 # The bce and status-line entries are from screen 3.9.13 (and require some
4f5567
 # changes to .screenrc).
4f5567
 screen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
4f5567
@@ -7026,6 +7027,7 @@ screen.xterm-r6|screen customized for X1
4f5567
 # on Solaris because Sun's curses implementation gets confused.
4f5567
 screen.teraterm|disable ncv in teraterm,
4f5567
 	ncv#127,
4f5567
+	kbs=^H,
4f5567
 	acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i
4f5567
 	     \316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u
4f5567
 	     \264v\301w\302x\263y\363z\362{\343|\330}\234~\376,