Go to file
Tiago Cunha 3d7b8105e1 Sync OpenBSD patchset 855:
Simplify the way jobs work and drop the persist type, so all jobs are
fire-and-forget.

Status jobs now managed with two trees of output (new and old), rather
than storing the output in the jobs themselves. When the status line is
processed any jobs which don't appear in the new tree are started and
the output from the old tree displayed. When a job finishes it updates
the new tree with its output and that is used for any subsequent
redraws. When the status interval expires, the new tree is moved to the
old so that all jobs are run again.

This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands
of identical persistent jobs and high memory use (this can still be
achieved by adding "sleep 30" but that is much less likely to happen by
accident).
2011-02-15 15:20:03 +00:00
compat Support for HP-UX. 2011-01-21 20:35:20 +00:00
examples Update, from Daniel Thau. 2010-09-18 09:36:15 +00:00
tools Bring the last remaining bits of dist.mk. 2011-01-07 15:09:04 +00:00
www Make version more prominent. 2011-01-01 13:39:19 +00:00
CHANGES Major changes since the previous version. 2010-12-27 21:37:42 +00:00
FAQ "So you have screwed up your /dev/null?" From Mathias Gumz. 2010-12-15 23:31:30 +00:00
Makefile.am Spacing. 2011-02-14 20:39:40 +00:00
NOTES libevent-2 works now as well. 2011-01-03 23:58:10 +00:00
TODO Expand an entry. 2011-02-12 15:51:11 +00:00
arguments.c Remove compat include. 2011-01-07 14:46:57 +00:00
array.h Sync OpenBSD patchset 714: 2010-06-06 00:27:08 +00:00
attributes.c Sync OpenBSD patchset 700: 2010-06-05 23:54:51 +00:00
autogen.sh RCS $Id$. 2010-12-31 22:13:48 +00:00
cfg.c Sync OpenBSD patchset 811: 2010-12-30 22:26:07 +00:00
client.c Sync OpenBSD patchset 834: 2011-01-21 23:44:13 +00:00
clock.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-attach-session.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-bind-key.c Sync OpenBSD patchset 847: 2011-01-22 00:00:23 +00:00
cmd-break-pane.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-capture-pane.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-choose-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-choose-client.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-choose-session.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-choose-window.c Sync OpenBSD patchset 813: 2011-01-07 16:55:40 +00:00
cmd-clear-history.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-clock-mode.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-command-prompt.c Sync OpenBSD patchset 832: 2011-01-07 15:04:51 +00:00
cmd-confirm-before.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-copy-mode.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-delete-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-detach-client.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-display-message.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-display-panes.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-find-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-has-session.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-if-shell.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
cmd-join-pane.c While here, maximum percentage is 100 not INT_MAX. Oops. 2011-01-23 15:49:32 +00:00
cmd-kill-pane.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-kill-server.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-kill-session.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-kill-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-link-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-buffers.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-clients.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-commands.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-keys.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-panes.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-sessions.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list-windows.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-list.c |--------------------- 2010-12-06 21:48:56 +00:00
cmd-load-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-lock-server.c Sync OpenBSD patchset 831: 2011-01-07 15:02:38 +00:00
cmd-move-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-new-session.c Sync OpenBSD patchset 844: 2011-01-21 23:55:26 +00:00
cmd-new-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-paste-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-pipe-pane.c Sync OpenBSD patchset 834: 2011-01-21 23:44:13 +00:00
cmd-refresh-client.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-rename-session.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-rename-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-resize-pane.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-respawn-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-rotate-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-run-shell.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
cmd-save-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-select-layout.c Sync OpenBSD patchset 831: 2011-01-07 15:02:38 +00:00
cmd-select-pane.c Sync OpenBSD patchset 831: 2011-01-07 15:02:38 +00:00
cmd-select-window.c Sync OpenBSD patchset 831: 2011-01-07 15:02:38 +00:00
cmd-send-keys.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-send-prefix.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-server-info.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
cmd-set-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-set-environment.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-set-option.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
cmd-show-buffer.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-show-environment.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-show-messages.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-show-options.c Sync OpenBSD patchset 831: 2011-01-07 15:02:38 +00:00
cmd-source-file.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-split-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-start-server.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-string.c Read ${X} environment variables in strings and $HOME from the global 2010-12-13 22:53:56 +00:00
cmd-suspend-client.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-swap-pane.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-swap-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-switch-client.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd-unbind-key.c Sync OpenBSD patchset 837: 2011-01-21 23:46:09 +00:00
cmd-unlink-window.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
cmd.c Sync OpenBSD patchset 848: 2011-02-14 23:11:33 +00:00
colour.c Sync OpenBSD patchset 833: 2011-01-21 23:42:14 +00:00
compat.h Switch tmux to use autoconf and automake. 2010-12-31 22:12:33 +00:00
configure.ac Solaris is SunOS. 2011-02-11 23:31:15 +00:00
environ.c Run job commands explicitly in the global enviroment (which can be 2010-04-06 21:59:19 +00:00
grid-utf8.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
grid-view.c Sync OpenBSD patchset 853: 2011-02-15 15:10:47 +00:00
grid.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
input-keys.c Sync OpenBSD patchset 828: 2011-01-07 14:34:45 +00:00
input.c Sync OpenBSD patchset 845: 2011-01-21 23:56:11 +00:00
job.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
key-bindings.c Sync OpenBSD patchset 829: 2011-01-07 14:45:34 +00:00
key-string.c Make bind-key accept characters with the top-bit-set and print them as octal. 2011-01-22 22:31:09 +00:00
layout-custom.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
layout-set.c Sync OpenBSD patchset 799: 2010-12-22 15:23:59 +00:00
layout-string.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
layout.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
log.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
mode-key.c Sync OpenBSD patchset 823: 2011-01-03 23:31:26 +00:00
names.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
options-table.c Sync OpenBSD patchset 843: 2011-01-21 23:54:19 +00:00
options.c Sync OpenBSD patchset 343: 2009-09-22 14:22:21 +00:00
osdep-aix.c Copy osdep-unknown.c for AIX to make @PLATFORM@ work. 2011-01-10 22:00:47 +00:00
osdep-darwin.c epoll on Linux is broken with /dev/null so it needs to be disabled. 2010-12-30 20:41:08 +00:00
osdep-freebsd.c epoll on Linux is broken with /dev/null so it needs to be disabled. 2010-12-30 20:41:08 +00:00
osdep-hpux.c Support for HP-UX. 2011-01-21 20:35:20 +00:00
osdep-linux.c osdep-linux.c 2011-01-13 19:58:47 +00:00
osdep-netbsd.c epoll on Linux is broken with /dev/null so it needs to be disabled. 2010-12-30 20:41:08 +00:00
osdep-openbsd.c Stray blank line. 2010-12-30 20:42:39 +00:00
osdep-sunos.c epoll on Linux is broken with /dev/null so it needs to be disabled. 2010-12-30 20:41:08 +00:00
osdep-unknown.c epoll on Linux is broken with /dev/null so it needs to be disabled. 2010-12-30 20:41:08 +00:00
paste.c Global paste buffers instead of per-session which renders copy-buffer useless. 2010-12-30 22:39:49 +00:00
resize.c Sync OpenBSD patchset 806: 2010-12-22 15:36:44 +00:00
screen-redraw.c Sync OpenBSD patchset 762: 2010-09-18 15:43:53 +00:00
screen-write.c Sync OpenBSD patchset 853: 2011-02-15 15:10:47 +00:00
screen.c Fix rectangle copy to behave like emacs - the cursor is not part of the 2010-12-11 17:57:28 +00:00
server-client.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
server-fn.c Sync OpenBSD patchset 848: 2011-02-14 23:11:33 +00:00
server-window.c Sync OpenBSD patchset 806: 2010-12-22 15:36:44 +00:00
server.c Sync OpenBSD patchset 854: 2011-02-15 15:12:28 +00:00
session.c Sync OpenBSD patchset 852: 2011-02-15 15:09:52 +00:00
signal.c Sync OpenBSD patchset 751: 2010-08-29 14:42:11 +00:00
status.c Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
tmux.1 Sync OpenBSD patchset 844: 2011-01-21 23:55:26 +00:00
tmux.c Sync OpenBSD patchset 848: 2011-02-14 23:11:33 +00:00
tmux.h Sync OpenBSD patchset 855: 2011-02-15 15:20:03 +00:00
tty-acs.c Sync OpenBSD patchset 762: 2010-09-18 15:43:53 +00:00
tty-keys.c Sync OpenBSD patchset 828: 2011-01-07 14:34:45 +00:00
tty-term.c Sync OpenBSD patchset 854: 2011-02-15 15:12:28 +00:00
tty.c Sync OpenBSD patchset 846: 2011-01-21 23:56:53 +00:00
utf8.c Sync OpenBSD patchset 828: 2011-01-07 14:34:45 +00:00
window-choose.c Sync OpenBSD patchset 812: 2010-12-30 22:27:38 +00:00
window-clock.c Pass in the session, rather than the client, to window modes' key() function. 2010-05-22 21:56:04 +00:00
window-copy.c Global paste buffers instead of per-session which renders copy-buffer useless. 2010-12-30 22:39:49 +00:00
window.c Sync OpenBSD patchset 852: 2011-02-15 15:09:52 +00:00
xmalloc.c Solaris 9 has no stdint.h, ugh. Reported by a couple of people most 2010-09-07 19:32:58 +00:00
xterm-keys.c Sync OpenBSD patchset 824: 2011-01-03 23:32:04 +00:00