[Bug 352073] Re: python-pexpect just duplicates stdin

2013-11-02 Thread Thomas Kluyver
This may seem weird, but echoing stdin is part of how tty devices work.
That's why you see what you're typing at a terminal. The output is
printed on the next line, but your Python script only reads one line, so
it doesn't see it.

You can disable tty echo with the setecho method:
http://pexpect.readthedocs.org/en/latest/api/pexpect.html#pexpect.spawn.setecho

** Changed in: pexpect (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/352073

Title:
  python-pexpect just duplicates stdin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pexpect/+bug/352073/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 352073] Re: python-pexpect just duplicates stdin

2009-03-30 Thread Nikolaus Rath
Note that this is a reduced testcase. In the actual program this problem
happens only sometimes, in about 50% the correct (filtered) value is
returned by readline()

-- 
python-pexpect just duplicates stdin
https://bugs.launchpad.net/bugs/352073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs