Re: python shell silently ignores termios.tcsetattr()

2010-10-22 Thread Lawrence D'Oliveiro
In message , kj wrote: > What's wrong with it is that what python thinks is a "reasonable > state" is actually wrong in this case (it differs from the default > setting established by the Emacs shell). I personally wouldn’t try to run one program that wants to do its own interactive terminal con

Re: python shell silently ignores termios.tcsetattr()

2010-10-21 Thread Nobody
On Wed, 20 Oct 2010 16:18:57 +, kj wrote: > I tried to fix the problem by applying the equivalent of "stty -echo" > within a python interactive session, but discovered that this setting is > immediately (and silently) overwritten. FWIW, I don't see this behaviour with Python 2.6.5 on Linux. I

Re: python shell silently ignores termios.tcsetattr()

2010-10-21 Thread kj
In Lawrence D'Oliveiro writes: >In message , kj wrote: >> I tried to fix the problem by applying the equivalent of "stty >> -echo" within a python interactive session, but discovered that >> this setting is immediately (and silently) overwritten. >That seems reasonable behaviour; the command

Re: python shell silently ignores termios.tcsetattr()

2010-10-20 Thread Lawrence D'Oliveiro
In message , kj wrote: > I tried to fix the problem by applying the equivalent of "stty > -echo" within a python interactive session, but discovered that > this setting is immediately (and silently) overwritten. That seems reasonable behaviour; the command loop is resetting the terminal to a rea

python shell silently ignores termios.tcsetattr()

2010-10-20 Thread kj
This post is a continuation of an earlier thread called annoying CL echo in interactive python / ipython I found some more clues to the problem, although no solution yet. First, I found a post from 2009.05.09 that describes exactly the same situation I've observed (although it got no responses