Re: lost terminal after quitting python3

petr.2006 at centrum.cz petr.2006 at centrum.cz
Sun Mar 20 12:13:14 PDT 2016


pvmb:~ pet$ stty sane
pvmb:~ pet$ python
Python 3.5.1 (default, Mar  2 2016, 03:38:02) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D>>> 
pvmb:~ pet$

Still lost keyboard. When I start new terminal I see what I have typed into the dead one in command history.
I will try to reinstall python33 with +readline.

Petr

______________________________________________________________
> Od: Brandon Allbery <allbery.b at gmail.com>
> Komu: <petr.2006 at centrum.cz>
> Datum: 20.03.2016 18:52
> Předmět: Re: lost terminal after quitting python3
>
> CC: "MacPorts Users" <macports-users at lists.macosforge.org>
>On Sun, Mar 20, 2016 at 1:47 PM, <petr.2006 at centrum.cz> wrote:
>
>> I found a problem in my installation. When I use python3 in terminal I am
>> loosing keyboard input in the terminal after leaving the python. I have to
>> quit the terminal and open another one. Python27 works OK.
>
>
>I think that's known? Try typing "stty sane" and press control-J instead of
>enter.
>Something about it using libedit incorrectly; a workaround is to build it
>with +readline.
>
>-- 
>brandon s allbery kf8nh                               sine nomine associates
>allbery.b at gmail.com                                  ballbery at sinenomine.net
>unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
>


More information about the macports-users mailing list