pty_control
Manage active PTY sessions by resizing dimensions, sending POSIX signals, or closing the session. Enables precise control over terminal processes in Linux sandboxes.
Instructions
Control an existing PTY session: resize, signal, or close.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | New terminal width (required for ``resize``). | |
| rows | No | New terminal height (required for ``resize``). | |
| action | Yes | One of ``resize``, ``signal``, ``close``. | |
| signal | No | POSIX signal name for ``signal`` (e.g. ``SIGINT``, ``SIGTERM``, ``SIGWINCH``, ``SIGUSR1``). | |
| session_name | Yes | The PTY session name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||