bin/151229: xterm terminal emulation - shift-tab doesn't work as
expected
Yuri Pankov
yuri.pankov at gmail.com
Mon Jan 23 17:20:05 UTC 2012
The following reply was made to PR bin/151229; it has been noted by GNATS.
From: Yuri Pankov <yuri.pankov at gmail.com>
To: bug-followup at freebsd.org
Cc:
Subject: Re: bin/151229: xterm terminal emulation - shift-tab doesn't work as
expected
Date: Mon, 23 Jan 2012 21:14:58 +0400
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
It's just missing kB (key_btab) cap entry from xterm and screen terminal
definitions in /etc/termcap. Patch attached (tested using PuTTY and
native XTerm, as well as screen and tmux).
Yuri
--IS0zKkzwUGydFO0o
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="termcap-backtab.diff"
Index: termcap.src
===================================================================
--- termcap.src (revision 230473)
+++ termcap.src (working copy)
@@ -2767,7 +2767,7 @@
:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\
:AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\
:DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\
- :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\
+ :kB=\E[Z:ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
@@ -2822,9 +2822,9 @@
:Co#8:co#80:kn#12:li#24:pa#64:\
:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\
- :as=\E(0:bl=^G:cd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