From 0e8f6df7010cb80219ddaff28469b8b4788a76a9 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Fri, 4 Jul 2003 04:18:29 +0000
Subject: [PATCH] More fixups... thise should solve almost everything.

---
 install/termcap  | 12 ++++++------
 install/terminfo | 11 ++++++-----
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/install/termcap b/install/termcap
index 74b35f3e37..ac460f63c8 100644
--- a/install/termcap
+++ b/install/termcap
@@ -9,18 +9,18 @@
 # :DL=\E[%dM (Delete X lines - nonstandard?)
 # al=\E[L (Insert line - nonstandard?)
 # AL=\E[%dL (Insert X lines - nonstandard?)
+# cv=\E[%i%dH (Move to row x - don't change y - unsupported?)
 ansi-bbs:\
-	:eo:mi:ms:NP:ND:ut:YE:\
-	:co#80:li#24:Co#8:pa#64:it#8:\
-	:bl=^G:cr=^M:cl=\E[2J\E[H:ce=\E[K:cd=\E[J:cm=\E[%i%d;%dH:do=^J:\
+	:eo:mi:ms:NP:ut:am:\
+	:co#80:li#24:Co#8:pa#64:\
+	:bl=^G:cr=^M:cl=\E[2J\E[H:ce=\E[K:cd=\E[J:cm=\E[%i%d;%dH:do=\E[B:\
 	:ho=\E[H:le=\E[D:nd=\E[C:up=\E[A:mb=\E[5m:md=\E[1m:\
 	:mk=\E[8m:mr=\E[7m:us=\E[4m:me=\E[m:\
 	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:r1=\E[m:rc=\E[u:cv=\E[%i%dH:sc=\E[s:ta=^I:cb=\E[1K:\
-	:AF=\E[3%dm:AB=\E[4%dm:op=\E[m\
+	:r1=\E[m\E[2J\E[H:rc=\E[u:sc=\E[s:ta=^I:cb=\E[1K:\
+	:AF=\E[3%dm:AB=\E[4%dm:op=\E[m:\
 	:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
 	:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
 	:kb=^H:kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:\
 	:kh=\E[H:@7=\E[K:\
 	:k1=\EOP:k2=\EOQ:k3=\EOw:k4=\EOx:
-
diff --git a/install/terminfo b/install/terminfo
index 3e6f6067f2..a5bd63e4d3 100644
--- a/install/terminfo
+++ b/install/terminfo
@@ -9,17 +9,18 @@
 # :DL=\E[%dM (Delete X lines - nonstandard?)
 # al=\E[L (Insert line - nonstandard?)
 # AL=\E[%dL (Insert X lines - nonstandard?)
+# cv=\E[%i%dH (Move to row x - don't change y - unsupported?)
 ansi-bbs, 
-	bce, eo, mir, msgr, ndscr, npc, sam, 
-	colors#8, cols#80, it#8, lines#24, pairs#64, 
+	am, bce, eo, mir, msgr, npc, 
+	colors#8, cols#80, lines#24, pairs#64, 
 	acsc=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261i^U0\333y\363z\362, 
 	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, cr=^M, 
-	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=^J, 
+	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
 	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
 	cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, el=\E[K, el1=\E[1K, 
 	home=\E[H, ht=^I, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
 	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[K, 
 	kf1=\EOP, kf2=\EOQ, kf3=\EOw, kf4=\EOx, khome=\E[H, kll=\E[Y, 
 	knp=\E[U, kpp=\E[V, nel=^M^J, op=\E[m, rc=\E[u, rev=\E[7m, 
-	rs1=\E[m, sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
-	sgr0=\E[m, smul=\E[4m, vpa=\E[%i%p1%dH, 
+	rs1=\E[m\E[2J\E[H, sc=\E[s, setab=\E[4%p1%dm, 
+	setaf=\E[3%p1%dm, sgr0=\E[m, smul=\E[4m, 
-- 
GitLab