Skip to content

[noderawfs] Support TTY ioctls and add test_ioctl_termios_noderawfs - #27602

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:noderawfs-ioctl
Aug 24, 2026
Merged

[noderawfs] Support TTY ioctls and add test_ioctl_termios_noderawfs#27602
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:noderawfs-ioctl

Conversation

@sbc100

@sbc100 sbc100 commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Set stream.tty to a TTY device object with TTY.default_tty_ops when nodeTTY.isatty(nfd) is true, allowing termios and window size ioctls (TCGETS, TCSETS, TIOCGWINSZ) to work under NODERAWFS.

Add test_ioctl_termios_noderawfs to test/test_other.py.

See: #22264

@sbc100
sbc100 requested a review from kripken August 24, 2026 06:12
Set `stream.tty` to a TTY device object with `TTY.default_tty_ops`
when `nodeTTY.isatty(nfd)` is true, allowing termios and window size
ioctls (`TCGETS`, `TCSETS`, `TIOCGWINSZ`) to work under `NODERAWFS`.

Add `test_ioctl_termios_noderawfs` to `test/test_other.py`.

See: emscripten-core#22264
@sbc100
sbc100 enabled auto-merge (squash) August 24, 2026 06:19
@sbc100
sbc100 merged commit 61495d4 into emscripten-core:main Aug 24, 2026
42 checks passed
@sbc100
sbc100 deleted the noderawfs-ioctl branch August 24, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants