How to set the history commands visible ?
gtglus at gmail.com
Sun Sep 13 23:35:01 CEST 2015
2015-09-13 22:15 GMT+02:00 Laura Creighton <lac at openend.se>:
> In a message of Sun, 13 Sep 2015 19:15:19 +0200, Glus Xof writes:
> >Hi guys,
> >Today, a new python stable version was released (thanks for your job)...
> >and I write to ask you for the recommended method to compile the sources
> >(in Debian GNU/Linux platfom) in order to the arrow keys emit the history
> >commands instead of... it seems that escape sequences...
> >Python 3.5.0 (default, Sep 13 2015, 17:58:38)
> >[GCC 4.9.2] on linux
> >Type "help", "copyright", "credits" or "license" for more information.
> >>>> ^[[A^[[A^[[B^[[B
> >(I run the configure, make, make test & make install scripts)
> It seems your python is not installed with readline support, if
> the arrow keys are not working.
> You don't need to recompile python for this.
> Instead you need to install this.
> But I am surprised that you need this, as my debian linux unstable
> system has this out of the box, more or less always.
> I think this is because I have this package installed
> (there are versions for testing and stable as well).
> If I were you I would install this first and see if your
> arrow problems go away. If not, get out pip.
Thanks, that's it !!
> >Furthermore, I'd like also to ask a simple additional questions:
> >Is yet an automatic indentation system implemented ?
> >How to activate them ?
> I am not sure what you mean by this.
> If you, as I, was unhappy as anything about tab in the
> interactive console (at the far margin) meaning 'tab complete
> every builtin on the planet' rather than 'I'd like another level
> of indent please' -- then, 3.5, you are good to go. :) tabs typed
> flush to the margin just indent. tabs complete if you type them
> in the middle of an identifier.
> If you mean something else, then, well, explain it a little more, ok?
If I'm not wrong, in a later interpreter versions, when an enter key was
pressed after writing something requiring some indentated statement(s)...
>>> for i in range (0,3):
the system used to suggest "one tab" placing the cursor automatically after.
I don't know why this feature doesn't remain yet... or maybe I don't know
how activate this...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list