Expand description
Terminal control and job control for interactive mode.
Handles process group management, terminal ownership, and foreground wait with WUNTRACED support for Ctrl-Z (SIGTSTP).
All functionality is #[cfg(unix)] — non-Unix platforms get stubs.
Signal disposition (sigaction) requires unsafe per POSIX. This is the only
module in kaish that uses unsafe code, and it’s limited to well-understood
signal-handling patterns that every shell must perform.
Structs§
- Terminal
State - Terminal state for interactive job control.
Enums§
- Wait
Result - Result of waiting for a foreground process.