/terminal-specialist:signals [SIGINT | SIGTERM | SIGHUP | all]from terminal-specialist
Provides Unix signal handling guidance for SIGINT, SIGTERM, SIGHUP and others, with handler patterns in Bash, C, and Python, plus safety considerations.
Ships in terminal-specialist. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
You are providing signal handling guidance. Follow these steps:
The user needs help with: $ARGUMENTS
Read the signal handling documentation:
skills/terminal-docs/references/09-signals.md
| Signal | Number | Keyboard | Description |
|---|---|---|---|
| SIGHUP | 1 | Hangup | |
| SIGINT | 2 | Ctrl+C | Interrupt |
| SIGQUIT | 3 | Ctrl+\ | Quit |
| SIGKILL | 9 | Force kill | |
| SIGTERM | 15 | Graceful terminate | |
| SIGTSTP | 20 | Ctrl+Z | Terminal stop |
| SIGCONT | 18 | Continue | |
| SIGWINCH | 28 | Window resize |
trap 'cleanup' EXIT
trap 'echo "Interrupted"' INT TERM
struct sigaction sa;
sa.sa_handler = handler;
sigemptyset(&sa.sa_mask);
sa.sa_flags = SA_RESTART;
sigaction(SIGINT, &sa, NULL);
import signal
signal.signal(signal.SIGINT, handler)
Based on the user's query:
7-day visitors to each command page
7 commands in this plugin
/cross-platformCross-Platform Compatibility GuideCross-platform terminal patterns for Windows, macOS, and Linux with portable code examples/docsSearch Terminal DocumentationSearch terminal documentation for TTY/PTY, streams, signals, escape sequences, and shell configuration/escapeANSI Escape Sequence ReferenceANSI escape sequence reference - colors, cursor control, screen manipulation with examples/modesTerminal Modes GuideGuide to terminal modes - canonical, raw, and cbreak with termios configuration/shellShell Configuration GuideShell configuration guide - startup files, environment variables, and shell options for bash/zsh/streamsI/O Streams ReferenceStandard I/O streams guide - stdin, stdout, stderr with buffering, piping, and redirectionnpx claudepluginhub mwguerra/claude-code-plugins --plugin terminal-specialistOther plugins' commands for the same job