readline: fix importing readline in python with probably escape sequence output
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 22 Jul 2013 09:04:31 +0000 (17:04 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2013 12:09:01 +0000 (13:09 +0100)
commit6160e763233c8d5824f68aeb1a6766da4903593a
tree829efd1f788720373c1b6faac64cae64579f566c
parent623bee7079e4e5a592cf304998ddb9be7b09e61f
readline: fix importing readline in python with probably escape sequence output

While imports readline in python, if TERM in terminfo is available and
it contains the variable 'km' and 'smm', the readline initialization will
output the value of 'smm' which is the escape sequence '\E[?1034h'.

The issue is caused by gnu readline library which is used by python
readline module. The bash-4.3/readline-6.3 has fixed this but it is still
on test and not released, so we find the changes and back port to 6.2.

Import patch from: http://git.savannah.gnu.org/cgit/bash.git/tag/?id=bash-4.3-alpha

[YOCTO #4835]
[YOCTO #4732]

(From OE-Core rev: d226f39bbd3b5f7c568a6804d69040502d28c843)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/readline/readline-6.2/readline-only-enable-meta-key-for-a-single-call-read.patch [new file with mode: 0644]
meta/recipes-core/readline/readline_6.2.bb