Add info about Del key in the FAQ.

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Mon, 7 Jan 2013 09:07:52 +0100

---
 FAQ |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff --git a/FAQ b/FAQ
index b624145..e630d9f 100644
--- a/FAQ
+++ b/FAQ
_AT_@ -37,4 +37,35 @@ back mode aka “copy mode”, it’s C-a ESC. You probably want defscrollback
 [0] http://en.wikipedia.org/wiki/GNU_Screen
 [1] http://en.wikipedia.org/wiki/Tmux
 --
+Why Del key doesn't work in some programs?
 
+Taken from terminfo:
+
+	If the terminal has a keypad that transmits codes when the keys
+	are pressed, this information can be given. Note that it is not
+	possible to handle terminals where the keypad only works in
+	local (this applies, for example, to the unshifted HP 2621 keys).
+	If the keypad can be set to transmit or not transmit, give these
+	codes as smkx and rmkx. Otherwise the keypad is assumed to
+	always transmit.
+
+
+In our case smkx=\E[?1h\E= and rmkx=\E[?1l\E>, so it is mandatory that
+programs which want to test against keypad keys, have to send these
+sequences. But bugsy bash and irssi for example don't do it. A fast
+solution is write this command:
+
+	$ echo ^[?1h^[= >/dev/tty
+
+And all the problems will be removed. In the case of bash reading the
+manpage of readline you can see this text:
+
+       enable-keypad (Off)
+		When set to On, readline will try to enable the
+		application keypad when it is called. Some systems
+		need this to enable the arrow keys.
+
+so, adding this option in your .inputrc you will fix the problem with
+all applications which use readline. In the case of irssi this tip will
+not help.
+--
-- 
1.7.10.4
--liOOAslEiF7prFVr--
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon Jan 07 2013 - 10:36:02 CET