i9e: Fix compilation on Ubuntu-12.04.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 8 Mar 2016 23:25:12 +0000 (00:25 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 1 Apr 2016 23:40:15 +0000 (01:40 +0200)
commit586eb1abb437420e5b7678890abb82fdbd1f7c45
tree3f2878f641f927f0851778703fe52cf68e1ff629
parent72330a682b4db019af84bf9a9ee09bb78681d4ad
i9e: Fix compilation on Ubuntu-12.04.

Commit c0162946 (i9e: Avoid key binding macros) from half a year
ago broke compilation for readline-6.2, which ships at least with
Ubuntu-12.04. The problem is that c0162946 changed dispatch_key()
to use rl_executing_keyseq, a readline variable that was introduced
in readline-6.3. Compilation fails on systems with readline-6.2 or
older because the variable does not exist.

This patch modifies interactive.c to provide an equivalent of
rl_executing_keyseq and changes dispatch_key() to use this version
instead.
interactive.c