I've worked almost exclusively on remote servers, using the command line and vim, for about eight years now. It's only been in the past year that I started using Screen, and I feel stupid for not using it sooner.
I've worked almost exclusively on remote servers, using the command line and vim, for about eight years now. It's only been in the past year that I started using Screen, and I feel stupid for not using it sooner.
Both screen and tmux offer multiple persistent sessions, the difference is the command syntax.
Back when I was deciding on a terminal multiplexer I picked tmux over screen because session sharing seemed to be done in a more sane way. But then again, had I used screen for any length of time I'm sure I'd have gotten used to it.
1/ Configs for status prompt were easier to grok
2/ Actively maintained. I used to use vertical split all the time and tmux had that where as gnu screen required hack patches.
If you only want persistence, screen, tmux, dtach do pretty much the same thing.
Main reasons for my move were
* Tmux handles split screens better (had horrible lag in screen, its a known bug)
* Panel and window navigation is easier in Tmux
Not wanting to leave it is why I've not spent much time with tmux. Is there something similar for it?
In other words, it seems like I've been working in 'the cloud' for the past 16 years and it can appear to me that everyone else is slowly catching up to this nifty idea.
The reality is that trends swing between thin and thick clients, centralization and decentralization. They are competing forces.
Things have improved for me a lot since. It does help that I live in the UK now. I believe nowadays within Europe something must be wrong to notice the difference (especially with SSH compression and screen), and the latency between the UK and the US has improved so much recently that I've forgotten that most of the servers I've been working on the past year is on the other side of the Atlantic.
http://en.wikipedia.org/wiki/NX_technology
Looks pretty good. Bookmarked for whenever I need a good remote desktop.
11:12:52 up 44 days, 54 min, 63 users
The machines I connect to are restarted rarely. I expect this particular machine to be up until Christmass time, at which point there will probably be some scheduled maintenance.Screen/tmux/dtach are so trivial to implement and use and make the connection much more bulletproof that if you foresee there ever being a possibility that you might disconnect and lose work, then you should probably be using one of them.
%uptime
11:49AM up 143 days, 17:08, 1 user, load averages: 0.00, 0.00, 0.00
My internet connection has been up for the last 65 days (yay for actually logging data). I don't keep remote connections to servers as I do all my work on my workstation and push when needed at which point my servers automatically pick up the changes and put them into {testing,staging,production} depending on where I push.In other words, I use Screen when I connect to remote machines. Those machines go down rarely.
My point though, which I'm sure you'll agree with, was to preempt the idea that "my machines don't crash, so I don't need it."
I've got a little bash script for my VM that launches tmux, and starts a development web server in one of the windows, and tailing logs in another, and then dumps me into my project directory.
I also found tmux much, MUCH easier to script than screen.
So... maybe someday, but not yet.