3 ms·
Emacs can serve as a terminal multiplexer, which is the most obvious thing for Emacs to provide in that setup, though as mikekchar said, it does have a lot to o
by LukeShu 11y ago
Emacs can serve as a terminal multiplexer, which is the most obvious thing for Emacs to provide in that setup, though as mikekchar said, it does have a lot to offer.
I never quite got the people who run Emacs in screen/tmux; emacs can already do that!
- fennecfoxen 11y agoIs there an emacs equivalent of screen -r? (or, if you want to be exciting, -x?)
- tomjakubowski 11y agoSort of. You can run emacs as a daemon and attach to it with emacsclient. Then when you want to detach, you just C-x C-c like usual, or disconnect and let the emacsclient process die. You have to remember to run emacs as a daemon up front, though. You could also run emacs inside something like dtach or abduco [1], which are a "session managers" like screen or tmux but without the multiplexer. http://www.brain-dump.org/projects/abduco/ http://www.brain-dump.org/projects/abduco/
- LukeShu 11y agoYes, I was referring to `emacs --daemon`/`emacsclient`. If you run `emacsclient -a ''` then it will automatically run `emacs --daemon` for you (if it isn't already running), so that you don't need to run it up-front.
- deleted 11y ago[deleted]