Commit graph

3 commits

Author SHA1 Message Date
Miss Islington (bot)
33c1907de2
[3.12] gh-114328: tty cbreak mode should not alter ICRNL (GH-114335) (#114410)
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.
(cherry picked from commit fd49e22670)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2024-01-21 23:41:03 +00:00
Miss Islington (bot)
0164832db5
[3.12] gh-110392: Fix tty functions (GH-110642) (GH-110853)
* 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.

(cherry picked from commit 84e2096fbd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-10-14 06:18:14 +00:00
Miss Islington (bot)
43641f5893
[3.12] gh-110388: Add tests for tty (GH-110394) (#110621)
cherry picked from commit 7f702b26db)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-10-10 14:55:23 +02:00