Expand description
PTY allocation, sizing, and child-process management for RMUX.
This crate confines PTY and terminal-control boundaries behind a small, documented API that exposes:
- PTY allocation,
- terminal size query and resize on PTY file descriptors,
- child spawning into a controlling terminal-backed PTY, and
- child signaling and reaping.
Structs§
- Child
Command - A command configuration for spawning a process inside a newly allocated PTY.
- Process
Id - A platform-neutral process identifier for PTY children.
- PtyChild
- A handle for signaling and reaping a PTY-backed child process.
- PtyIo
- The I/O endpoint for a pseudoterminal.
- PtyMaster
- The master handle of a pseudoterminal.
- PtyPair
- A freshly allocated PTY pair.
- PtySlave
- The slave endpoint of a Unix pseudoterminal pair.
- Signal
- Compatibility signal names used by existing RMUX call sites.
- Spawned
Pty - A spawned process together with the PTY master used to communicate with it.
- Terminal
Geometry - A terminal geometry request including cell dimensions and optional pixels.
- Terminal
Pixels - Terminal pixel dimensions reported by terminals that expose
TIOCGWINSZpixel fields. - Terminal
Size - A terminal geometry request.
Enums§
- PtyError
- Errors produced by PTY allocation, resize, and child-process operations.
- PtySignal
- A high-level child process termination request.
Type Aliases§
- Result
- A crate-local result type for PTY operations.