93b353d353
Instead of passing a struct pollfd ** around through various functions, build
...
them into a tree and then convert into a flat poll array before and after poll.
This adds a little code but should reduce annoying problems with ordering when
adding new things that also need to be polled.
2009-10-10 09:31:39 +00:00
932f0a757f
Sync with reality.
2009-10-09 22:55:43 +00:00
cddb781127
Sync OpenBSD patchset 368:
...
The UTF-8 detection idea doesn't work and I am reasonably happy with the
current methods, so remove the (already #ifdef 0'd) code.
2009-10-09 13:11:42 +00:00
220f3f2384
Update.
2009-10-09 13:07:29 +00:00
9ac062acef
Sync OpenBSD patchset 367:
...
Add a simple synchronize-panes window option: when set, all input to any pane
that is part of the window is also sent to all other panes in the same
window. Suggested by several, most recently Tomasz Pajor.
2009-10-09 13:07:04 +00:00
765a38e534
Sync OpenBSD patchset 366:
...
Be less aggressive about turning the cursor off, only explicitly turn it off
when tmux is redrawing, otherwise leave in the state set by the application.
2009-10-09 13:03:28 +00:00
bf38a311da
The UTF-8 detection idea doesn't work and I am reasonably happy with the
...
current methods, so remove the (already #ifdef 0'd) code.
2009-10-09 07:33:12 +00:00
c2e78a3104
Add a little.
2009-10-09 07:30:27 +00:00
3af09ac946
Add a simple synchronize-panes window option: when set, all input to any pane
...
that is part of the window is also sent to all other panes in the same
window. Suggested by several, most recently Tomasz Pajor.
2009-10-09 07:27:00 +00:00
d528184836
Be less aggressive about turning the cursor off, only explicitly turn it off
...
when tmux is redrawing, otherwise leave in the state set by the application.
2009-10-09 07:23:28 +00:00
1eb665832a
Sync OpenBSD patchset 365:
...
Support J and K for scroll up and scroll down in copy mode with vi keys,
suggested by martynas.
2009-10-07 17:13:59 +00:00
64e9d07b1b
Sync OpenBSD patchset 364:
...
Fix comment.
2009-10-07 17:10:44 +00:00
2cb2bb8257
Support J and K for scroll up and scroll down in copy mode with vi keys,
...
suggested by martynas.
2009-10-07 15:58:40 +00:00
56ddd3c0b1
Fix comment.
2009-10-07 07:02:40 +00:00
d23635f66d
Remove unneeded defines that were used with the internal locking mechanism.
2009-10-06 15:32:21 +00:00
4640627f6e
Sync OpenBSD patchset 363:
...
Accept ^? for backspace as well as BSpace.
2009-10-06 14:15:45 +00:00
83bf166a1f
Update.
2009-10-06 14:14:40 +00:00
f881502f84
Sync OpenBSD patchset 362:
...
Remove scroll mode which is now redundant, copy mode should be used instead.
The = key binding now does nothing.
2009-10-06 14:14:07 +00:00
32291172bf
Sync OpenBSD patchset 361:
...
Make C-Up and C-Down in copy mode scroll the screen up and down one line
without moving the cursor, like Up and Down in scroll mode (which will shortly
disappear).
2009-10-06 14:10:10 +00:00
eb7f8b6d33
Sync OpenBSD patchset 360:
...
If no target client is specified to commands which accept one, try to guess the
current client, in a similar manner to how sessions already work: if the
current session can be established and has only one client, use that; otherwise
use the most recently created client.
2009-10-06 14:00:50 +00:00
82efcc32ec
Accept ^? for backspace as well as BSpace.
2009-10-06 07:32:26 +00:00
35ca994ba2
Remove scroll mode which is now redundant, copy mode should be used instead.
...
The = key binding now does nothing.
2009-10-06 07:19:32 +00:00
9400fdac77
Make C-Up and C-Down in copy mode scroll the screen up and down one line
...
without moving the cursor, like Up and Down in scroll mode (which will shortly
disappear).
2009-10-06 07:09:00 +00:00
4ca2200d83
If no target client is specified to commands which accept one, try to guess the
...
current client, in a similar manner to how sessions already work: if the
current session can be established and has only one client, use that; otherwise
use the most recently created client.
2009-10-05 18:30:54 +00:00
d8c0634524
Sync OpenBSD patchset 359:
...
tweak previous;
2009-10-05 18:26:00 +00:00
11e97f4eb0
Sync OpenBSD patchset 358:
...
Get / and ? the right way round in vi mode, and use : for goto line rather than
g.
2009-10-05 18:25:05 +00:00
813d78e46a
Sync OpenBSD patchset 357:
...
Check for already locked/suspended clients in server_lock_client rather than
its callers.
2009-10-05 18:23:31 +00:00
2931277608
Sync OpenBSD patchset 356:
...
Add a key string for space ("Space") and document the names, suggested by
guenther@. Also document how to bind " and ', suggested by miod@.
2009-10-05 18:21:58 +00:00
6b3ec44ee9
Sync OpenBSD patchset 355:
...
C-v and M-v too.
2009-10-05 18:19:52 +00:00
19e502c64e
Sync OpenBSD patchset 354:
...
Support C-n/C-p with emacs keys in choice mode, also fix a comment.
2009-10-05 18:18:50 +00:00
45043ebf3e
tweak previous;
2009-10-04 11:33:35 +00:00
d42b86d22b
Get / and ? the right way round in vi mode, and use : for goto line rather than
...
g.
2009-10-04 11:18:26 +00:00
c734789b18
Check for already locked/suspended clients in server_lock_client rather than
...
its callers.
2009-10-04 10:55:30 +00:00
205857b232
Add a key string for space ("Space") and document the names, suggested by
...
guenther@. Also document how to bind " and ', suggested by miod@.
2009-10-04 08:50:05 +00:00
97ca5711f9
C-v and M-v too.
2009-10-04 08:26:41 +00:00
123ae9e103
Support C-n/C-p with emacs keys in choice mode, also fix a comment.
2009-10-04 08:23:01 +00:00
a9a0cd8297
Update.
2009-09-25 17:52:26 +00:00
88c3b9c989
Sync OpenBSD patchset 353:
...
New lock-client and lock-session commands to lock an individual client or all
clients attached to a session respectively.
2009-09-25 17:51:39 +00:00
804b8696a4
Sync OpenBSD patchset 352:
...
Don't allow locked or suspended clients to limit the size of active clients.
2009-09-25 17:47:42 +00:00
b5d23ef38b
Sync OpenBSD patchset 351:
...
Remove PROMPT_HIDDEN code which is now unused.
2009-09-25 17:45:46 +00:00
8fa1858a2c
New lock-client and lock-session commands to lock an individual client or all
...
clients attached to a session respectively.
2009-09-24 14:17:09 +00:00
c190a65c69
Should be bestp now.
2009-09-24 12:30:22 +00:00
bf4b27e679
Earlier versions of FreeBSD are missing RB_PREV.
2009-09-24 07:15:22 +00:00
1764ef81ef
Don't allow locked or suspended clients to limit the size of active clients.
2009-09-24 07:02:56 +00:00
d73516c0a9
Use __sun not __sun__ as Sun's CC doesn't define the latter.
2009-09-23 16:09:12 +00:00
ac95da3afc
Adjust OpenBSD patchset 350 to the portable version.
2009-09-23 15:20:16 +00:00
5be3fb86b9
Sync OpenBSD patchset 350:
...
Support -c like sh(1) to execute a command, useful when tmux is a login
shell. Suggested by halex@.
This includes another protocol version increase (the last for now) so again
restart the tmux server before upgrading.
2009-09-23 15:18:56 +00:00
4dd332c95e
Sync OpenBSD patchset 349:
...
On SIGTERM, just abandon any suspended/locked clients and leave them to it,
otherwise the server will hang around (refusing new connections) until they
exit properly.
2009-09-23 15:10:37 +00:00
fea7bda58f
Sync OpenBSD patchset 348:
...
Don't die if the client is detaching (the tty has been closed) after waking up
from locking.
2009-09-23 15:08:21 +00:00
88f689e167
Remove HAVE_LOGIN_CAP now that the internal locking mechanism was removed, due
...
to OpenBSD patchset 347.
2009-09-23 15:05:03 +00:00