]> code.ossystems Code Review - openembedded-core.git/commit
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)
committerSaul Wold <sgw@linux.intel.com>
Fri, 26 Jul 2013 07:07:43 +0000 (00:07 -0700)
commitd226f39bbd3b5f7c568a6804d69040502d28c843
tree6417089c4ac598bfea3cafb3d854f943b815285d
parentd60926b3fc4ba5780aef5b5226d05170892a7133
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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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