Initial import to CVS. Basic functions are working, albeit with a couple of showstopper memory bugs and many missing features. Detaching, reattaching, creating new sessions, listing sessions work acceptably for using with shells. Simple curses programs (top, systat, tetris) and more complicated ones (mutt, emacs) that don't require scrolling regions (ESC[r) mostly work fine (including mutt, emacs). No status bar yet and no key remapping or other customisation.

This commit is contained in:
Nicholas Marriott
2007-07-09 19:04:12 +00:00
parent 2905e0ef10
commit a41ece5ff0
19 changed files with 6798 additions and 0 deletions

31
NOTES Normal file
View File

@ -0,0 +1,31 @@
Command prefix is C-b.
Commands: d detach
c create new terminal
n next terminal
p previous terminal
r refresh screen
t set window name
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
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.
Another server process can be used by specifying an alternative socket path with
"-s <path>" but it shouldn't normally be required.
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.