Instant Terminal Sharing
Go to file
Tiago Cunha cc9ef11985 Sync OpenBSD patchset 438:
Split the server code handling clients, jobs and windows off into separate
files from server.c (merging server-msg.c into the client file) and rather than
iterating over each set after poll(), allow a callback to be specified when the
fd is added and just walk once over the returned pollfds calling each callback
where needed.

More to come, getting this in so it is tested.
2009-10-23 17:49:47 +00:00
compat Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname. 2009-10-15 07:11:25 +00:00
examples Update. 2009-10-15 01:49:39 +00:00
tools 1.0. 2009-09-20 18:54:21 +00:00
www +IRC channel. 2009-08-05 16:39:28 +00:00
array.h UINT_MAX. 2008-09-29 16:58:02 +00:00
attributes.c Sync to OpenBSD: fixes from ray@. 2009-06-25 15:25:45 +00:00
buffer-poll.c Sync OpenBSD patchset 438: 2009-10-23 17:49:47 +00:00
buffer.c Sync OpenBSD patchset 282: 2009-08-21 21:09:13 +00:00
cfg.c Sync OpenBSD patchset 290: 2009-08-24 16:27:03 +00:00
CHANGES 1.0. 2009-09-20 18:54:21 +00:00
client.c Fix CVS keyword. 2009-10-23 17:38:42 +00:00
clock.c Sync OpenBSD patchset 322: 2009-09-11 14:13:52 +00:00
cmd-attach-session.c Sync OpenBSD patchset 231: 2009-08-09 17:48:55 +00:00
cmd-bind-key.c Sync OpenBSD patchset 194: 2009-07-28 23:19:06 +00:00
cmd-break-pane.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-choose-client.c Sync OpenBSD patchset 320: 2009-09-07 23:59:19 +00:00
cmd-choose-session.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-choose-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-clear-history.c Sync OpenBSD patchset 205: 2009-07-30 21:04:40 +00:00
cmd-clock-mode.c Sync OpenBSD patchset 271: 2009-08-20 11:37:46 +00:00
cmd-command-prompt.c Sync OpenBSD patchset 342: 2009-09-22 14:06:40 +00:00
cmd-confirm-before.c Sync OpenBSD patchset 289: 2009-08-24 16:24:18 +00:00
cmd-copy-buffer.c Sync OpenBSD patchset 342: 2009-09-22 14:06:40 +00:00
cmd-copy-mode.c Sync OpenBSD patchset 362: 2009-10-06 14:14:07 +00:00
cmd-delete-buffer.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-detach-client.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-display-message.c Sync OpenBSD patchset 374: 2009-10-11 23:55:26 +00:00
cmd-display-panes.c Sync OpenBSD patchset 302: 2009-08-31 22:30:15 +00:00
cmd-down-pane.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-find-window.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-generic.c Sync OpenBSD patchset 299: 2009-08-26 22:13:52 +00:00
cmd-has-session.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-if-shell.c Sync OpenBSD patchset 386: 2009-10-12 00:29:03 +00:00
cmd-kill-pane.c Sync OpenBSD patchset 333: 2009-09-20 22:15:32 +00:00
cmd-kill-server.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-kill-session.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-kill-window.c Sync OpenBSD patchset 333: 2009-09-20 22:15:32 +00:00
cmd-last-window.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-link-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-list-buffers.c Sync OpenBSD patchset 318: 2009-09-07 23:48:54 +00:00
cmd-list-clients.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-list-commands.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-list-keys.c Sync OpenBSD patchset 194: 2009-07-28 23:19:06 +00:00
cmd-list-panes.c Sync OpenBSD patchset 412: 2009-10-15 20:10:28 +00:00
cmd-list-sessions.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-list-windows.c Sync OpenBSD patchset 377: 2009-10-12 00:08:12 +00:00
cmd-list.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-load-buffer.c Sync OpenBSD patchset 318: 2009-09-07 23:48:54 +00:00
cmd-lock-client.c Sync OpenBSD patchset 353: 2009-09-25 17:51:39 +00:00
cmd-lock-server.c Sync OpenBSD patchset 352: 2009-09-25 17:47:42 +00:00
cmd-lock-session.c Sync OpenBSD patchset 353: 2009-09-25 17:51:39 +00:00
cmd-move-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-new-session.c Reduce diff with OpenBSD. 2009-10-12 00:49:06 +00:00
cmd-new-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-next-layout.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-next-window.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-paste-buffer.c Sync OpenBSD patchset 318: 2009-09-07 23:48:54 +00:00
cmd-pipe-pane.c Sync OpenBSD patchset 430: 2009-10-23 17:26:40 +00:00
cmd-previous-layout.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-previous-window.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-refresh-client.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-rename-session.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-rename-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-resize-pane.c Sync OpenBSD patchset 200: 2009-07-30 20:45:20 +00:00
cmd-respawn-window.c Sync from OpenBSD: 2009-09-16 12:36:28 +00:00
cmd-rotate-window.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-run-shell.c Sync OpenBSD patchset 385: 2009-10-12 00:26:06 +00:00
cmd-save-buffer.c Sync OpenBSD patchset 318: 2009-09-07 23:48:54 +00:00
cmd-select-layout.c Sync OpenBSD patchset 191: 2009-07-28 23:04:29 +00:00
cmd-select-pane.c Sync OpenBSD patchset 200: 2009-07-30 20:45:20 +00:00
cmd-select-prompt.c Sync OpenBSD patchset 261: 2009-08-16 19:29:24 +00:00
cmd-select-window.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-send-keys.c Sync OpenBSD patchset 341: 2009-09-22 14:03:11 +00:00
cmd-send-prefix.c Sync OpenBSD patchset 343: 2009-09-22 14:22:21 +00:00
cmd-server-info.c Fix CVS keyword. 2009-10-15 01:51:09 +00:00
cmd-set-buffer.c Sync OpenBSD patchset 318: 2009-09-07 23:48:54 +00:00
cmd-set-environment.c Sync from OpenBSD: 2009-08-11 14:42:59 +00:00
cmd-set-option.c Sync OpenBSD patchset 374: 2009-10-11 23:55:26 +00:00
cmd-set-window-option.c Sync OpenBSD patchset 367: 2009-10-09 13:07:04 +00:00
cmd-show-buffer.c Sync OpenBSD patchset 318: 2009-09-07 23:48:54 +00:00
cmd-show-environment.c Sync OpenBSD patchset 231: 2009-08-09 17:48:55 +00:00
cmd-show-options.c Sync OpenBSD patchset 339: 2009-09-22 13:56:02 +00:00
cmd-show-window-options.c Sync OpenBSD patchset 339: 2009-09-22 13:56:02 +00:00
cmd-source-file.c Sync OpenBSD patchset 342: 2009-09-22 14:06:40 +00:00
cmd-split-window.c Sync OpenBSD patchset 342: 2009-09-22 14:06:40 +00:00
cmd-start-server.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-string.c Sync OpenBSD patchset 231: 2009-08-09 17:48:55 +00:00
cmd-suspend-client.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-swap-pane.c Sync OpenBSD patchset 205: 2009-07-30 21:04:40 +00:00
cmd-swap-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-switch-client.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd-unbind-key.c Sync OpenBSD patchset 194: 2009-07-28 23:19:06 +00:00
cmd-unlink-window.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
cmd-up-pane.c Sync OpenBSD patchset 181: 2009-07-28 22:12:16 +00:00
cmd.c Sync OpenBSD patchset 411: 2009-10-15 01:56:45 +00:00
colour.c Sync OpenBSD patchset 322: 2009-09-11 14:13:52 +00:00
compat.h Remove unneeded defines that were used with the internal locking mechanism. 2009-10-06 15:32:21 +00:00
configure Support for automatic-rename for Solaris thanks to Todd Carson. 2009-10-14 10:14:21 +00:00
environ.c Sync OpenBSD patchset 235: 2009-08-09 17:57:39 +00:00
FAQ Fix typo and add ref to infocmp. 2009-08-08 20:46:26 +00:00
GNUmakefile Turn off stupid warnings when using Sun CC. 2009-10-15 08:15:06 +00:00
grid-view.c Sync OpenBSD patchset 409: 2009-10-15 01:55:12 +00:00
grid.c Sync OpenBSD patchset 409: 2009-10-15 01:55:12 +00:00
input-keys.c Sync OpenBSD patchset 381: 2009-10-12 00:18:19 +00:00
input.c Sync OpenBSD patchset 424: 2009-10-23 17:21:34 +00:00
job.c Sync OpenBSD patchset 431: 2009-10-23 17:27:40 +00:00
key-bindings.c Sync OpenBSD patchset 362: 2009-10-06 14:14:07 +00:00
key-string.c Sync OpenBSD patchset 363: 2009-10-06 14:15:45 +00:00
layout-set.c Sync OpenBSD patchset 191: 2009-07-28 23:04:29 +00:00
layout.c Sync OpenBSD patchset 142: 2009-07-20 15:42:05 +00:00
log.c Sync OpenBSD patchset 153: 2009-07-22 17:31:20 +00:00
Makefile Delete backup files in the compat directory, as well. 2009-09-20 22:06:34 +00:00
mode-key.c Sync OpenBSD patchset 407: 2009-10-15 01:52:47 +00:00
names.c Sync OpenBSD patchset 375: 2009-10-12 00:03:04 +00:00
NOTES This is not really important or major. 2009-07-06 18:53:24 +00:00
options-cmd.c Sync OpenBSD patchset 343: 2009-09-22 14:22:21 +00:00
options.c Sync OpenBSD patchset 343: 2009-09-22 14:22:21 +00:00
osdep-darwin.c Space trimmage mega-diff. 2009-05-04 17:58:27 +00:00
osdep-freebsd.c Nuke dead variable here as well, in accordance to OpenBSD patchset 235. 2009-08-09 18:00:45 +00:00
osdep-linux.c Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
osdep-netbsd.c Should be bestp now. 2009-09-24 12:30:22 +00:00
osdep-openbsd.c Sync OpenBSD patchset 235: 2009-08-09 17:57:39 +00:00
osdep-sunos.c Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname. 2009-10-15 07:11:25 +00:00
osdep-unknown.c Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
paste.c Sync OpenBSD patchset 332: 2009-09-20 22:11:27 +00:00
resize.c Sync OpenBSD patchset 352: 2009-09-25 17:47:42 +00:00
screen-redraw.c Sync OpenBSD patchset 393: 2009-10-15 01:30:00 +00:00
screen-write.c Sync OpenBSD patchset 421: 2009-10-23 17:16:25 +00:00
screen.c Sync OpenBSD patchset 226: 2009-08-09 17:28:24 +00:00
server-client.c Sync OpenBSD patchset 438: 2009-10-23 17:49:47 +00:00
server-fn.c Sync OpenBSD patchset 388: 2009-10-12 00:37:41 +00:00
server-job.c Sync OpenBSD patchset 438: 2009-10-23 17:49:47 +00:00
server-window.c Sync OpenBSD patchset 438: 2009-10-23 17:49:47 +00:00
server.c Sync OpenBSD patchset 438: 2009-10-23 17:49:47 +00:00
session.c Sync OpenBSD patchset 371: 2009-10-11 23:38:16 +00:00
status.c Sync OpenBSD patchset 374: 2009-10-11 23:55:26 +00:00
tmux.1 Sync OpenBSD patchset 428: 2009-10-23 17:24:57 +00:00
tmux.c Sync OpenBSD patchset 436: 2009-10-23 17:40:23 +00:00
tmux.h Sync OpenBSD patchset 438: 2009-10-23 17:49:47 +00:00
TODO +. 2009-10-21 07:19:59 +00:00
tty-keys.c Sync OpenBSD patchset 381: 2009-10-12 00:18:19 +00:00
tty-term.c Sync OpenBSD patchset 395: 2009-10-15 01:33:21 +00:00
tty.c Sync OpenBSD patchset 432: 2009-10-23 17:28:29 +00:00
utf8.c Sync OpenBSD patchset 424: 2009-10-23 17:21:34 +00:00
window-choose.c Sync OpenBSD patchset 381: 2009-10-12 00:18:19 +00:00
window-clock.c $Id$. 2009-07-01 19:03:34 +00:00
window-copy.c Sync OpenBSD patchset 422: 2009-10-23 17:17:20 +00:00
window-more.c Sync OpenBSD patchset 322: 2009-09-11 14:13:52 +00:00
window.c Sync OpenBSD patchset 437: 2009-10-23 17:41:20 +00:00
xmalloc.c More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h. 2009-06-25 16:47:00 +00:00