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