On this page
tty.cfmakeraw
Prev: tty.cfmakecbreak | Up: tty | Next: tty.setcbreak
Rel: tty.cfmakecbreak, tty.setcbreak, tty.setraw
Ref: docs.python.org — tty.cfmakeraw
Tags: #public #python3 #stdlib #tty
Import
import tty
from tty import cfmakeraw
Signature & Overview
tty.cfmakeraw(mode)
Make termios mode raw.
Usage
import tty
# Python 3.12+ Unix-only: pure helper mutating a tcgetattr() mode list into raw mode
assert hasattr(tty, 'cfmakeraw') or True
Gotchas
- Requires Python 3.12+: Disables echo, canonical buffering, and
Ctrl-Csignal translation.
REPL Inspect
from tty import cfmakeraw
help(cfmakeraw)
Linked from
Related notes
- tuts/python3/stdlib_module/tty/cfmakecbreak Linked here; links to this page; shared tags: #stdlib, #tty
- tuts/python3/stdlib_module/tty/setcbreak Linked here; links to this page; shared tags: #stdlib, #tty
- tuts/python3/stdlib_module/tty/setraw Linked here; links to this page; shared tags: #stdlib, #tty
- tuts/python3/stdlib_module/tty Linked here; links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib