3 ms·
Tmux allows you to start multiple windows and send commands to them. An example from man tmux - " refresh-client -t/dev/ttyp2 rename-session -tfirst newname
by WhatIsDukkha 2y ago
Tmux allows you to start multiple windows and send commands to them.
An example from man tmux -
"
refresh-client -t/dev/ttyp2
rename-session -tfirst newname
set-option -wt:0 monitor-activity on
new-window ; split-window -d
bind-key R source-file ~/.tmux.conf \; \
display-message "source-file done"
"
Screen has no equivalent besides manually using the keybinds.
I believe tmux has some better mechanics around the attach/detach but it eludes me atm what was better.
Basically what made me switch in the first place from screen to tmux was wanting a split window watch compile and a logfile to run automatically with one command.
Hard with screen and easy with tmux.