[IPython-User] [IPython-user] Arrow keys give ^[[A under CentOS

kcsmith kcsmith@raytheon....
Tue Jul 27 13:22:21 CDT 2010


Brian:
Yes, Python 2.6.5 modules/Setup file had readline commented out.
I uncommitted it and rebuilt python.  It now works!

Thanks for you help!

-Keith


Brian Granger-3 wrote:
> 
> On Tue, Jul 27, 2010 at 11:03 AM, kcsmith <kcsmith@raytheon.com> wrote:
> 
>>
>> I'm running Linux Rocks cluster which uses CentOS.
>> I did a stock install of ipython 0.10 into the /share/apps directory
>>
>> the history keys, tab complete do not work as I get ^[[A when I press the
>> up
>> arrow key
>>
>>
> This usually means that the Python was built without readline support.
>  IPython uses readline to get these features, so if it is missing, you get
> the behavior that you observed.
> 
> Brian
> 
> 
>> Here's what I get when I run $ ldd /share/apps/bin/python2.6
>>        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003622000000)
>>        libdl.so.2 => /lib64/libdl.so.2 (0x0000003621c00000)
>>        libutil.so.1 => /lib64/libutil.so.1 (0x000000362b400000)
>>        libm.so.6 => /lib64/libm.so.6 (0x0000003621800000)
>>        libc.so.6 => /lib64/libc.so.6 (0x0000003621400000)
>>        /lib64/ld-linux-x86-64.so.2 (0x0000003620e00000)
>>
>> Any ideas as how to fix this problem?
>>
>> Thanks
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Arrow-keys-give-%5E--A-under-CentOS-tp29279118p29279118.html
>> Sent from the IPython - User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
> 
> 
> 
> -- 
> Brian E. Granger, Ph.D.
> Assistant Professor of Physics
> Cal Poly State University, San Luis Obispo
> bgranger@calpoly.edu
> ellisonbg@gmail.com
> 
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
> 
> 

-- 
View this message in context: http://old.nabble.com/Arrow-keys-give-%5E--A-under-CentOS-tp29279118p29279267.html
Sent from the IPython - User mailing list archive at Nabble.com.



More information about the IPython-User mailing list