Zmx: Session Persistence for Terminal Processes
37 points
13 hours ago
| 4 comments
| github.com
| HN
planckscnst
9 hours ago
[-]
If you like this tool, you might also be interested in reptyr, which lets you reparent a process to a different tty.

https://blog.nelhage.com/2011/02/changing-ctty/

reply
ranger_danger
9 hours ago
[-]
reply
jauntywundrkind
7 hours ago
[-]
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

reply
000ooo000
9 hours ago
[-]
Awesome, I was imagining how something like this would be good for me at home. This almost seems perfect, and autossh + the ssh 'aliases' (d.term) in the readme are new to me so TIL. Thanks for sharing.
reply
yjftsjthsd-h
7 hours ago
[-]
It would be nice if the "prior art" section did a compare/contrast. Like, it sounds like abduco does the same thing; why should I prefer this over that?
reply
perrohunter
5 hours ago
[-]
I want this, but with the window switcher from tmux
reply
bananapub
3 hours ago
[-]
if you want anything other than "switch to another full terminal window, no splits, no status bar" then you want tmux or screen or zellij - this tool and the others like it are explicitly avoiding becoming (nested) terminal emulators like tmux and screen and zellij.

at least I think it would be possible to do "switch to another full terminal window, no splits, no status bar" without being a terminal emulator, I haven't tried.

reply