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
3b56ebce6d
Sync OpenBSD patchset 854:
...
Use LIST_* not SLIST_*.
2011-02-15 15:12:28 +00:00
2ab568fa88
Sync OpenBSD patchset 853:
...
When clearing the entire screen, clear lines that are used into the
history like xterm does. Requested ages ago by someone I've forgotten.
2011-02-15 15:10:47 +00:00
4e4568cade
Sync OpenBSD patchset 852:
...
Check if the index is in use and fail before creating the child process,
rather than leaving a stray child on failure.
2011-02-15 15:09:52 +00:00
d0d1c0e486
Sync OpenBSD patchset 848:
...
Set $TMUX without the session when background jobs are run.
2011-02-14 23:11:33 +00:00
d37650dc4f
Spacing.
2011-02-14 20:39:40 +00:00
cf3b73167d
Expand an entry.
2011-02-12 15:51:11 +00:00
5532615bc0
Solaris is SunOS.
2011-02-11 23:31:15 +00:00
ce91520e12
Size on split-window is -l not -s. Doh.
2011-02-10 12:12:14 +00:00
8ec3e5725c
Don't require -d with -x or -y since it could be in the config file.
2011-02-03 20:50:03 +00:00
7462c03281
Redraw pane borders when switching to last pane.
2011-01-31 20:54:42 +00:00
567741caf5
Free old argument even if setting to NULL.
2011-01-30 12:09:30 +00:00
9fc2c34a3b
Accept tcgetattr/tcsetattr failure, fixes problems with fatal() if the
...
terminal disappears while locked.
2011-01-29 08:39:43 +00:00
b6bb350289
Use input_clear to reset the APC, DCS, OSC state or it could be reused
...
improperly by a later state. From Kevin Goodsell.
2011-01-28 20:39:22 +00:00
bcc7c689c1
Unused declaration.
2011-01-26 02:55:34 +00:00
0fa8d18775
Remove some that are done and some that are duplicates or no longer needed.
2011-01-26 02:05:02 +00:00
db7a89b1ee
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-01-26 01:54:56 +00:00
4dfb29fa38
Use LIST_* not SLIST_*.
2011-01-26 00:11:47 +00:00
ecc22c521d
When clearing the entire screen, clear lines that are used into the
...
history like xterm does. Requested ages ago by someone I've forgotten.
2011-01-25 23:40:26 +00:00
1270f8fed8
Check if the index is in use and fail before creating the child process,
...
rather than leaving a stray child on failure.
2011-01-25 22:31:50 +00:00
5cbdd84686
While here, maximum percentage is 100 not INT_MAX. Oops.
2011-01-23 15:49:32 +00:00
1df3355438
While here, maximum percentage is 100 not INT_MAX. Oops.
2011-01-23 15:49:10 +00:00
2be75a0129
Size is -l not -s.
2011-01-23 15:47:31 +00:00
8820aa9f65
Size is -l not -s.
2011-01-23 15:46:49 +00:00
3872e24847
Allow top-bit-set characters to be used for key bindings, from Tiago
...
Cunha.
2011-01-23 11:04:25 +00:00
b8023044c3
Set $TMUX without the session when background jobs are run.
2011-01-23 11:03:43 +00:00
ec3a764c76
Make bind-key accept characters with the top-bit-set and print them as octal.
2011-01-22 22:31:09 +00:00
e3defd9b25
Sync OpenBSD patchset 847:
...
Fix bind-key -t.
2011-01-22 00:00:23 +00:00
1930181b18
Sync OpenBSD patchset 846:
...
Only set a mouse mode for mouse-select-pane if none already set by the
mode (any will do).
2011-01-21 23:56:53 +00:00
332bfbf273
Sync OpenBSD patchset 845:
...
Mouse highlight mode (1001) requires a program to cooperate so
supporting it through tmux is not as easy as this, remove it for now.
2011-01-21 23:56:11 +00:00
7a68cff1db
Sync OpenBSD patchset 844:
...
Support -x and -y for new-session to specify the initial size of the
window if created detached with -d.
2011-01-21 23:55:26 +00:00
6d9fe6c3aa
Sync OpenBSD patchset 843:
...
The maximum history-limit was accidentally reduced, fix it back to INT_MAX.
2011-01-21 23:54:19 +00:00
c2ed0186de
Sync OpenBSD patchset 842:
...
Clarify alternate-screen description a little.
2011-01-21 23:53:45 +00:00
3866988f87
Sync OpenBSD patchset 841:
...
Er, fix next and previous session functions to actually work, part 2.
2011-01-21 23:53:01 +00:00
43f8d62f6a
Sync OpenBSD patchset 840:
...
Fix next and previous session functions to actually work.
2011-01-21 23:52:36 +00:00
a880639f48
Sync OpenBSD patchset 839:
...
Log termios backspace for each client since it is used to recognise
backspace input.
2011-01-21 23:51:36 +00:00
57eb948c48
Sync OpenBSD patchset 838:
...
Use TMPDIR if set, from Han Boetes.
2011-01-21 23:46:50 +00:00
6c3186a19a
Sync OpenBSD patchset 837:
...
unbind-key -a is allowed no arguments.
2011-01-21 23:46:09 +00:00
10a5a2175e
Sync OpenBSD patchset 836:
...
Remove a bit of text that makes exit-unattached description unclear.
2011-01-21 23:45:34 +00:00
be7cec5640
Sync OpenBSD patchset 835:
...
Add missing arguments to some options.
2011-01-21 23:45:04 +00:00
492e3aa437
Sync OpenBSD patchset 834:
...
Move all calls to fcntl(...O_NONBLOCK) into a function and clear the
flag on the stdio file descriptors before closing them (fixes things
like "tmux ls && cat").
2011-01-21 23:44:13 +00:00
6b19621112
Sync OpenBSD patchset 833:
...
Accept colours of the hex form #ffffff and translate to the nearest from
the xterm(1) 256-colour set.
2011-01-21 23:42:14 +00:00
324ffe20e9
Link with libm due to the upcoming patchset.
2011-01-21 23:40:30 +00:00
38f169113e
Support for HP-UX.
2011-01-21 20:35:20 +00:00
e34c6fd187
Only have one asprintf implementation, that's likely to always work.
2011-01-21 20:03:18 +00:00
1377427e70
Fix bind-key -t.
2011-01-15 20:14:41 +00:00
3de1700f61
Only set a mouse mode for mouse-select-pane if none already set by the
...
mode (any will do).
2011-01-15 00:46:19 +00:00
8f8e81c0c9
Mouse highlight mode (1001) requires a program to cooperate so
...
supporting it through tmux is not as easy as this, remove it for now.
2011-01-15 00:16:00 +00:00
4f34e25dd8
Support -x and -y for new-session to specify the initial size of the
...
window if created detached with -d.
2011-01-14 23:49:23 +00:00
ac01c2025a
Whoops, did not mean to do this.
2011-01-13 19:59:48 +00:00