summaryrefslogtreecommitdiffstats
path: root/Lib/tty.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-114328: tty cbreak mode should not alter ICRNL (#114335)Gregory P. Smith2024-01-211-3/+0
| | | The terminal CR -> NL mapping setting should be inherited in cbreak mode as OSes do not specify altering it as part of their stty cbreak mode definition.
* gh-110392: Fix tty functions (GH-110642)Serhiy Storchaka2023-10-141-0/+2
| | | | | | | | * tty.setraw() and tty.setcbreak() previously returned partially modified list of the original tty attributes. Now they return the correct list of the original tty attributes * tty.cfmakeraw() and tty.cfmakecbreak() now make a copy of the list of special characters before modifying it.
* gh-85984: New additions and improvements to the tty library. (#101832)Soumendra Ganguly2023-05-191-16/+54
| | | | | | | | | | New additions to the tty library. Functions added: cfmakeraw(), and cfmakecbreak(). The functions setcbreak() and setraw() now return original termios to save an extra tcgetattr() call. --------- Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-011-0/+2
| | | | giving it a slight facelift
* Get the needed constants from termios, not TERMIOS.Fred Drake2001-02-271-1/+0
|
* Whitespace normalization.Tim Peters2001-01-151-18/+17
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-3/+4
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* New tty/pty modules by Steen; new urlparser.Guido van Rossum1994-09-121-0/+35