Matti Katila added the comment:
Not a real issue - it's a standard behaviour of tty.
Fix is to set -icanon:
m,s = os.openpty()
s = os.ttyname(s)
os.system( 'stty cs8 -icanon -echo < %s' % s )
see, http://www.eulogika.net/download/eutalk_20040302/pymouse.html
The issue
Matti Katila added the comment:
Linux Programmer’s Manual for ptmx and pts - pseudo-terminal master and
slave states:
"Data written to the slave is presented on the master descriptor as
input. Data written to the master is presented to the slave as input."
The data can be read
New submission from Matti Katila:
http://rafb.net/p/t8cqSt71.html
--
nosy: +mudyc
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1239>
__
___
Pyth
Changes by Matti Katila:
--
components: None
severity: normal
status: open
title: openpty does not give bidirectional pipe
type: behavior
versions: Python 2.5
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/