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.

classification
Title: some additional constants for termios
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, mwh
Priority: normal Keywords: patch

Created on 2001-03-21 09:43 by mwh, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
new-termios-patches.diff mwh, 2001-03-21 09:43 additional constants for termios.c
new-termios-patches.diff mwh, 2001-03-21 16:17 but CTRL isn't a constant...
termios-oops.diff mwh, 2001-04-03 10:55 #include <sys/ioctl.h>
Messages (5)
msg36158 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2001-03-21 09:43
This adds a pile of constants that were in my old
plat-linux2/TERMIOS.py that aren't in the new termios.c.

I'm not sure all of them have valid uses, but some of
them certainly do (I noticed that TIOCGWINSZ was missing).
msg36159 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2001-03-21 16:17
Logged In: YES 
user_id=6656

CTRL isn't a constant; I should probably try compiling my
patches before sending them in.
msg36160 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2001-03-26 17:14
Logged In: YES 
user_id=3066

Checked in as Modules/termios.c revision 2.20.
msg36161 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2001-04-03 10:55
Logged In: YES 
user_id=6656

Embarassingly, this patch doesn't do as much as it should,
because not all the necessary headers are included.

The additional patch #includes <sys/ioctl.h>.  I don't know
if we need some kind of guard before including this header.
msg36162 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2001-04-04 21:20
Logged In: YES 
user_id=3066

Added #include in Modules/termios.c revision 2.21.  That's a lot of constants!
History
Date User Action Args
2022-04-10 16:03:53adminsetgithub: 34207
2001-03-21 09:43:42mwhcreate