Latest change: Sat Nov 21 15:01:22 CET 2015 Created: Fri Nov 20 23:42:05 CET 2015 compiled by Sven Guckes screen-vs-tmux(at)guckes.net screen vs tmux: license: screen: since 1987: GPL. tmux: since 2007: BSD. both: session names, remote control * copy: from/to, linewise, blocks screen--: * starts without showing any windows or help. :-( * copy mode: exists mode when using a non-bound key -> repeat selection all over again :-( * splits: there is only *one* (global) layout. :-( * reattach: loses the current window layout (all hor/ver splits). :-( * language: doesnt have an internal language. so you cannot create variables and you cannot make decisions (branches) on anything. so it's hard to automize and script. :-( screen++: * zombie mode: see date+time of detach of process together with exit status and error messages; with ":zombie z" you kill it off with 'z', otherwise resurrect process the with CTRL-SPACE (fixed key binding) * multiuser mode: you can add/remove other users to view your session through ACL commands, eg: acladd user1,user2,user3 acldel user23,user42 as well as change their permissions aclchg user5,user23,user42 -w+x # these users may NOT write to the window (-2) -w no write. cannot write into windows. +x execute. command execution possible. # "for all windows" * copy mode: can join lines of selection in four different ways: "direct", with blanks, with commata, with LF. * read directly from a device (eg /dev/ttya) tmux++: * better source code * much bigger community * book: by Brian P. Hogan: "tmux- Pragmatic mouse-free development" ISBN-13: 978-1-934356-96-8 Publishes: 2012-02-29 -- P3.0 2014-04-17 https://pragprog.com/book/bhtmux/tmux [2012-02-29] Brian showing tmux: https://www.youtube.com/watch?v=JXwS7z6Dqic * book: by Nate Dickson: "Painless Tmux - A Sane Person's Guide to Command Line Happiness" https://leanpub.com/painless_tmux/ * scripting language -> easier solutions * many plugins * every window has its own page layout * can search for string in *all* open windows. * plugin copycat: search for *pattern* in all windows * window numbering starts at "1" (screen: always at "0") * has multiple paste buffers (screen has only one) * command line: has tab completion for command names TODO: * dependencies on libraries * copy mode key bindings: screen:vi, tmux:emacs * limitations: screen: windows numbers 0-99 . https://teamgaslight.com/blog/vim-plus-tmux-a-perfect-match http://robots.thoughtbot.com/tmux-copy-paste-on-os-x-a-better-future