ncurses/ncurses-kbs.patch

47 lines
2.0 KiB
Diff
Raw Normal View History

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