command history in the interpreter?

alex k ak42 at kurir.net
Sun May 21 07:32:47 CEST 2000


yes, but i didn't install python directly.
i figured i wanted to try the 1.6.

and thanks all:))
the readline did the job. had no clue about that.
but at least i learned sumfin in the process.


William Park wrote:
> 
> On Sat, May 20, 2000 at 05:57:07PM +0000, alex k wrote:
> > hello
> >
> >
> > i had python1.52 in linux/mandrake7. when i pressed the uparrow at the
> > console i could access the command history, so to speak. just like in
> > bash.
> >
> > now i use slackware7. i installed both python1.52 and python1.6 (the
> > former replacing the latter). it didn't work in none of them.
> > all of the arrowkeys type things like ^[[C  ^[[D and such.
> >
> > the python interpreter in win98 (1.52 and 1.6) also don't give me the
> > history function.
> >
> > anyone who has an idea on how to make that work again?
> > it's so awkward now that i can't even edit the txt without deleting it
> > (backspace).
> >
> > is that feature hidden somewhere in the interpreter, or did mandrake
> > somehow add it themselves?
> >
> >     thanks in adv. / alex
> 
> Search for 'readline' in 'Setup.in', and uncomment it.  By the way, my
> Python from Slackware-7.0 is able to do command-line editing.
> 
> --William

-- 

.
.
... ak42 at kurir dot net ...



More information about the Python-list mailing list