Commit Graph

  • 9c541e42f0 AIX doesn't have daemon(). Nicholas Marriott 2010-11-11 20:37:53 +00:00
  • 96601ce9fe Bring back fuzz.c. Nicholas Marriott 2010-11-02 20:55:13 +00:00
  • 1cec111af3 >4 now. Nicholas Marriott 2010-11-01 21:42:20 +00:00
  • 023137a891 Typo, from Rob Paisley. Nicholas Marriott 2010-11-01 20:59:45 +00:00
  • 34d05ea7cd We now send argv to the server after parsing it in the client to get the command, so the client should not modify it. Instead, take a copy. Fixes parsing command lists, reported by mcbride@. Nicholas Marriott 2010-10-29 20:11:57 +00:00
  • ae7a7be819 I am almost certain we don't need crypt or rt now, and it builds fine on Linux without. Nicholas Marriott 2010-10-27 21:40:03 +00:00
  • 58684ea998 And more. Nicholas Marriott 2010-10-27 21:34:59 +00:00
  • 914f8584ef Style tweaks. Nicholas Marriott 2010-10-27 21:33:15 +00:00
  • 2287ec7b3e Compat for closefrom(). Nicholas Marriott 2010-10-27 20:21:01 +00:00
  • 8f84217023 Put setproctitle back under HAVE_SETPROCTITLE. Nicholas Marriott 2010-10-24 19:54:41 +00:00
  • 83447580b1 Remove redundant preprocessor check (it's already taken care of by tmux.h). Tiago Cunha 2010-10-24 01:55:21 +00:00
  • 1cd9ff4460 Ugh. Don't know how this happened, but make it compile by removing duplicate code. Tiago Cunha 2010-10-24 01:51:34 +00:00
  • cd079e8fbf Sync OpenBSD patchset 780: Tiago Cunha 2010-10-24 01:34:30 +00:00
  • 8703e9f2f9 Sync OpenBSD patchset 779: Tiago Cunha 2010-10-24 01:32:35 +00:00
  • 2da0730f78 Sync OpenBSD patchset 778: Tiago Cunha 2010-10-24 01:31:57 +00:00
  • bdbd4e28c2 Sync OpenBSD patchset 777: Tiago Cunha 2010-10-24 01:31:08 +00:00
  • 1276ea3653 Zap paths.h compat include. Tiago Cunha 2010-10-24 00:50:11 +00:00
  • f79b467dce Sync OpenBSD patchset 776: Tiago Cunha 2010-10-24 00:47:46 +00:00
  • d4b58c71a2 Sync OpenBSD patchset 775: Tiago Cunha 2010-10-24 00:45:57 +00:00
  • 5fb4f8c1fa Helper script which greps for compat includes that shouldn't be present in all files but compat.h. Tiago Cunha 2010-10-24 00:42:04 +00:00
  • 5a0ecc5931 Sync OpenBSD patchset 774: Tiago Cunha 2010-10-24 00:32:35 +00:00
  • e7a4b68f73 Sync OpenBSD patchset 773: Tiago Cunha 2010-10-24 00:31:57 +00:00
  • a7e5092bd4 Sync OpenBSD patchset 772: Tiago Cunha 2010-10-24 00:30:51 +00:00
  • b73ac822fb Sync OpenBSD patchset 771: Tiago Cunha 2010-10-24 00:29:57 +00:00
  • 0ad532d9c2 Rewrite the screen vs tmux bit to be more accurate and complete and less subjective. Nicholas Marriott 2010-10-23 14:09:29 +00:00
  • 5de84eca3d Add a last-pane command (bound to ; by default). Requested ages ago by somebody whose name I have forgotten. Nicholas Marriott 2010-10-23 13:04:34 +00:00
  • a3efd2ab5a When removing a pane, don't change the active pane unless the active pane is actually the one being removed. Nicholas Marriott 2010-10-23 12:51:51 +00:00
  • 139754b9fe Mark repeating keys with "(repeat)" in the key list. Nicholas Marriott 2010-10-20 18:20:36 +00:00
  • 248fb14f08 Merge the before and after attach client code into one in client.c (instead of two in tmux.c and client.c). Nicholas Marriott 2010-10-18 20:00:02 +00:00
  • b0ad6e94bb +ttyfast. Nicholas Marriott 2010-10-18 19:01:07 +00:00
  • 31954339d1 Make stdio blocking again before calling shell command with -c. Nicholas Marriott 2010-10-16 08:42:35 +00:00
  • f56b4ec2ff Trying to set FD_CLOEXEC on every fd is a lost cause, just use closefrom() before exec. Nicholas Marriott 2010-10-16 08:31:55 +00:00
  • 6c42f1a89e Fall back on normal session choice method if $TMUX exists but is invalid rather than rejecting. Nicholas Marriott 2010-10-16 07:57:42 +00:00
  • 65ff5b00bd Use an explicit event rather than event_once for the main event so it can be removed when the client becomes ready. Nicholas Marriott 2010-10-14 17:38:39 +00:00
  • f6cd0342f6 Treat the meta bit in the xterm extended modifier key set as the same as escape (tmux's meta). From Emanuele Giaquinta. Nicholas Marriott 2010-10-14 00:37:51 +00:00
  • 1580afdfdf Put "or" on new line from command with .Ic. Nicholas Marriott 2010-10-14 00:30:03 +00:00
  • b2ae7c6261 Sync OpenBSD patchset 770: Tiago Cunha 2010-10-09 14:31:50 +00:00
  • 6c9269baa7 Sync OpenBSD patchset 769: Tiago Cunha 2010-10-09 14:31:14 +00:00
  • 45784bd5d6 Sync OpenBSD patchset 767: Tiago Cunha 2010-10-09 14:30:26 +00:00
  • b5349ab5d9 Sync OpenBSD patchset 766: Tiago Cunha 2010-10-09 14:29:32 +00:00
  • 7874b00d4c Sync OpenBSD patchset 765: Tiago Cunha 2010-10-09 14:26:29 +00:00
  • 6139fac10d Sync OpenBSD patchset 764: Tiago Cunha 2010-10-09 14:25:40 +00:00
  • 7aef2994e4 Set cause when failing due to linking a window to itself, from Martin Pieuchot. Nicholas Marriott 2010-10-09 12:58:00 +00:00
  • 08bcd6978c Skip NULL entries in the sessions list when choosing the next session, from Simon Olofsson. Nicholas Marriott 2010-10-05 17:15:21 +00:00
  • 4789a4ee1f Nuke a leftover RB tree declaration spotted by blambert. Nicholas Marriott 2010-09-28 07:15:45 +00:00
  • 9a7cde0c9b Two new options: Nicholas Marriott 2010-09-26 20:43:30 +00:00
  • 66152010a7 Modify the permissions on the socket when adding or removing +x to show attached sessions, rather than replacing them. Nicholas Marriott 2010-09-26 18:51:48 +00:00
  • 2772557d15 detach-on-destroy is a session option, not server. Nicholas Marriott 2010-09-25 20:35:52 +00:00
  • d0d98d4ec0 done Nicholas Marriott 2010-09-25 20:21:51 +00:00
  • 29f04400b5 Sync OpenBSD patchset 763: Tiago Cunha 2010-09-18 15:45:03 +00:00
  • 5126037ea0 Sync OpenBSD patchset 762: Tiago Cunha 2010-09-18 15:43:53 +00:00
  • d7a3fc3df4 Sync OpenBSD patchset 761: Tiago Cunha 2010-09-18 15:41:50 +00:00
  • 59dc08a7a0 Sync OpenBSD patchset 760: Tiago Cunha 2010-09-18 15:41:18 +00:00
  • fe3621cbc5 Update, from Daniel Thau. Nicholas Marriott 2010-09-18 09:36:15 +00:00
  • ea4487c6da Ugh. Pass the right type into tty_term_has. Teaches me to make last minute changes :-/. Nicholas Marriott 2010-09-11 16:20:58 +00:00
  • cb564bb427 Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid terminals (I'm looking at you, putty) which disable the vt100 ACS mode switching sequences in UTF-8 mode. Nicholas Marriott 2010-09-11 16:19:22 +00:00
  • 3696cce4ae Ignore terminal overrides settings without a value. Nicholas Marriott 2010-09-11 15:43:11 +00:00
  • c1c5f43a01 When resizing the copy mode screen, don't allow it to end up with the viewable position beyond the size of the history. Nicholas Marriott 2010-09-11 15:39:55 +00:00
  • 89c07dedd9 Sync OpenBSD patchset 759: Tiago Cunha 2010-09-10 13:36:17 +00:00
  • 28a0b6fd20 Sync OpenBSD patchset 758: Tiago Cunha 2010-09-10 13:34:12 +00:00
  • a22a6deda5 Add -n and -p flags to switch-client to move to the next and previous session (yes, it doesn't match window/pane, but so what, nor does switch-client). Nicholas Marriott 2010-09-08 22:02:28 +00:00
  • bbf743769b Do not crash if the screen size is too small for the indicator in copy mode. Nicholas Marriott 2010-09-08 20:36:42 +00:00
  • f54482a461 Solaris 9 has no stdint.h, ugh. Reported by a couple of people most recently Timothy Larson. Nicholas Marriott 2010-09-07 19:32:58 +00:00
  • afcc29a51d Sync OpenBSD patchset 757: Tiago Cunha 2010-09-07 13:21:18 +00:00
  • 33df467d40 Sync OpenBSD patchset 756: Tiago Cunha 2010-09-07 13:20:28 +00:00
  • 510b43569f Sync OpenBSD patchset 755: Tiago Cunha 2010-09-07 13:19:53 +00:00
  • de68c2a7da Simplify xterm modifier detection by treating as a bitmask + 1. Spotted by and diff from Emanuele Giaquinta. Nicholas Marriott 2010-09-01 21:11:14 +00:00
  • 5309252053 Reset running jobs when the status line is enabled or disabled as well, some people have it bound to a key. Nicholas Marriott 2010-09-01 21:06:51 +00:00
  • a8b22d3673 +. Nicholas Marriott 2010-09-01 20:39:32 +00:00
  • 19923625d4 +. Nicholas Marriott 2010-09-01 20:37:20 +00:00
  • 8e8e0f1d53 Add missing prototype. Nicholas Marriott 2010-08-31 22:46:59 +00:00
  • 3b4d26d16b +. Nicholas Marriott 2010-08-31 22:44:01 +00:00
  • 01052ca38e Sync OpenBSD patchset 754: Tiago Cunha 2010-08-29 14:46:13 +00:00
  • ee44a8dca9 Sync OpenBSD patchset 753: Tiago Cunha 2010-08-29 14:44:55 +00:00
  • 89acd757d0 Sync OpenBSD patchset 752: Tiago Cunha 2010-08-29 14:43:45 +00:00
  • 56040be346 Sync OpenBSD patchset 751: Tiago Cunha 2010-08-29 14:42:11 +00:00
  • e6bb3d6942 Sync OpenBSD patchset 750: Tiago Cunha 2010-08-29 14:39:45 +00:00
  • f69ce39a6c When destroying a pane, reset any mode (which reenables pane bufferevent) before freeing the bufferevent. Nicholas Marriott 2010-08-25 19:19:43 +00:00
  • fc9f08235b Can't call event_del() without event_set() first - so call event_set() when setting up the client. Nicholas Marriott 2010-08-23 17:36:32 +00:00
  • 5f5104e782 MSG_EXIT can now have a return code in the message, so check for that size as well. Stops the client fatal()ing on exit. Nicholas Marriott 2010-08-22 16:09:49 +00:00
  • e3be9b1951 Do not call event_del() for signals after fork(), just use sigaction() directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless. Nicholas Marriott 2010-08-19 18:29:01 +00:00
  • aba555509e +-. Nicholas Marriott 2010-08-19 18:04:56 +00:00
  • c2822ca119 Do not need to dup() the tty fd sent from the client because it is already dup()d again later. Fixes a leak seen by espie@. Nicholas Marriott 2010-08-19 17:20:26 +00:00
  • c50c4ec834 Sync OpenBSD patchset 749: Tiago Cunha 2010-08-11 22:19:03 +00:00
  • 9858071dd0 Sync OpenBSD patchset 748: Tiago Cunha 2010-08-11 22:18:28 +00:00
  • b0169d9b84 Sync OpenBSD patchset 747: Tiago Cunha 2010-08-11 22:17:32 +00:00
  • e34c6e2305 Sync OpenBSD patchset 746: Tiago Cunha 2010-08-11 22:16:43 +00:00
  • 761bd3c9e3 Sync OpenBSD patchset 745: Tiago Cunha 2010-08-11 22:16:04 +00:00
  • 5e9429e2d6 Sync OpenBSD patchset 744: Tiago Cunha 2010-08-11 22:14:23 +00:00
  • 828f12b748 Do not allow duplicate session names to be created, reported by Dominik Honnef, patch from Thomas Adam. Nicholas Marriott 2010-08-11 07:45:06 +00:00
  • ae70071494 Handle failure to change mode, to avoid dying when switching into copy mode when already in a different mode. Reported by "Florian". Nicholas Marriott 2010-08-11 07:41:05 +00:00
  • 3999886901 Usage string fixes from Ben Boeckel. Nicholas Marriott 2010-08-11 07:38:00 +00:00
  • cc474b4ede Treat trying to link or move to the same window as an error to avoid removing it accidentally. Nicholas Marriott 2010-08-11 07:36:23 +00:00
  • 8363e31953 Change the way backoff works. Instead of stopping reading from the pty when the client tty backs up too much, just stop updating the tty and only update the internal screen. Then when the tty recovers, force a redraw. Nicholas Marriott 2010-08-11 07:34:43 +00:00
  • 933dc48de3 Show which pane is active in the list-panes output, suggested by Dominik Honnef. Nicholas Marriott 2010-08-11 07:27:50 +00:00
  • 4387db506f Sync OpenBSD patchset 742: Tiago Cunha 2010-08-09 21:45:37 +00:00
  • d7bae0edce Sync OpenBSD patchset 741: Tiago Cunha 2010-08-09 21:44:25 +00:00
  • 482bd7b65e Basic GNU bash completion from Frank Barknecht. Nicholas Marriott 2010-08-09 18:22:33 +00:00
  • 4274a7ec89 switch back to kqueue for now, since (a) kqueue has been fixed to deal with strange devices and (b) since there appears to be a bull in the poll code in libevent as well... requested by nicm who is away Theo Deraadt 2010-08-04 19:46:13 +00:00
  • f42364b4b5 How to blank on lock, from Thomas Adam, slightly tweaked by me. Nicholas Marriott 2010-07-31 11:46:28 +00:00