Re: python shell silently ignores termios.tcsetattr()

2010-10-22 Thread Lawrence D'Oliveiro
In message i9q2go$5...@reader1.panix.com, kj no.em...@please.post 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

Re: python shell silently ignores termios.tcsetattr()

2010-10-21 Thread kj
In i9o8jc$9p...@lust.ihug.co.nz Lawrence D'Oliveiro l...@geek-central.gen.new_zealand writes: In message i9n4ph$d7...@reader1.panix.com, 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

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

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

Re: python shell silently ignores termios.tcsetattr()

2010-10-20 Thread Lawrence D'Oliveiro
In message i9n4ph$d7...@reader1.panix.com, 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