Hi ncurses!
kbd now has a new "Backtab" key introduced in [1], and it is used by default in
all the keymaps.
The linux terminfo currently is based on the old Meta_Tab entries (quoting
misc/terminfo.src):
# Linux 3.0 was released in July 2011. The keyboard utilities (kbd) are
# used for configuring its keyboard mappings.
#
# kbd 1.14 was released before that (January 2008), but due to its placement
# late in the Linux 2.6.x series had no immediate effect for most users. That
# provided a default mapping for shift-tab to the (misnamed) Meta_Tab, i.e.,
# the same as Alt-Tab.
#
# The suggested mapping for the conventional \E[Z is provided in this entry as
# an extended key to lessen user surprise -TD
linux3.0|Linux 3.0 kernels,
kcbt=\E^I, E3=\E[3J, kcbt2=\E[Z, use=linux2.6,
# This is Linux console for ncurses.
linux|Linux console,
use=linux3.0,
So I expect the new backtab key that emits \E[Z again might require us to
change kcbt back?
Is it time for a linux7.0 terminfo?
[1]
https://github.com/legionus/kbd/commit/5416a193f42bb5e1ba6c1e18f8e9448984fa76ee
Cheers,
Ronan