what to do with rxvt-unicode terminfo bug
milde at users.sf.net
Wed Jun 18 13:51:25 UTC 2008
Dear Jed Debian maintainers,
There is a wrong definition is in the terminfo entry for rxvt-unicode
in the terminfo database.
John reported this to ncurses-base on Sat, 13 Oct 2007:
Debian Bug report logs - #446444
Wrong key definition in rxvt-unicode terminfo file
Since then nothing happened.
This bug results in a wrong value for Key_Shift_Ins set in the standard
variable Key_Shift_Ins = setkey_via_terminfo ("#3", "\e[2$");
The value becomes "\e2$" instead of "\[2$".
The variable is used in two modes:
which will abort loading with an "inconsistent key definition" error.
These modes are used by the CUA emulation, hence
jed -n -e cua
fails in a rxvt-unicode terminal.
I use the following workaround in my ~/.jed/jed.rc
% fix rxvt-unicode bug (Debian bug #446444)
% resulting in inkonsistent keydef error
if (Key_Shift_Ins == "\e2$")
Key_Shift_Ins = "\e[2$";
As this 249 days old bug seems to stay on for a while, I wonder how to
a) file a bugreport to jed-common and mark it as blocked by #446444?
b) document the problem in README.Debian or NEWS.Debian?
c) provide a fix, e.g. the above patch to /etc/jed.d/05jed-common.sl?
d) just wait and see.
More information about the Pkg-jed-devel