New submission from Conor Hughes <con...@berkeley.edu>:

Module termios is missing some constants useful for handling control characters 
under Mac OS X (and Solaris, and probably BSD but I don't have a pure BSD 
system to test against).

In particular, these systems support a control character "DSUSP" (which is 
similar to SUSP), but there is no provided symbol for the index into the cc 
array to use. The correct value for the proposed termios.VDSUSP would be 11 on 
MacOS and Solaris. I'm no Linux wizard but I don't believe it has this control 
character.

In addition, MacOS supports a control character STATUS, and the correct value 
for the proposed termios.VSTATUS would be 18.

Likewise, _POSIX_VDISABLE (or some similar identifier) is missing from the 
module. I believe the correct value on Solaris would be '\x00', MacOS '\xff', 
Linux '\x00'.

----------
components: Library (Lib)
messages: 97736
nosy: conorh
severity: normal
status: open
title: missing termios constants
type: behavior
versions: Python 2.5, Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7695>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to