This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Konjkov
Recipients Konjkov, georg.brandl, kraai, loewis
Date 2007-09-19.03:01:35
SpamBayes Score 0.0023849467
Marked as misclassified No
Message-id <1190170895.6.0.269632404137.issue1722225@psf.upfronthosting.co.za>
In-reply-to
Content
However, I don't understand this entire point: What do you mean by
"using TCGETA requires that struct termio be defined"? How is TCGETA
defined to produce such a dependency? TCGETA is a constant, right?
-------------------------------------------------------------------
terminal I/O control has three different implementations under SVR4, 
BSD, and POSIX.1. 

SVR4 uses the termio structure, and various ioctl calls (such as 
TCGETA, TCSETA, TCSETAW, and TCSETAF) on a terminal device to obtain 
and set parameters with the termio structure.

Under POSIX, the termios struct is used, along with various functions 
defined by POSIX.1, such as tcsetattr and tcgetattr.

Under QNX
<termios.h> - is POSIX implimentation with functions tcsetattr and 
tcgetattr defined, but in <ioctl.h> that included in <termio.h> define 
MACROS TCGETA, TCSETA, TCSETAW, and TCSETAF.
That's why we need <termio.h> or simlink <sys/termio.h>.
Why do you want TCGETA, TCSETA, TCSETAW, and TCSETAF in Python if 
there is POSIX tcsetattr and tcgetattr functions?
History
Date User Action Args
2007-09-19 03:01:35Konjkovsetspambayes_score: 0.00238495 -> 0.0023849467
recipients: + Konjkov, loewis, georg.brandl, kraai
2007-09-19 03:01:35Konjkovsetspambayes_score: 0.00238495 -> 0.00238495
messageid: <1190170895.6.0.269632404137.issue1722225@psf.upfronthosting.co.za>
2007-09-19 03:01:35Konjkovlinkissue1722225 messages
2007-09-19 03:01:35Konjkovcreate