Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Screens main use case is to open an emacs session remotely.

Tmux's main use case is to be glue for a unix IDE.

The two use cases are rather different and the tools are very specialized for them.



Nah, screen's main use case is as an ad-hoc method to daemonise random scripts.



A more modern alternative is systemd-run: <https://www.freedesktop.org/software/systemd/man/latest/syst...>


Yeah this is 100% of when I reach for screen. “I’m not willing/ready to make this a service, screen detach here I come”


I switched to dtach for the first case.


dtach for session persistence. “Do one thing well.”


> Screens main use case is to open an emacs session remotely.

Not an emacs user, but for this, what does screen do that tmux can't?


Nothing at all. I’ve used emacs over tmux (and now zellij) for many years. Emacsserver can replace both of them, but that’s a different story.


Nothing but replacing it with something newer invalidates decades of muscle memory.

I switched to tmux eventually though.


I'm confused by this statement. Are you claiming this is the projects' stated goal? Their primary use in the wild?


Emacs can work as a daemon.


It also has tramp mode which means you can use all your local packages remotely.


When I realized how powerful TRAMP was, I don't think I ever used screen/tmux again. I'm sure there are uses, mind. Just TRAMP fully hit all of my needs.


It really is magical, isn’t it? And although I rarely need to use it, I love the multihop setups where you can ssh to this system, then ssh again to this other, then mount an SMB filesystem using these credentials, and start editing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: