Instant Terminal Sharing
Go to file
Nicholas Marriott 89763f2ace Rewrite a confusing loop when freeing the arg array on exit and move the check
for argv being NULL, prompted by parfait via deraadt.

Also fix some definite brokenness when assigning multiple environment variables
in arguments (such as "X=1 Y=2").
2009-11-11 18:56:07 +00:00
array.h Missing ;. From eric@ ages ago. 2009-10-29 08:59:17 +00:00
attributes.c Don't dereference NULL if buf winds up being empty. Can't happen 2009-06-02 11:14:08 +00:00
cfg.c tabs are better; ok nicm 2009-10-26 21:42:04 +00:00
client.c Don't return 1 unless there was actually a problem (signal/lost server) rather 2009-11-10 15:47:48 +00:00
clock.c Permit options such as status-bg to be configured using the entire 256 colour 2009-09-10 17:16:24 +00:00
cmd-attach-session.c Only need to chmod +x or -x the socket when a client is created, lost or 2009-11-11 08:00:42 +00:00
cmd-bind-key.c Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t 2009-07-28 17:05:10 +00:00
cmd-break-pane.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-choose-client.c Reference count clients and sessions rather than relying on a saved index for 2009-09-07 21:01:50 +00:00
cmd-choose-session.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-choose-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-clear-history.c Remove some dead code found by clang. 2009-07-30 17:29:12 +00:00
cmd-clock-mode.c Now that pane targets (-t) are supported, switch some commands to use them 2009-08-18 16:21:04 +00:00
cmd-command-prompt.c Use KEYC_NONE constant instead of 0 on init. 2009-09-21 15:32:06 +00:00
cmd-confirm-before.c The cursession member in struct cmd_ctx is always either curclient->session or 2009-08-23 16:45:00 +00:00
cmd-copy-buffer.c Use KEYC_NONE constant instead of 0 on init. 2009-09-21 15:32:06 +00:00
cmd-copy-mode.c Remove scroll mode which is now redundant, copy mode should be used instead. 2009-10-06 07:19:32 +00:00
cmd-delete-buffer.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-detach-client.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-display-message.c Rather than running status-left, status-right and window title #() with popen 2009-10-10 15:03:01 +00:00
cmd-display-panes.c Add a new display-panes command, with two options (display-panes-colour and 2009-08-31 20:46:19 +00:00
cmd-down-pane.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-find-window.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-generic.c Initialise the arg2 pointer properly (also free it when freeing the 2009-08-26 18:09:52 +00:00
cmd-has-session.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-if-shell.c Add a flag for jobs that shouldn't be freed after they've died and use it for 2009-11-01 23:20:37 +00:00
cmd-kill-pane.c -a option to kill all except current pane. From Tiago Cunha, thanks! 2009-10-24 10:12:39 +00:00
cmd-kill-server.c Initial changes to move tmux to libevent. 2009-11-04 20:50:11 +00:00
cmd-kill-session.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-kill-window.c Move some common and untidy code for window link/unlink into generic functions 2009-09-20 17:27:18 +00:00
cmd-last-window.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-link-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-list-buffers.c Give each paste buffer a size member instead of requiring them to be 2009-09-07 18:50:45 +00:00
cmd-list-clients.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-list-commands.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-list-keys.c key_string_lookup_key uses a static buffer, so copy its output into the working 2009-11-05 12:04:50 +00:00
cmd-list-panes.c The pane pty name isn't useful for anything so show the pane number instead. 2009-10-15 07:05:38 +00:00
cmd-list-sessions.c Change session and client activity and creation time members to have more 2009-11-03 20:29:47 +00:00
cmd-list-windows.c Split list-panes off from list-windows. 2009-10-10 17:19:38 +00:00
cmd-list.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-load-buffer.c Call fstat() after fopen() rather than stat() before. 2009-10-26 21:25:57 +00:00
cmd-lock-client.c New lock-client and lock-session commands to lock an individual client or all 2009-09-24 14:17:09 +00:00
cmd-lock-server.c Don't allow locked or suspended clients to limit the size of active clients. 2009-09-24 07:02:56 +00:00
cmd-lock-session.c New lock-client and lock-session commands to lock an individual client or all 2009-09-24 14:17:09 +00:00
cmd-move-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-new-session.c Only need to chmod +x or -x the socket when a client is created, lost or 2009-11-11 08:00:42 +00:00
cmd-new-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-next-layout.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-next-window.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-paste-buffer.c Convert the window pane (pty master side) fd over to use a bufferevent. 2009-11-04 22:43:11 +00:00
cmd-pipe-pane.c Convert the window pane (pty master side) fd over to use a bufferevent. 2009-11-04 22:43:11 +00:00
cmd-previous-layout.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-previous-window.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-refresh-client.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-rename-session.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-rename-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-resize-pane.c Merge pane number into the target specification for pane commands. Instead of 2009-07-30 13:45:56 +00:00
cmd-respawn-window.c Rather than constructing an entire termios struct from ttydefaults.h, just let 2009-09-16 12:35:04 +00:00
cmd-rotate-window.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-run-shell.c Switch jobs over to use a bufferevent. 2009-11-04 21:04:43 +00:00
cmd-save-buffer.c Reset the umask right after fopen to avoid leaving it changed on error, noticed 2009-10-26 21:13:06 +00:00
cmd-select-layout.c If select-layout is not given an argument, repply the last layout used in the 2009-07-28 06:48:44 +00:00
cmd-select-pane.c Merge pane number into the target specification for pane commands. Instead of 2009-07-30 13:45:56 +00:00
cmd-select-prompt.c Switch the prompt code to return an empty string when the user enters no 2009-08-13 23:44:18 +00:00
cmd-select-window.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-send-keys.c Nuke -i option which isn't used anymore. 2009-09-21 15:25:36 +00:00
cmd-send-prefix.c Permit multiple prefix keys to be defined, separated by commas, for example: 2009-09-22 12:38:10 +00:00
cmd-server-info.c Change session and client activity and creation time members to have more 2009-11-03 20:29:47 +00:00
cmd-set-buffer.c Give each paste buffer a size member instead of requiring them to be 2009-09-07 18:50:45 +00:00
cmd-set-environment.c Add flags for 1+2 and 2 arguments to the generic target code, use it for 2009-08-11 12:53:37 +00:00
cmd-set-option.c Add a flag for jobs that shouldn't be freed after they've died and use it for 2009-11-01 23:20:37 +00:00
cmd-set-window-option.c Add a simple synchronize-panes window option: when set, all input to any pane 2009-10-09 07:27:00 +00:00
cmd-show-buffer.c Give each paste buffer a size member instead of requiring them to be 2009-09-07 18:50:45 +00:00
cmd-show-environment.c Infrastructure and commands to manage the environment for processes started 2009-08-08 21:52:43 +00:00
cmd-show-options.c Move common code from show-options and show-window-options into a function. 2009-09-21 14:46:47 +00:00
cmd-show-window-options.c Move common code from show-options and show-window-options into a function. 2009-09-21 14:46:47 +00:00
cmd-source-file.c Use KEYC_NONE constant instead of 0 on init. 2009-09-21 15:32:06 +00:00
cmd-split-window.c Use KEYC_NONE constant instead of 0 on init. 2009-09-21 15:32:06 +00:00
cmd-start-server.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-string.c Rewrite a confusing loop when freeing the arg array on exit and move the check 2009-11-11 18:56:07 +00:00
cmd-suspend-client.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-swap-pane.c Remove some dead code found by clang. 2009-07-30 17:29:12 +00:00
cmd-swap-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-switch-client.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd-unbind-key.c Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t 2009-07-28 17:05:10 +00:00
cmd-unlink-window.c Add "grouped sessions" which have independent name, options, current window and 2009-10-10 10:02:48 +00:00
cmd-up-pane.c Make all messages sent between the client and server fixed size. 2009-07-26 12:58:44 +00:00
cmd.c Add an activity time for clients, like for sessions, and change session and 2009-11-03 22:40:40 +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 Nuke a dead variable found with clang and an unused declaration with lint. 2009-08-09 15:17:50 +00:00
grid-view.c Move lines into the history when scrolling even if the scroll region is not 2009-10-13 15:38:37 +00:00
grid.c Move lines into the history when scrolling even if the scroll region is not 2009-10-13 15:38:37 +00:00
imsg-buffer.c Enclose repeated buffer draining code in a new msgbuf_drain() 2009-09-15 18:12:51 +00:00
imsg.c Switch tmux to use imsg. This is the last major change to make the 2009-08-11 17:18:35 +00:00
imsg.h Enclose repeated buffer draining code in a new msgbuf_drain() 2009-09-15 18:12:51 +00:00
input-keys.c Don't output rxvtisms either. 2009-11-10 18:48:03 +00:00
input.c Convert the window pane (pty master side) fd over to use a bufferevent. 2009-11-04 22:43:11 +00:00
job.c Add back JOB_PERSIST checks that got lost. 2009-11-04 21:10:49 +00:00
key-bindings.c Remove scroll mode which is now redundant, copy mode should be used instead. 2009-10-06 07:19:32 +00:00
key-string.c Lookup key as a named key (eg 'Space') before checking for single character 2009-11-10 17:24:43 +00:00
layout-set.c If select-layout is not given an argument, repply the last layout used in the 2009-07-28 06:48:44 +00:00
layout.c Improved layout code. 2009-07-19 13:21:40 +00:00
log.c Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by 2009-07-21 18:40:30 +00:00
Makefile Bye-bye buffer*.c. 2009-11-04 22:44:53 +00:00
mode-key.c Add mode keys to move the cursor to the top, middle and bottom of the screen. 2009-10-13 13:45:56 +00:00
names.c Change window name change to use a timer event rather than a gettimeofday() 2009-11-04 23:54:57 +00:00
options-cmd.c Permit multiple prefix keys to be defined, separated by commas, for example: 2009-09-22 12:38:10 +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 tv member of struct paste_buffer is updated but not otherwise used, so remove 2009-11-03 17:17:24 +00:00
procname.c Nuke a dead variable found with clang and an unused declaration with lint. 2009-08-09 15:17:50 +00:00
resize.c Don't allow locked or suspended clients to limit the size of active clients. 2009-09-24 07:02:56 +00:00
screen-redraw.c Add a minor optimisatin: if the character being printed is space, don't worry 2009-10-28 08:52:36 +00:00
screen-write.c Add an explicit zero-length check for UTF-8 input data, prompted by a report 2009-11-11 18:53:21 +00:00
screen.c Change the way the grid is stored, previously it was: 2009-08-08 13:29:27 +00:00
server-client.c Only need to chmod +x or -x the socket when a client is created, lost or 2009-11-11 08:00:42 +00:00
server-fn.c Use timeout events for the identify and message timers. 2009-11-04 23:29:42 +00:00
server-window.c Don't try enable/disable the event if the window pane is dead (fd == -1), as 2009-11-06 10:42:06 +00:00
server.c Free the pane bufferevent when the fd is closed (the signal could come before 2009-11-11 13:24:42 +00:00
session.c Change session and client activity and creation time members to have more 2009-11-03 20:29:47 +00:00
status.c Use timeout events for the identify and message timers. 2009-11-04 23:29:42 +00:00
tmux.1 There is no real standard for modifier plus function keys. Previously, tmux 2009-11-10 18:53:11 +00:00
tmux.c There is no real standard for modifier plus function keys. Previously, tmux 2009-11-10 18:53:11 +00:00
tmux.h Only need to chmod +x or -x the socket when a client is created, lost or 2009-11-11 08:00:42 +00:00
tty-keys.c Twiddling the last bit is an rxvtism, so do not support it in the table by 2009-11-10 17:59:34 +00:00
tty-term.c Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of these 2009-10-26 16:00:51 +00:00
tty.c Just ignore tty fd errors rather than dying, stops the server dying if the 2009-11-09 22:50:29 +00:00
utf8.c %zu not %u, doh. 2009-10-20 22:17:33 +00:00
window-choose.c Clean up by introducing a wrapper struct for mouse clicks rather than passing 2009-10-11 07:01:10 +00:00
window-clock.c Use gmtime_r so the current time isn't overwritten, the minute comparison works 2009-06-27 14:40:22 +00:00
window-copy.c Correctly nuke the EOL $ marker when scrolling, reported by martynas@, thanks. 2009-10-20 21:35:25 +00:00
window-more.c Permit options such as status-bg to be configured using the entire 256 colour 2009-09-10 17:16:24 +00:00
window.c Change window name change to use a timer event rather than a gettimeofday() 2009-11-04 23:54:57 +00:00
xmalloc.c tabs are better; ok nicm 2009-10-26 21:42:04 +00:00
xterm-keys.c Old xterm F1-F4 are \033O_P not \033[O_P. 2009-11-05 19:35:16 +00:00