summaryrefslogtreecommitdiffstats
path: root/system/tm/README
diff options
context:
space:
mode:
author Stu Miller2018-04-27 04:24:50 +0200
committer Willy Sudiarto Raharjo2018-04-27 04:24:50 +0200
commit52ce192a314565fc1c79bc2435ae7042b865afe5 (patch)
treea592e4aa36e76acca51c46c889f32b9455bc87ce /system/tm/README
parent9d60bb81360e86aea98d8466f8c95ff687e99fc1 (diff)
downloadslackbuilds-52ce192a314565fc1c79bc2435ae7042b865afe5.tar.gz
system/tm: Added (tmux manager/helper).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/tm/README')
-rw-r--r--system/tm/README33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/tm/README b/system/tm/README
new file mode 100644
index 0000000000..b5c10f468c
--- /dev/null
+++ b/system/tm/README
@@ -0,0 +1,33 @@
+* tm - tmux manager/helper
+
+This is a shell script used to ease day-to-day work with tmux (included
+with Slackware). It allows easy handling of various types of tmux sessions,
+as well as complex setups. It is mainly useful for using tmux as a
+ssh-multiplexer and replacement for clusterssh though its happy to do any
+other tmux session too.
+
+"tm" can be driven directly from the command line or by using
+repeatable session files. See /usr/doc/tm-yyyymmdd/README.org & examples/
+
+To create a repeatable tm/tmux session file:
+create folder: ~.tmux.d
+create file: remotes (example)
+
+REMOTES
+NONE
+root@remote_host1
+root@remote_host2
+
+The stock Slackware /etc/tmux.conf file can be modified to work better with
+multiple tmux panes. These changes help if replacing clusterssh with tm/tmux.
+The lines below are copied from /usr/doc/tmux-x.x/example_tmux.conf
+and added to a stock Slackware /etc/tmux.conf.
+
+# Turn the mouse on, but without copy mode dragging
+set -g mouse on
+unbind -n MouseDrag1Pane
+unbind -Tcopy-mode MouseDrag1Pane
+
+# Keys to toggle monitoring activity in a window, and synchronize-panes
+bind m set monitor-activity
+bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'