-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-114328: tty cbreak mode should not alter ICRNL #114335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CR -> NL mapping should be inherited in cbreak mode as OSes do not specify altering it as part of their `stty` cbreak mode definition.
@gpshead, please see #114328 (comment) |
Updated further after conversation on the issue, see the discussion there. This should be ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is considered a bugfix, why versionchanged
is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It's unclear if it is really needed (we normally don't), but it seems nice for our users to call the known issue out for a while. I'm okay with if these get deleted at a some later date. |
Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
) 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 fd49e22) Co-authored-by: Gregory P. Smith <[email protected]>
GH-114410 is a backport of this pull request to the 3.12 branch. |
…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 fd49e22) Co-authored-by: Gregory P. Smith <[email protected]>
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.
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.
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.
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.📚 Documentation preview 📚: https://cpython-previews--114335.org.readthedocs.build/