summaryrefslogtreecommitdiffstats
path: root/Modules/termios.c
Commit message (Collapse)AuthorAgeFilesLines
* Unixware 7 support by Billy G. Allie (SF patch 413011)Guido van Rossum2001-04-111-0/+4
|
* Michael Hudson <mwh21@cam.ac.uk>:Fred Drake2001-04-091-13/+10
| | | | | | | Update the docstrings to no longer refer to the obsolete TERMIOS module. This is a partial acceptance of SF patch #413419.
* Effectively revert the previous change: leave the new #include in, butFred Drake2001-04-051-0/+3
| | | | | comment it out with an explanation. This makes it easier for someone who wants the additional symbols to try re-enabling it for their platform.
* Add an #include of sys/ioctl.h to pick up a lot of the constants supportedFred Drake2001-04-041-0/+1
| | | | | | in the previous patch. This closes (again!) SF patch #410267.
* Michael Hudson <mwh21@cam.ac.uk>:Fred Drake2001-03-261-0/+329
| | | | | | Add many more constants for some systems. This closes SF patch #410267.
* Wrap several more of the constants in #ifdef/#endif for FreeBSD; at leastFred Drake2001-03-031-0/+58
| | | | | | | some fairly recent versions have an anaemic selection of terminal-control symbols. This closes SF bug #405567.
* Add more protection around the VSWTC/VSWTCH, CRTSCTS, and XTABS symbols;Fred Drake2001-03-021-1/+9
| | | | | | | | | these can be missing on some (all?) Irix and Tru64 versions. Protect the CRTSCTS value with a cast; this can be a larger value on Solaris/SPARC. This should fix SF tracker items #405092, #405350, and #405355.
* Solaris defines VSWTCH instead of VSWTC; carefully make sure both areFred Drake2001-03-011-0/+11
| | | | | | | | | | defined and export both names. Solaris also does not define CBAUDEX; it is not clear that CBAUDEXT (which is defined there) is the same thing, so we only protect against the lack of CBAUDEX. Reported by Greg V. Wilson.
* Revised version of Jason Tishler's patch to make this compile on Cygwin,Fred Drake2001-03-011-0/+10
| | | | | | which does not define all the constants. This closes SF tracker patch #404924.
* Define the constants needed for working with these functions directlyFred Drake2001-02-271-0/+158
| | | | in this module; no more need for TERMIOS.py.
* Use METH_OLDARGS instead of numeric constant 0 in method def. tablesAndrew M. Kuchling2000-08-031-6/+12
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-18/+6
|
* Should include "Python.h", not <Python.h> -- it's not a standardGuido van Rossum1999-01-141-1/+1
| | | | header file (yet :-).
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+4
|
* In tcsetattr(), first initialize the mode structure by callingGuido van Rossum1998-06-121-0/+3
| | | | | tcgetattr(). This seems to be the only correct way to cope with platform-specific structure members...
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-7/+67
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-4/+1
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Add 'return' keyword before error calls.Guido van Rossum1997-07-171-8/+8
|
* The usual return-value and memory management checks. I'm not planningBarry Warsaw1997-01-101-10/+16
| | | | | a test for this module though (it does compile at least on Solaris 2.5)
* Fix operator priority bug found thanks to gcc -Wall.Guido van Rossum1996-12-101-1/+1
|
* * various modules: #include "Python.h" and remove most remporaryGuido van Rossum1994-09-141-16/+1
| | | | renaming hacks
* Steen Lumholt's termios interface.Guido van Rossum1994-09-121-0/+258