Tiago Cunha
bae2701289
Sync OpenBSD patchset 1092:
...
Stop accepting new clients for 1 second on EMFILE/ENFILE. Based on
ongoing fixes to other daemons by Theo.
2012-04-12 12:43:40 +00:00
Tiago Cunha
ce67a44a94
Sync OpenBSD patchset 1091:
...
Do not fire name timer when automatic-rename is off, from Tim Ruehsen a
while ago.
2012-04-10 09:57:08 +00:00
Tiago Cunha
14e5cdf02e
Sync OpenBSD patchset 1090:
...
Fix comment for mouse bits.
2012-04-10 09:56:04 +00:00
Tiago Cunha
21f62c2cee
Sync OpenBSD patchset 1089:
...
Fix some indentation.
2012-04-10 09:55:27 +00:00
Tiago Cunha
bd6153195f
Sync OpenBSD patchset 1088:
...
Simplify mouse input function.
2012-04-10 09:54:59 +00:00
Tiago Cunha
e5b3858944
Sync OpenBSD patchset 1087:
...
Minor style nits - return ().
2012-04-10 09:54:29 +00:00
Tiago Cunha
09e6b7c137
Sync OpenBSD patchset 1086:
...
Turn some errors down to info.
2012-04-10 09:53:52 +00:00
Tiago Cunha
36ece3fcf5
Sync OpenBSD patchset 1085:
...
Fix option name.
2012-04-10 09:53:14 +00:00
Tiago Cunha
f99de22808
Sync OpenBSD patchset 1084:
...
Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).
2012-04-10 09:52:45 +00:00
Tiago Cunha
b58d7f78a1
Adjust OpenBSD patchset 1083 to the portable version.
2012-04-10 09:50:32 +00:00
Tiago Cunha
2ce636a315
Sync OpenBSD patchset 1083:
...
Add pane_current_path format, suggested by Mikolaj Kucharski.
2012-04-10 09:49:04 +00:00
Tiago Cunha
2c4e8b92ab
Sync OpenBSD patchset 1082:
...
Only exit mouse mode on scroll wheel when actually reaching the end of
the history, from James Nylen.
2012-04-10 09:45:41 +00:00
Tiago Cunha
86c1335452
Sync OpenBSD patchset 1081:
...
Only find each window once no matter how many panes, from Jonathan
Daugherty.
2012-04-10 09:44:58 +00:00
Nicholas Marriott
f881ff1c18
+.
2012-04-01 08:39:19 +00:00
Tiago Cunha
58e5442d37
Sync OpenBSD patchset 1080:
...
Add sys/file.h.
2012-03-29 21:10:41 +00:00
Tiago Cunha
faf51d748e
Sync OpenBSD patchset 1079:
...
Accept an argument to show-environment to show one variable, based on a
diff from Kazuhiko Sakaguchi.
2012-03-29 21:10:10 +00:00
Tiago Cunha
407f66ccbc
Sync OpenBSD patchset 1078:
...
Some terminals respond to secondary DA with primary (they ignore the
intermediate character). So ignore the possible responses to primary DA.
2012-03-29 21:09:19 +00:00
Tiago Cunha
bfc9f475c6
Sync OpenBSD patchset 1077:
...
Fix save-buffer usage, from Kazuhiko Sakaguchi.
2012-03-29 21:08:44 +00:00
Tiago Cunha
8121b541e0
Sync OpenBSD patchset 1076:
...
Remove a stale comment.
2012-03-29 21:08:14 +00:00
Tiago Cunha
65748fb197
Sync OpenBSD patchset 1075:
...
Add -C -N -T flags to find-window to find in content, name, title. From
Jonathan Daugherty.
2012-03-29 21:07:28 +00:00
Tiago Cunha
37e5b5d947
Sync OpenBSD patchset 1074:
...
Check changes_timer with event_initialized before event_del.
2012-03-29 21:06:25 +00:00
Tiago Cunha
8ff20a5c6d
Sync OpenBSD patchset 1073:
...
50 is a too low trigger default on larger terminals, bump to 250.
2012-03-29 21:05:53 +00:00
Tiago Cunha
f9f6eea444
Sync OpenBSD patchset 1072:
...
Add a simple form of output rate limiting by counting the number of
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it
exceeds a threshold (current default 50/millisecond), start to redraw
the pane every 100 milliseconds instead of making each change as it
comes. Two configuration options - c0-change-trigger and
c0-change-interval.
This makes tmux much more responsive under very fast output (for example
yes(1) or accidentally cat'ing a large file) but may not be perfect on
all terminals and connections - feedback very welcome, particularly
where this change has a negative rather than positive effect (making it
off by default is a possibility).
After much experimentation based originally on a request Robin Lee
Powell (which ended with a completely different solution), this idea
from discussion with Ailin Nemui.
2012-03-29 21:05:16 +00:00
Tiago Cunha
621fa0a686
Sync OpenBSD patchset 1071:
...
Move MSG_IDENTIFY to the last sent by the client, this will be needed by
control clients and irrelevant for others.
2012-03-29 21:02:34 +00:00
Nicholas Marriott
2e2c9bd623
+.
2012-03-20 10:24:12 +00:00
Tiago Cunha
df31f1dfc9
Sync OpenBSD patchset 1070:
...
On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for
scrolling the region in panes (if the large region check isn't
hit). With help from Ailin Nemui.
2012-03-18 02:25:26 +00:00
Tiago Cunha
0f9f30de2e
Add notify.c to the list of sources.
2012-03-18 02:24:33 +00:00
Tiago Cunha
f41efd9d89
Sync OpenBSD patchset 1069:
...
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
2012-03-18 02:22:09 +00:00
Tiago Cunha
ba7278373d
Sync OpenBSD patchset 1067:
...
Use snprintf for constructing attribute string, from Tim Ruehsen.
2012-03-18 02:17:20 +00:00
Tiago Cunha
e4eb43ec71
Sync OpenBSD patchset 1066:
...
Add a wrap-search option to turn off wrapping of searches in copy
mode. From Jacobo de Vera.
2012-03-18 02:12:24 +00:00
Tiago Cunha
dc83ba0372
Sync OpenBSD patchset 1065:
...
Michael Krysiak points out that some terminals (eg mintty) have cursor
styles 5 and 6 too, so allow them to be set.
2012-03-18 02:11:27 +00:00
Tiago Cunha
cf8faa3b33
Sync OpenBSD patchset 1064:
...
Need to call recalculate_sizes() when changing window with the mouse,
from marcel partap.
2012-03-18 02:10:50 +00:00
Tiago Cunha
68ba5377e3
Sync OpenBSD patchset 1063:
...
Add -q option to set-option to turn off info message, from marcel partap.
2012-03-18 02:09:51 +00:00
Tiago Cunha
be4d77e60f
Sync OpenBSD patchset 1062:
...
Break out termios initialization into a separate function, from George
Nachman.
2012-03-18 02:03:15 +00:00
Tiago Cunha
bde45cdd9c
Sync OpenBSD patchset 1061:
...
Do not clear to end of line if the line is full, fixes missing last
character in rightmost pane.
2012-03-18 02:02:18 +00:00
Tiago Cunha
a7c615a794
Sync OpenBSD patchset 1060:
...
Use the region lower not the pane size to work out where the bottom line
is.
2012-03-18 02:01:46 +00:00
Tiago Cunha
92c522228b
Sync OpenBSD patchset 1059:
...
Tweak last fix to actually hit the right end of pane.
2012-03-18 02:01:16 +00:00
Tiago Cunha
3a902f4196
Sync OpenBSD patchset 1058:
...
Fix warnings. Doh.
2012-03-18 02:00:39 +00:00
Tiago Cunha
0987d55231
Sync OpenBSD patchset 1057:
...
Check event_initialized before event_del if event may not have been set
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
2012-03-18 01:59:34 +00:00
Tiago Cunha
5aa28473dd
Sync OpenBSD patchset 1056:
...
Redirect libevent logging to tmux's log.
2012-03-18 01:58:09 +00:00
Tiago Cunha
21ab66569c
Sync OpenBSD patchset 1055:
...
Revert screen-write.c r1.54 and fix the bug properly. After wrapping a
line in a pane, the cursor needs to move to the next line unless it
scrolled.
2012-03-18 01:57:01 +00:00
Tiago Cunha
070d266aae
Sync OpenBSD patchset 1054:
...
Send secondary DA to terminals with XT in terminfo when starting up and
parse it to work out the xterm version.
2012-03-18 01:55:45 +00:00
Tiago Cunha
3b990ef6b2
Sync OpenBSD patchset 1053:
...
Respond to secondary DA requests.
2012-03-18 01:48:04 +00:00
Tiago Cunha
e920fa3e36
Sync OpenBSD patchset 1052:
...
Fix a warning. Doh.
2012-03-18 01:47:11 +00:00
Tiago Cunha
84207f06b7
Sync OpenBSD patchset 1051:
...
Add a helper function for enabling an optimization to make some code
clearer.
2012-03-18 01:46:37 +00:00
Tiago Cunha
c7f078dcbc
Sync OpenBSD patchset 1050:
...
Store context off before moving the cursor when wrapping, to fix long
standing bug drawing over the status line.
2012-03-18 01:40:26 +00:00
Tiago Cunha
3893cc17a4
Sync OpenBSD patchset 1049:
...
Add -P/-F flags to break-pane too, from George Nachman.
2012-03-18 01:38:27 +00:00
Tiago Cunha
4d1c513968
Sync OpenBSD patchset 1048:
...
Erm, use EL in a way that actually works...
2012-03-18 01:37:26 +00:00
Tiago Cunha
14d6a4ab26
Sync OpenBSD patchset 1047:
...
Use EL to clear to end of line if possible.
2012-03-18 01:36:49 +00:00
Tiago Cunha
e678ba3943
Sync OpenBSD patchset 1046:
...
Always remember last cursor position when moving up or down, not just
for if crossing zero length lines. From Itay Perl.
2012-03-18 01:35:39 +00:00