2007-09-05 21:54:05 +02:00
|
|
|
* I'm pretty busy these days and tmux is way down my list of priorities, so
|
|
|
|
don't expect a lot of progress soon. Contributions welcome!
|
|
|
|
-- Nicholas <nicm@users.sf.net>
|
|
|
|
|
2007-09-26 21:09:30 +02:00
|
|
|
XXX This is out of date!
|
|
|
|
|
2007-09-20 20:48:04 +02:00
|
|
|
Command prefix is C-b. This can be changed by building with, for example:
|
|
|
|
|
|
|
|
META=\\001 make
|
2007-07-09 21:04:12 +02:00
|
|
|
|
|
|
|
Commands: d detach
|
2007-09-22 13:50:33 +02:00
|
|
|
c create new window
|
|
|
|
n next window
|
|
|
|
p previous window
|
|
|
|
l last (next to last selected) window
|
2007-07-09 21:04:12 +02:00
|
|
|
r refresh screen
|
2007-09-22 13:50:33 +02:00
|
|
|
w list current windows
|
2007-07-09 21:04:12 +02:00
|
|
|
0-9 select window
|
|
|
|
|
|
|
|
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
|
2007-08-27 15:45:26 +02:00
|
|
|
sessions.
|
|
|
|
|
2007-09-26 16:08:16 +02:00
|
|
|
Syntax is: tmux [-v] [-s path] command [flags]
|
2007-08-27 15:45:26 +02:00
|
|
|
|
|
|
|
The command is either list, new or attach. Create a new session with:
|
|
|
|
|
|
|
|
tmux new
|
|
|
|
|
|
|
|
Optionally giving it a name with:
|
|
|
|
|
2007-09-26 16:08:16 +02:00
|
|
|
tmux new -n <session name>
|
2007-08-27 15:45:26 +02:00
|
|
|
|
|
|
|
Attach to a previous session with:
|
|
|
|
|
2007-09-26 16:08:16 +02:00
|
|
|
tmux attach -n <session name>
|
2007-08-27 15:45:26 +02:00
|
|
|
|
2007-08-27 17:28:07 +02:00
|
|
|
A name must (currently) be specified when attaching. This may change.
|
|
|
|
|
2007-08-27 15:45:26 +02:00
|
|
|
List all sessions with:
|
|
|
|
|
|
|
|
tmux list
|
|
|
|
|
|
|
|
Or the windows of a single session with:
|
|
|
|
|
2007-09-26 16:08:16 +02:00
|
|
|
tmux list -n <session name>
|
2007-08-27 15:45:26 +02:00
|
|
|
|
|
|
|
Sessions are destroyed when no windows remain attached to them.
|
2007-07-09 21:04:12 +02:00
|
|
|
|
2007-08-27 17:28:07 +02:00
|
|
|
Another server process can be used by specifying an alternative socket path
|
|
|
|
with "-s <path>" but it shouldn't normally be required.
|
2007-07-09 21:04:12 +02:00
|
|
|
|
|
|
|
You can set the window title (listed in -l), using the \e] escape sequence. For
|
|
|
|
example:
|
|
|
|
|
|
|
|
$ echo -n \\033]0;My Title\\007
|
|
|
|
|
|
|
|
There is currently no method for setting the window name (what will eventually
|
|
|
|
be shown in the status bar).
|
|
|
|
|
|
|
|
You might get message "couldn't find server" after a crash, in this case you
|
|
|
|
must remove the /tmp/tmux-`id -u` file manually.
|