Re: [OE-core] [PATCH 1/2] python: fix importing readline with probably escape sequence output

2013-07-21 Thread Saul Wold
On 07/19/2013 11:26 AM, Saul Wold wrote: On 07/19/2013 02:13 AM, Hongxu Jia wrote: 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'.

Re: [OE-core] [PATCH 1/2] python: fix importing readline with probably escape sequence output

2013-07-21 Thread Hongxu Jia
On 07/22/2013 01:18 PM, Saul Wold wrote: On 07/19/2013 11:26 AM, Saul Wold wrote: On 07/19/2013 02:13 AM, Hongxu Jia wrote: 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

[OE-core] [PATCH 1/2] python: fix importing readline with probably escape sequence output

2013-07-19 Thread Hongxu Jia
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'. 'km' means the terminal has a meta key which is a special key on MIT keyboards such

Re: [OE-core] [PATCH 1/2] python: fix importing readline with probably escape sequence output

2013-07-19 Thread Saul Wold
On 07/19/2013 02:13 AM, Hongxu Jia wrote: 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'. 'km' means the terminal has a meta key