nelhage/reptyr
Reparent a running program to a new terminal observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 53
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5711
- days_rel: n/a
- days_push: 286
- n_releases_24m: 0
Adoption not part of the score
6325 stars · 230 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
reptyr is a command-line utility that reparents an already-running process to a new terminal using ptrace. It lets you move long-running programs into a terminal multiplexer like tmux or screen so they survive closing an SSH session.
Use cases
- move a running process into tmux before closing ssh
- reattach a long-running command to a new terminal
- rescue a process started without a terminal multiplexer
- keep a job running after disconnecting from ssh
- attach an existing process to screen or tmux
When to choose
- you started a long-running process over ssh and forgot to use tmux or screen
- you need full terminal interaction including ^C, ^Z, and window resizing after reattaching
- you want a reliable alternative to the gdb-based screenify script
When to avoid
- you only need to start new processes in a multiplexer rather than move existing ones
- you are on an OS other than Linux or FreeBSD
- you need to reattach backgrounded jobs' shell job control, which reptyr cannot fully fix
Facets
cli-tool · maturity active
developer-tools terminal-ui cli developer-tools operating-systems bsd cli ptrace terminal-multiplexer process-management tmux screen command-line linux
1 source
- readme: https://github.com/nelhage/reptyr · fetched 2026-08-28 · f473524aad15
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nelhage/reptyr | main | 56 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem