On Sun, Mar 20, 2016 at 3:13 PM, <petr.2...@centrum.cz> wrote:

> 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.


Sorry, I meant that's what to type into the "dead" terminal to make it
behave again. When python3 is using libedit, for some reason it doesn't
reset to linemode+echo on exit. Seeing stuff in command history would seem
to confirm this.

(You could make a script to automate this, if readline turns out to be
unacceptable for some reason:

    #! /bin/sh
    tty="$(stty -g)"
    python3 ${1+"$@"}
    rc=$?
    stty "$tty"
    exit $rc
)

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to