Compiling Python2.2a1 & losing command-line features

Gerhard Häring gerhard.nospam at bigfoot.de
Tue Aug 7 05:22:19 EDT 2001


On Mon, 6 Aug 2001 23:43:25 -0400, Paul Johnston wrote:
>I have used binary and source-compiled versions of Python.  In every case 
>where I use the latter my Python environment loses all its normal niceties 
>like backspace, line-repeat, etc.  Is there a setting or configuration item 
>I need to set to get these back?

This features come from the readline library. If you have are using Linux, be
sure to have the readline package as well as the readline-devel package
installed. Python configuration should then automatically find readline and
build against it, so that you have a decent interactive interpreter again.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://highqualdev.com              public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y: x+y, [chr(ord(x)^42) for x in list('zS^BED\nX_FOY\x0b')])



More information about the Python-list mailing list