3 ms·
Here's my take, most of which is in other comments: If you like GNU Screen, continue using that, they are very similar tools. I’m a long term user of both, usi
by leonim 6y ago
Here's my take, most of which is in other comments:
If you like GNU Screen, continue using that, they are very similar tools. I’m a
long term user of both, using both for a while, and now only using Tmux
exclusively. I need a terminal multiplexer, since I often use my main computer
via ssh.
The main advantage of GNU Screen for me was it was slightly more robust, it
crashed less for me. While both are pretty stable. I can run both for weeks
at a time, and not have any issues. Though, I’ve heard others report the
opposite about stability between the two tools.
Tmux has some advantages for me:
- Tmux is scriptable. You can run tmux commands to query and set the state
of Tmux. It is possible to pipe and process those results. There is some
thought behind the commands, that make them consistent and orthogonal.
Screen never really could not do much beyond listing the available
sessions.
- This has made it easy for 3rd party developers to create Tmux plugins, adding some useful features.
- I think GNU Screen can now do split screens, but I feel it is easier to do
in Tmux. Many times I have a monitor with full a window terminal, and Tmux makes
it easy to split that up into smaller independent terminal panes.
- GNU Screen development had pretty much stalled for years. Tmux is being
actively developed. Outside developers are welcome to make contributions.
- The lead Tmux developer, Nicholas Marriot, is actively engaged with
users. He responds to bug reports, helping track down bugs, and
collaborating with contributors.
- I believe GNU Screen development has started again, but to me it just
doesn’t have the same level of engagement from the developers.
- Tmux has regular releases, compared to Screen
- Tmux is more current with the latest ANSI/SGR/OSC codes, and has robust
unicode support. This hurt me most when I use a wide terminal (> 256
columns), and wanted to use the mouse, going past a certain column was
broken. There is a new encoding SGR 1006, and it didn’t work with GNU
Screen, but did with Tmux. GNU Screen picked this up in 2019, but Tmux
had it for years before. There are other codes for 24bit color, italics,
fancy underlines, etc that GNU Screen doesn’t support, but many modern
terminal emulators do. Even ITerm2 has Tmux support builtin. While I
generally don’t need these but if/when I do, Tmux just works, while GNU
Screen just ignores these codes.
While both are capable and usable, there are a lot of details that make Tmux better to me.