conf/162787: termcap is missing kB entry for xterm
Stefan Bethke
stb at lassitu.de
Wed Nov 23 14:00:21 UTC 2011
>Number: 162787
>Category: conf
>Synopsis: termcap is missing kB entry for xterm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 23 14:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Stefan Bethke
>Release: FreeBSD 9.0-PRERELEASE
>Organization:
>Environment:
>Description:
Some software, notably dialog(1), can understand back-tab, which is typically bound to Shift-Tab. syscons produces ^]]Z for Shift-Tab, like many VT100-like terminal (emulators). The plain xterm does not produce this sequence, but ^I for both Tab and Shift-Tab.
For compatibility with xterm-compatible terminal emulators, adding a kB attribute is desirable.
>How-To-Repeat:
On the console,
$ dialog --menu foo 20 60 12 a one b two c three
Hitting Shift-Tab exits from dialog.
>Fix:
Add :kB=\E[Z: to the xterm-basic entry:
Index: share/termcap/termcap.src
===================================================================
--- share/termcap/termcap.src (revision 227665)
+++ share/termcap/termcap.src (working copy)
@@ -2825,7 +2825,7 @@
:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
- :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\
+ :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:kB=\E[Z:le=^H:md=\E[1m:\
:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
:rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\
:so=\E[7m:sr=\EM:st=\EH:\
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list