[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-0.99.19, updated. 1%3A0.99.18+dfsg.1-10-194-g493b090
Jörg Sommer
joerg at alea.gnuu.de
Thu Jun 26 11:27:25 UTC 2008
The following commit has been merged in the jo-0.99.19 branch:
commit ed5a89f7e9c8a60b789d91f3f276fdc30a589ea4
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date: Thu Jun 26 12:16:43 2008 +0200
Workaround for wrong terminfo entry for rxvt-unicode
The terminfo database contains a wrong entry for the key shift+insert;
\e2$ instead of \e[2$. This causes the modes wmark (jed-common) and
cuamark (jed-extra) abort loading with an "inconsistent key definition"
error. Until the Debian bug report #446444 gets closed this patch should
work around the problem.
diff --git a/debian/changelog b/debian/changelog
index c2e95af..69bea70 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ jed (1:0.99.19~pre143-2) UNRELEASED; urgency=low
* Added slsh as build-dependency to make the test suite work.
(closes: #488011)
+ * Added a workaround for the bug #446444 in the terminfo entry for
+ rxvt-unicode which caused the modes wmark and cuamark fail.
+
-- Jörg Sommer <joerg at alea.gnuu.de> Thu, 01 Jan 1970 00:00:00 +0000
jed (1:0.99.19~pre143-1) experimental; urgency=low
diff --git a/debian/init.d/05jed-common.sl b/debian/init.d/05jed-common.sl
index 86145b8..ad5260d 100644
--- a/debian/init.d/05jed-common.sl
+++ b/debian/init.d/05jed-common.sl
@@ -7,6 +7,14 @@ x_set_keysym (0xFFFF, 0, "\e[3~");
#endif
setkey ("delete_char_cmd", "\e[3~");
+% fix rxvt-unicode bug (Debian bug #446444)
+% resulting in inkonsistent keydef error
+#ifndef XWINDOWS
+require("keydefs");
+if (Key_Shift_Ins == "\e2$")
+ Key_Shift_Ins = "\e[2$";
+#endif
+
% Fallback emulation (if the user has no ~/.jedrc config file)
%
% Possible values are "brief", "cua", "emacs", "edt", "ide", "jed",
--
Debian packaging of JED
More information about the Pkg-jed-commit
mailing list