Compiling python 2.2 with history command line support

Gerhard Häring gh_pythonlist at gmx.de
Tue Jan 8 06:15:03 EST 2002


Le 08/01/02 ? 13:05, Gillou écrivit:
> Hi,
> 
> I compiled python 2.2 on a debian 2.2 (too) with the curses support but the
> command line mode has no advanced edition support (history...)
> What did I miss ?

apt-get install libreadline4-dev

Then recompile your Python 2.2 and it will have readline support.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))




More information about the Python-list mailing list