Instant Terminal Sharing
Go to file
Nicholas Marriott 4c5c125173 When unlocking the server, don't try to clear the prompt on clients without a
prompt (such as the one issuing the unlock request).

This caused the server to die if the wrong password was entered when unlocking
from the command line with -U (nasty).
2009-06-30 13:40:30 +00:00
arg.c Don't access array[-1] if array is an empty string. 2009-06-02 11:18:59 +00:00
array.h Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +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
buffer-poll.c Nuke unused buffer functions. Found by lint. 2009-06-25 06:05:47 +00:00
buffer.c Nuke unused buffer functions. Found by lint. 2009-06-25 06:05:47 +00:00
cfg.c Unused prototypes. Found by lint, no binary change. 2009-06-25 06:00:45 +00:00
client-fn.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
client-msg.c Make code clearer: 2009-06-02 11:17:03 +00:00
client.c Remove some dead assignments, found by sthen with clang. 2009-06-25 22:09:20 +00:00
clock.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-attach-session.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
cmd-bind-key.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-break-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-choose-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-choose-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-clear-history.c Unused prototypes. Found by lint, no binary change. 2009-06-25 06:00:45 +00:00
cmd-clock-mode.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-command-prompt.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-confirm-before.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-copy-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-copy-mode.c Don't try to page up with scroll-mode -u or copy-mode -u unless the mode was 2009-06-29 07:11:20 +00:00
cmd-delete-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-detach-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-down-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-find-window.c Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
cmd-generic.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-has-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-server.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-last-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-link-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-buffers.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-clients.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-commands.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-sessions.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-windows.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-load-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-lock-server.c Unused prototypes. Found by lint, no binary change. 2009-06-25 06:00:45 +00:00
cmd-move-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-new-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-new-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-next-layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-next-window.c Add missing documentation for the -a flag used to move to next/previous window 2009-06-03 15:58:40 +00:00
cmd-paste-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-previous-layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-previous-window.c Add missing documentation for the -a flag used to move to next/previous window 2009-06-03 15:58:40 +00:00
cmd-refresh-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-rename-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-rename-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-resize-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-respawn-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-rotate-window.c Use the pane flags not the window flags. Doh. 2009-06-25 08:08:18 +00:00
cmd-save-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-scroll-mode.c Don't try to page up with scroll-mode -u or copy-mode -u unless the mode was 2009-06-29 07:11:20 +00:00
cmd-select-layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-prompt.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-send-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-send-prefix.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-server-info.c Use vis(3) instead of handrolled function. 2009-06-03 19:37:27 +00:00
cmd-set-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-set-option.c New session option, status-utf8, to control the interpretation of top-bit-set 2009-06-03 16:54:26 +00:00
cmd-set-password.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-set-window-option.c Unused prototypes. Found by lint, no binary change. 2009-06-25 06:00:45 +00:00
cmd-show-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-show-options.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-show-window-options.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-source-file.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-split-window.c lines variable can be -1 (to be ignored), so should be signed. Found by lint. 2009-06-25 06:48:23 +00:00
cmd-start-server.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-string.c strdup the input to putenv to avoid in one case passing a string that is later 2009-06-05 07:18:37 +00:00
cmd-suspend-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-swap-pane.c When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmux 2009-06-03 07:51:24 +00:00
cmd-swap-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-switch-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-unbind-key.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-unlink-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-up-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd.c Print a better message than '(null)' if no command is specified ("tmux \;"). 2009-06-04 23:34:32 +00:00
colour.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
grid-view.c Fix two errors with character/line insertion and deletion: the maximum number 2009-06-29 21:30:50 +00:00
grid.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
input-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
input.c Implement the CBT (backward tab) sequence (\033[Z). 2009-06-04 21:02:21 +00:00
key-bindings.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
key-string.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
layout-manual.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
log.c tmux doesn't and won't need syslog logging, so remove it and some other unused 2009-06-25 06:23:10 +00:00
Makefile diagflags for diags 2009-06-25 07:42:41 +00:00
mode-key.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
names.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
options-cmd.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
options.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
paste.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
procname.c Also #ifndef nitems here, caught by Thomas Jeunet. 2009-06-26 10:55:37 +00:00
resize.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
screen-redraw.c Unused variables. Found by lint, no binary change. 2009-06-25 05:56:44 +00:00
screen-write.c Fix two errors with character/line insertion and deletion: the maximum number 2009-06-29 21:30:50 +00:00
screen.c Fix a type mismatch warning in assignment. 2009-06-24 22:51:47 +00:00
server-fn.c When unlocking the server, don't try to clear the prompt on clients without a 2009-06-30 13:40:30 +00:00
server-msg.c Terminate cwd buffer before running xstrdup on it. 2009-06-05 11:14:13 +00:00
server.c After logging (if enabled) is switched to file, there is no reason to keep 2009-06-26 22:12:19 +00:00
session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
status.c Status line fixes: don't truncate status-right now the length calculation is 2009-06-26 15:13:39 +00:00
tmux.1 Add missing spaces before some alias closing brackets, otherwise they are 2009-06-26 22:47:06 +00:00
tmux.c If getcwd() fails, use the user's home directory, or /, instead of failing with 2009-06-25 06:54:32 +00:00
tmux.h Remove some unused function declarations; no binary change. 2009-06-26 19:44:36 +00:00
tty-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
tty-term.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
tty-write.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
tty.c Copy the 256-colour flag into the tty saved cell as well as the actual colour, 2009-06-27 12:57:14 +00:00
utf8.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
window-choose.c Now that a UTF-8-capable puts function exists, use it for printing strings in 2009-06-24 23:00:31 +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 Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window-more.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
window-scroll.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
xmalloc.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00