Instant Terminal Sharing
Go to file
Nicholas Marriott cc42614fa9 Change from a per-session stack of buffers to one global stack which is
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.

By Tiago Cunha.
2010-12-30 23:16:18 +00:00
array.h Shut up gcc4 warnings. 2010-06-05 16:32:22 +00:00
attributes.c Accept (and document) "none" instead of "default" for attributes as it 2010-05-14 18:56:21 +00:00
cfg.c Allow the config file parser and source-file to return "don't exit" to 2010-12-29 21:28:32 +00:00
client.c Merge the before and after attach client code into one in client.c 2010-10-18 20:00:02 +00:00
clock.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-attach-session.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
cmd-bind-key.c Setting the cmdlist pointer in the bind-key to NULL to prevent it being freed 2010-06-26 18:20:53 +00:00
cmd-break-pane.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-capture-pane.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-choose-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-choose-client.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-choose-session.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
cmd-choose-window.c Add a function to create window flags rather than doing the same thing 2010-12-30 21:35:17 +00:00
cmd-clear-history.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-clock-mode.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-command-prompt.c Identical behaviour to select-prompt can now be obtained with 2010-05-05 23:24:23 +00:00
cmd-confirm-before.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-copy-mode.c Handle failure to change mode, to avoid dying when switching into copy 2010-08-11 07:41:05 +00:00
cmd-delete-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-detach-client.c Support attaching a client read-only with a new -r flag to the attach-session 2010-02-06 22:55:31 +00:00
cmd-display-message.c Add a -p flag to display-message to print the output rather than displaying in 2009-11-24 19:16:11 +00:00
cmd-display-panes.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-find-window.c Unify the way sessions are used by callbacks - store the address and use 2010-12-20 00:03:55 +00:00
cmd-generic.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-has-session.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-if-shell.c When changing so that the client passes its stdout and stderr as well as 2010-07-24 20:11:59 +00:00
cmd-join-pane.c Usage string fixes from Ben Boeckel. 2010-08-11 07:38:00 +00:00
cmd-kill-pane.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-kill-server.c Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to 2009-11-26 21:37:13 +00:00
cmd-kill-session.c Use server_destroy_session() for kill-session. 2010-06-26 23:55:50 +00:00
cmd-kill-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-last-pane.c Add a last-pane command (bound to ; by default). Requested ages ago by 2010-10-23 13:04:34 +00:00
cmd-last-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-link-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-list-buffers.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-list-clients.c Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to 2009-11-26 21:37:13 +00:00
cmd-list-commands.c Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to 2009-11-26 21:37:13 +00:00
cmd-list-keys.c Mark repeating keys with "(repeat)" in the key list. 2010-10-20 18:20:36 +00:00
cmd-list-panes.c Show more window and pane flags in list-* output, and put layout on the 2010-11-15 06:52:11 +00:00
cmd-list-sessions.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
cmd-list-windows.c Show more window and pane flags in list-* output, and put layout on the 2010-11-15 06:52:11 +00:00
cmd-list.c We now send argv to the server after parsing it in the client to get the 2010-10-29 20:11:57 +00:00
cmd-load-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-lock-client.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-lock-server.c Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to 2009-11-26 21:37:13 +00:00
cmd-lock-session.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-move-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-new-session.c Use pointer rather than index for the client's last session. 2010-12-20 00:17:22 +00:00
cmd-new-window.c Store the current working directory in the session, change the default-path 2010-06-27 02:56:59 +00:00
cmd-next-layout.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-next-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-paste-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-pipe-pane.c Trying to set FD_CLOEXEC on every fd is a lost cause, just use 2010-10-16 08:31:55 +00:00
cmd-previous-layout.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-previous-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-refresh-client.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-rename-session.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
cmd-rename-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-resize-pane.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-respawn-window.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-rotate-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-run-shell.c When changing so that the client passes its stdout and stderr as well as 2010-07-24 20:11:59 +00:00
cmd-save-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-select-layout.c Custom layouts. list-windows command displays the layout as a string (such as 2010-06-29 03:30:13 +00:00
cmd-select-pane.c Support up, down, left, right movement through panes with -UDLR flags to 2010-03-22 19:07:52 +00:00
cmd-select-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-send-keys.c Pass in the session, rather than the client, to window modes' key() 2010-05-23 19:42:19 +00:00
cmd-send-prefix.c Pass in the session, rather than the client, to window modes' key() 2010-05-23 19:42:19 +00:00
cmd-server-info.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
cmd-set-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-set-environment.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-set-option.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-set-window-option.c Eliminate duplicate code and ease the passage for server-wide options by adding 2009-12-03 17:44:02 +00:00
cmd-show-buffer.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
cmd-show-environment.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-show-messages.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-show-options.c Add "server options" which are server-wide and not bound to a session or 2009-12-10 09:16:52 +00:00
cmd-show-window-options.c Eliminate duplicate code and ease the passage for server-wide options by adding 2009-12-03 17:44:02 +00:00
cmd-source-file.c Allow the config file parser and source-file to return "don't exit" to 2010-12-29 21:28:32 +00:00
cmd-split-window.c Store the current working directory in the session, change the default-path 2010-06-27 02:56:59 +00:00
cmd-start-server.c Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to 2009-11-26 21:37:13 +00:00
cmd-string.c Read ${X} environment variables in strings and $HOME from the global 2010-12-13 22:53:14 +00:00
cmd-suspend-client.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-swap-pane.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd-swap-window.c Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the 2009-11-13 19:53:28 +00:00
cmd-switch-client.c Use pointer rather than index for the client's last session. 2010-12-20 00:17:22 +00:00
cmd-unbind-key.c Flag to flush all key bindings from Rob Paisley. 2010-11-11 20:54:06 +00:00
cmd-unlink-window.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
cmd.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
colour.c Permit options such as status-bg to be configured using the entire 256 colour 2009-09-10 17:16:24 +00:00
environ.c Run job commands explicitly in the global enviroment (which can be 2010-04-04 19:02:09 +00:00
grid-utf8.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
grid-view.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
grid.c Merge copy mode and output mode, dropping the latter. Idea and code from 2010-04-06 21:35:44 +00:00
input-keys.c Support all four of the xterm mouse modes. Based on a diff from hsim at 2010-12-29 21:49:06 +00:00
input.c Support all four of the xterm mouse modes. Based on a diff from hsim at 2010-12-29 21:49:06 +00:00
job.c Trying to set FD_CLOEXEC on every fd is a lost cause, just use 2010-10-16 08:31:55 +00:00
key-bindings.c Track the last session for a client and add a flag to switch-client and 2010-12-11 18:39:25 +00:00
key-string.c Use a macro-based mask for obtaining a key or modifier-set from the 2010-06-06 19:00:13 +00:00
layout-custom.c Custom layouts. list-windows command displays the layout as a string (such as 2010-06-29 03:30:13 +00:00
layout-set.c Add other-pane-height and other-pane-width options, allowing the width 2010-12-19 18:35:08 +00:00
layout-string.c Custom layouts. list-windows command displays the layout as a string (such as 2010-06-29 03:30:13 +00:00
layout.c Custom layouts. list-windows command displays the layout as a string (such as 2010-06-29 03:30:13 +00:00
log.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
Makefile Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
mode-key.c Add vi-style "jump" commands for copy mode, from Micah Cowan. 2010-03-22 19:10:42 +00:00
names.c Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last 2009-12-03 22:50:09 +00:00
options.c Permit multiple prefix keys to be defined, separated by commas, for example: 2009-09-22 12:38:10 +00:00
paste.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
procname.c Use sysctl() KERN_PROC2 instead of KERN_PROC, as the latter's ABI 2009-12-24 22:29:15 +00:00
resize.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
screen-redraw.c Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid 2010-09-11 16:19:22 +00:00
screen-write.c Support all four of the xterm mouse modes. Based on a diff from hsim at 2010-12-29 21:49:06 +00:00
screen.c Fix rectangle copy to behave like emacs - the cursor is not part of the 2010-12-11 17:56:01 +00:00
server-client.c Support all four of the xterm mouse modes. Based on a diff from hsim at 2010-12-29 21:49:06 +00:00
server-fn.c server_kill_window can modify the RB tree so don't use RB_FOREACH, fixes 2010-12-23 21:56:38 +00:00
server-window.c Store sessions in an RB tree by name rather than a list, this is tidier 2010-12-21 22:37:59 +00:00
server.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
session.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
signal.c Do not call event_del() for signals after fork(), just use sigaction() 2010-08-19 18:29:01 +00:00
status.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
tmux.1 Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
tmux.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
tmux.h Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
tty-acs.c Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid 2010-09-11 16:19:22 +00:00
tty-keys.c When the mode-mouse option is on, support dragging to make a selection 2010-05-31 19:51:29 +00:00
tty-term.c Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid 2010-09-11 16:19:22 +00:00
tty.c Support all four of the xterm mouse modes. Based on a diff from hsim at 2010-12-29 21:49:06 +00:00
utf8.c %zu not %u, doh. 2009-10-20 22:17:33 +00:00
window-choose.c Support all four of the xterm mouse modes. Based on a diff from hsim at 2010-12-29 21:49:06 +00:00
window-clock.c Pass in the session, rather than the client, to window modes' key() 2010-05-23 19:42:19 +00:00
window-copy.c Change from a per-session stack of buffers to one global stack which is 2010-12-30 23:16:18 +00:00
window.c Add a function to create window flags rather than doing the same thing 2010-12-30 21:35:17 +00:00
xmalloc.c tabs are better; ok nicm 2009-10-26 21:42:04 +00:00
xterm-keys.c Treat the meta bit in the xterm extended modifier key set as the same as 2010-10-14 00:37:51 +00:00