aboutsummaryrefslogtreecommitdiff
path: root/NOTES
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-08-27 13:45:26 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-08-27 13:45:26 +0000
commit04f4e4219b63187630aab706f65245e2ea1ade5a (patch)
tree65b22a0f5bdb79daa7dbc6aafa1d1ce496154d53 /NOTES
parent6e210bb005ee5193fe030f5e8cfe8877aac6260d (diff)
downloadrtmux-04f4e4219b63187630aab706f65245e2ea1ade5a.tar.gz
rtmux-04f4e4219b63187630aab706f65245e2ea1ade5a.tar.bz2
rtmux-04f4e4219b63187630aab706f65245e2ea1ade5a.zip
Change command format.
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES29
1 files changed, 25 insertions, 4 deletions
diff --git a/NOTES b/NOTES
index ff4904ed..20064ee5 100644
--- a/NOTES
+++ b/NOTES
@@ -11,10 +11,31 @@ Commands: d detach
There is one default server process per user which puts its socket in
/tmp/tmux-UID. It is created the first time tmux is run and subsequent
invocations will connect to the same server. The server holds multiple
-sessions, call tmux with "-n <session name>" to create a session or attach to
-an existing session. All the sessions may be listed with -l, or the windows of
-a single session with "-ln <session name>". Sessions are destroyed when no
-windows remain attached to them.
+sessions.
+
+Syntax is: tmux [-v] [-n name] [-s path] command
+
+The command is either list, new or attach. Create a new session with:
+
+ tmux new
+
+Optionally giving it a name with:
+
+ tmux -n <session name> new
+
+Attach to a previous session with:
+
+ tmux -n <session name> attach
+
+List all sessions with:
+
+ tmux list
+
+Or the windows of a single session with:
+
+ tmux -n <session name> list
+
+Sessions are destroyed when no windows remain attached to them.
Another server process can be used by specifying an alternative socket path with
"-s <path>" but it shouldn't normally be required.