Skip to main content

Crate rmux_pty

Crate rmux_pty 

Source
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§

ChildCommand
A command configuration for spawning a process inside a newly allocated PTY.
ProcessId
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.
SpawnedPty
A spawned process together with the PTY master used to communicate with it.
TerminalGeometry
A terminal geometry request including cell dimensions and optional pixels.
TerminalPixels
Terminal pixel dimensions reported by terminals that expose TIOCGWINSZ pixel fields.
TerminalSize
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.