{"slug": "dtach", "name": "dtach", "category": "terminal", "category_name": "Terminal and shell", "description": "", "recommenders": 3, "commenters": 4, "warners": 0, "score": 2.762, "rising": -0.98, "first": "2025-12-03", "latest": "2026-04-13", "why": "that's worked great with everything I've thrown at it", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 1, "compare": 0, "warn": 0}, "spark": [0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "that's worked great with everything I've thrown at it", "kind": "", "icon": false, "domain": null, "github_repo": "github.com/crigler/dtach", "official_url": "https://github.com/crigler/dtach", "pricing": "", "aliases": ["dtach"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 764054130, "item_id": 47753383, "url": "https://news.ycombinator.com/item?id=47753383", "by": "stebalien", "date": "2026-04-13", "version": null, "stance": "recommend", "quote": "you can use something like dtach or abducto", "excerpt": "My experience is that Emacs wants to be your everything, and works best if you let it. Have you tried putting your terminals inside of Emacs instead of the other way around? * If you need a \"real\" terminal emulator, you can use something like vterm (https://github.com/akermu/emacs-libvterm/). * If you need to be able to attach/detach Emacs sessions on remote machines, you can use something like dtach or abducto (http", "context": "", "use_case": "", "switched_from": "", "story": "Make Tmux Pretty and Usable"}, {"id": 739700690, "item_id": 46231293, "url": "https://news.ycombinator.com/item?id=46231293", "by": "ranger_danger", "date": "2025-12-11", "version": null, "stance": "recommend", "quote": "https://github.com/crigler/dtach", "excerpt": "I know this article is for Windows, but if you're wondering if there's a way to do this on Linux, there is: https://strace.io/ https://github.com/nelhage/reptyr https://github.com/crigler/dtach https://github.com/jerome-pouiller/reredirect https://github.com/pasky/retty", "context": "", "use_case": "Detachable terminal sessions", "switched_from": "", "story": "How can I read the standard output of an already-running process?"}, {"id": 738303808, "item_id": 46143988, "url": "https://news.ycombinator.com/item?id=46143988", "by": "jauntywundrkind", "date": "2025-12-03", "version": null, "stance": "recommend", "quote": "that's worked great with everything I've thrown at it", "excerpt": "Tried 3/4 of the tools, and none helped me reattach neovim. Ended up using dtach. Needs to be run ahead of time, but very direct and minimal stdin/stdout piping tool that's worked great with everything I've thrown at it. https://github.com/crigler/dtach", "context": "", "use_case": "Terminal session persistence", "switched_from": "", "story": "Zmx: Session Persistence for Terminal Processes"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["detachable terminal sessions", "terminal session persistence"], "compared": [{"slug": "tmux", "name": "tmux", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "abduco", "name": "abduco", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=47752819", "title": "Make Tmux Pretty and Usable", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=47148454", "title": "Claude Code Remote Control", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46168180", "title": "How can I read the standard output of an already-running process?", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46141893", "title": "Zmx: Session Persistence for Terminal Processes", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {"recommend": 2}, "2026-01": {}, "2026-02": {"neutral": 1}, "2026-03": {}, "2026-04": {"recommend": 1}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 764054130, "item_id": 47753383, "url": "https://news.ycombinator.com/item?id=47753383", "by": "stebalien", "date": "2026-04-13", "version": null, "stance": "recommend", "quote": "you can use something like dtach or abducto", "excerpt": "My experience is that Emacs wants to be your everything, and works best if you let it. Have you tried putting your terminals inside of Emacs instead of the other way around? * If you need a \"real\" terminal emulator, you can use something like vterm (https://github.com/akermu/emacs-libvterm/). * If you need to be able to attach/detach Emacs sessions on remote machines, you can use something like dtach or abducto (http", "context": "", "use_case": "", "switched_from": "", "story": "Make Tmux Pretty and Usable"}, {"id": 754548898, "item_id": 47159306, "url": "https://news.ycombinator.com/item?id=47159306", "by": "xpe", "date": "2026-02-25", "version": null, "stance": "neutral", "quote": "take a peek at dtach [2] and abduco [3]", "excerpt": "It can help to recognize that tmux combines three kinds of functionality: 1. process persistence; 2. client attachment; 3. view layout. If you don't like how tmux works, there are alternatives. I prefer Zellij [1]. (It also can be informative to take a peek at dtach [2] and abduco [3].) [1]: https://zellij.dev and https://github.com/zellij-org/zellij [2]: https://github.com/crigler/dtach and https://dtach.sourceforge", "context": "", "use_case": "", "switched_from": "", "story": "Claude Code Remote Control"}, {"id": 739700690, "item_id": 46231293, "url": "https://news.ycombinator.com/item?id=46231293", "by": "ranger_danger", "date": "2025-12-11", "version": null, "stance": "recommend", "quote": "https://github.com/crigler/dtach", "excerpt": "I know this article is for Windows, but if you're wondering if there's a way to do this on Linux, there is: https://strace.io/ https://github.com/nelhage/reptyr https://github.com/crigler/dtach https://github.com/jerome-pouiller/reredirect https://github.com/pasky/retty", "context": "", "use_case": "Detachable terminal sessions", "switched_from": "", "story": "How can I read the standard output of an already-running process?"}, {"id": 738303808, "item_id": 46143988, "url": "https://news.ycombinator.com/item?id=46143988", "by": "jauntywundrkind", "date": "2025-12-03", "version": null, "stance": "recommend", "quote": "that's worked great with everything I've thrown at it", "excerpt": "Tried 3/4 of the tools, and none helped me reattach neovim. Ended up using dtach. Needs to be run ahead of time, but very direct and minimal stdin/stdout piping tool that's worked great with everything I've thrown at it. https://github.com/crigler/dtach", "context": "", "use_case": "Terminal session persistence", "switched_from": "", "story": "Zmx: Session Persistence for Terminal Processes"}]}