Commit Graph

  • f11f71752a Pass in the session, rather than the client, to window modes' key() function. We were only ever using the client to find the session anyway. Micah Cowan 2010-05-22 21:56:04 +00:00
  • 0ed727a012 Enhance paste-buffer to allow lines to be separated by any string, from Andrea Barisani. Nicholas Marriott 2010-05-19 22:28:14 +00:00
  • 9e7a5fa5ef Spacing nits. Nicholas Marriott 2010-05-19 21:49:57 +00:00
  • 9c01a3d0db Solaris 9 is missing CMSG_ALIGN and some of the RFC2292 CMSG_*. From Dagobert Michelsen. Nicholas Marriott 2010-05-19 21:40:49 +00:00
  • 278effd7ea Solaris 9 doesn't have setenv and unsetenv so add compat versions, based on code from Dagobert Michelsen. Nicholas Marriott 2010-05-19 21:31:39 +00:00
  • 59c13133de Fix bad merge, from Romain Francoise. Nicholas Marriott 2010-05-16 17:50:31 +00:00
  • 41afc38dcc +. Nicholas Marriott 2010-05-14 19:05:06 +00:00
  • d91127958d Colour+attribute options for status line alerts, from Alex Alexander. Nicholas Marriott 2010-05-14 19:03:09 +00:00
  • 4af4d12475 Accept (and document) "none" instead of "default" for attributes as it is clearer and avoids confusion with default colours. Nicholas Marriott 2010-05-14 18:56:21 +00:00
  • e5f01febd7 Use $OpenBSD$. Nicholas Marriott 2010-05-14 14:41:06 +00:00
  • 0beb31c261 Update. Tiago Cunha 2010-05-14 14:38:50 +00:00
  • 6694a01861 Sync OpenBSD patchset 698: Tiago Cunha 2010-05-14 14:35:26 +00:00
  • 9900e28ba8 Sync OpenBSD patchset 697: Tiago Cunha 2010-05-14 14:33:39 +00:00
  • fc69b9ccb7 Sync OpenBSD patchset 696: Tiago Cunha 2010-05-14 14:30:01 +00:00
  • d3dd6709bc Sync OpenBSD patchset 693: Tiago Cunha 2010-05-14 14:21:07 +00:00
  • 3cded44623 Sync OpenBSD patchset 692: Tiago Cunha 2010-05-14 14:19:41 +00:00
  • 50cad52ae6 Sync OpenBSD patchset 691: Tiago Cunha 2010-05-14 14:18:54 +00:00
  • 701b5bdf61 Sync OpenBSD patchset 688: Tiago Cunha 2010-05-14 14:16:37 +00:00
  • 4e120c00f7 Use LC_ALL for sed too since apparently some platforms play silly games in other locales. Nicholas Marriott 2010-05-12 19:47:25 +00:00
  • 7d4588f470 +. Nicholas Marriott 2010-05-12 19:21:15 +00:00
  • 72d1afa169 Catch SIGHUP and terminate if running as a client. This prevents clients from being left hanging around when, for example, a SSH session is disconnected. Joel Sing 2010-05-12 15:05:39 +00:00
  • e0f4697e7c Identical behaviour to select-prompt can now be obtained with command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%". Nicholas Marriott 2010-05-05 23:24:23 +00:00
  • c4a2fdf15b Put this back in with the initialisation in the right order. Nicholas Marriott 2010-05-04 17:28:16 +00:00
  • af5e0bd15a Revert last change, it appears to be broken somehow. Nicholas Marriott 2010-05-04 08:48:06 +00:00
  • ec1d37b1b2 Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois. Nicholas Marriott 2010-05-03 16:06:32 +00:00
  • c919139433 Make C-] and other punctuation-based control key combinations work again. Ryan McBride 2010-05-03 09:38:03 +00:00
  • fc09ec3025 sort options. Igor Sobrado 2010-05-02 15:19:35 +00:00
  • 893be14cf8 +. Nicholas Marriott 2010-04-28 19:08:40 +00:00
  • 99e54f46c7 Make the active pane border have a green foreground instead of background by default. Nicholas Marriott 2010-04-28 18:22:32 +00:00
  • 2240199dbf Fix crash when resizing in copy mode, when cursor can end up outside screen. Nicholas Marriott 2010-04-28 18:19:16 +00:00
  • 342a47bc77 Avoid crashing in copy-mode during resize, when our history-viewing offset is larger than the new total number of history lines. Micah Cowan 2010-04-28 14:29:27 +00:00
  • 83e1a33ff5 imsg.h does not need sys/tree.h. Nicholas Marriott 2010-04-27 21:04:04 +00:00
  • d529e7e14e Add a tiled layout, originally from Liam Bedford a while ago, fixed up by me. Nicholas Marriott 2010-04-25 20:28:13 +00:00
  • 18ed37622e When converting A-Z into a control character, want to subtract 64 not 65... whoops. Nicholas Marriott 2010-04-23 20:33:08 +00:00
  • 6769115df2 When converting A-Z into a control character, want to subtract 64 not 65... whoops. Nicholas Marriott 2010-04-23 14:27:04 +00:00
  • ec56ec7920 Use INSTALL so people on Solaris can set it to ginstall. Nicholas Marriott 2010-04-23 07:38:36 +00:00
  • 0c5a964e63 Support NetBSD 6 which will now have its own terminfo (yay). Nicholas Marriott 2010-04-23 07:29:39 +00:00
  • c4c542efb9 Sync OpenBSD patchset 686: Tiago Cunha 2010-04-22 21:51:27 +00:00
  • 2bc150d16d Sync OpenBSD patchset 685: Tiago Cunha 2010-04-22 21:50:30 +00:00
  • 7163907ab6 Sync OpenBSD patchset 684: Tiago Cunha 2010-04-22 21:48:49 +00:00
  • 261b6b8615 Mark zombie windows as dead in choose-window list, from Romain Francoise. Nicholas Marriott 2010-04-21 21:41:21 +00:00
  • 02fc1fe0da Done. Nicholas Marriott 2010-04-21 21:35:07 +00:00
  • 8e67b07489 Don't set user and group with install, from Nicolas Pinto. Nicholas Marriott 2010-04-21 21:22:06 +00:00
  • 3ae1b82695 Rewrite key string conversions to be readable and to work properly for multiple modifiers. Nicholas Marriott 2010-04-21 21:17:33 +00:00
  • 0ed80637e7 Sync OpenBSD patchset 683: Tiago Cunha 2010-04-18 15:11:47 +00:00
  • b03418fc6b Sync OpenBSD patchset 682: Tiago Cunha 2010-04-18 15:10:55 +00:00
  • 67dd5df876 Catch SIGCHLD to avoid a zombie, from patrick keshishian. Nicholas Marriott 2010-04-18 13:41:29 +00:00
  • c0f03afbac +. Nicholas Marriott 2010-04-18 07:37:09 +00:00
  • 622593a77f Fix typo in escape state table leading to fatal() when \033} or \033~ was entered, from Chris Johnsen. Nicholas Marriott 2010-04-17 23:31:09 +00:00
  • a6d52405a8 If remain-on-exit is set, both the error callback and a SIGCHLD could destroy the same pane (because the first one doesn't remove it from the list of panes), causing the pane bufferevent to be freed twice. So don't free it if the fd has already been set to -1, from Romain Francoise. Nicholas Marriott 2010-04-17 23:25:16 +00:00
  • 842bc2b855 Fix use-after-free of the window link when it is part of a grouped session (and hence could have been recreated), from Micah Cowan. Nicholas Marriott 2010-04-17 23:14:17 +00:00
  • 0646b3caf2 Sync OpenBSD patchset 680: Tiago Cunha 2010-04-12 21:45:18 +00:00
  • b2e752b384 Don't try to use a window-link that may have been freed. Micah Cowan 2010-04-09 07:09:37 +00:00
  • 08632b4f0a there can be only one rpathbuf Nicholas Marriott 2010-04-08 07:54:43 +00:00
  • a2c86dcbf6 Remove XXX comment and just close received fd if calloc() fails. Nicholas Marriott 2010-04-07 18:09:39 +00:00
  • 10b73b7a11 Sync nit. Nicholas Marriott 2010-04-06 22:08:10 +00:00
  • cd0f22b96e Unbreak. Whoops. Nicholas Marriott 2010-04-06 22:02:52 +00:00
  • 610056abbe Man page sync. Nicholas Marriott 2010-04-06 22:02:03 +00:00
  • 3743238a86 From Bob Beck: Nicholas Marriott 2010-04-06 22:01:32 +00:00
  • 531db321e3 -s src-pane. Nicholas Marriott 2010-04-06 21:59:59 +00:00
  • 642f549e4d Dead assignment. Nicholas Marriott 2010-04-06 21:59:37 +00:00
  • 0fc65537a3 Run job commands explicitly in the global enviroment (which can be modified with setenv -g) rather than with the environment tmux started with. Nicholas Marriott 2010-04-06 21:59:19 +00:00
  • 091db41bc9 Squash a function that is only called in a callback into the callback function. Nicholas Marriott 2010-04-06 21:58:33 +00:00
  • 67300e9524 Stupid style nits. Nicholas Marriott 2010-04-06 21:45:36 +00:00
  • ac9daf92d7 Merge copy mode and output mode, dropping the latter. Idea and code from Micah Cowan. Nicholas Marriott 2010-04-06 21:35:44 +00:00
  • f2a4ef5260 window-more.c is now defunct. Nicholas Marriott 2010-04-06 10:53:41 +00:00
  • 7dc1720522 +. Nicholas Marriott 2010-04-05 22:28:56 +00:00
  • 07dcf8610f FreeBSD kqueue is broken before 8. Nicholas Marriott 2010-04-05 22:28:25 +00:00
  • f81190a793 Mention title setting, and the new default. Nicholas Marriott 2010-04-05 17:46:05 +00:00
  • 2d74ce1d3a Merge output (more) and copy modes into one single mode (called copy). Micah Cowan 2010-04-05 05:11:44 +00:00
  • 6704c86301 rather than using an empty "" as the default window title, put the hostname of the machine we are running on in there. Bob Beck 2010-04-04 23:05:15 +00:00
  • 680f920b55 tweak; Jason McIntyre 2010-04-04 21:23:20 +00:00
  • 089c33f5be Should be -s for src pane. Nicholas Marriott 2010-04-04 19:12:20 +00:00
  • 46d5c14b17 Dead assignment, found with clang. Nicholas Marriott 2010-04-04 19:04:09 +00:00
  • b02cd35354 Run job commands explicitly in the global enviroment (which can be modified with setenv -g) rather than with the environment tmux started with. Nicholas Marriott 2010-04-04 19:02:09 +00:00
  • 7425122c1c Squash a function that is only called in a callback into the callback function. Nicholas Marriott 2010-04-04 18:48:37 +00:00
  • 5879e2a32b libevent needs librt on Linux, from Aaron Isotton. Nicholas Marriott 2010-04-02 21:26:40 +00:00
  • 1392fba63d Don't accept keys with modifiers as input. Fixes crash reported by Brian R Landy. Nicholas Marriott 2010-03-31 18:24:08 +00:00
  • 56481a46bf Don't accept keys with modifiers as input. Fixes crash reported by Brian R Landy. Nicholas Marriott 2010-03-31 18:05:14 +00:00
  • 1c6ab725f5 +. Nicholas Marriott 2010-03-29 18:54:07 +00:00
  • 4012917302 Nuke unused functions. Nicholas Marriott 2010-03-27 15:12:56 +00:00
  • dd7abd9b4c -a flag to insert a window after an existing one, moving other windows up as necessary. Nicholas Marriott 2010-03-27 15:12:11 +00:00
  • 41f90bd08f Don't leak job command in #(). Nicholas Marriott 2010-03-27 15:06:40 +00:00
  • 51c776fe93 +. Nicholas Marriott 2010-03-27 13:43:13 +00:00
  • d3d85c3df9 -a flag to insert a window after an existing one, moving other windows up necessary. Nicholas Marriott 2010-03-27 11:46:58 +00:00
  • d267845cfc dispense with some wacky escape sequences; Jason McIntyre 2010-03-26 19:30:40 +00:00
  • c550e66e85 Dead functions, lint. Nicholas Marriott 2010-03-22 19:18:46 +00:00
  • e16b7b8399 Reset output functions too when changing client after attaching, to avoid crash if a command in a sequence after new/attach causes output. Nicholas Marriott 2010-03-22 19:14:55 +00:00
  • 9abbe349af paste-buffer should be per pane, from C. Coutinho. Nicholas Marriott 2010-03-22 19:13:28 +00:00
  • 509ce7f766 Nuke unused variable. Nicholas Marriott 2010-03-22 19:11:54 +00:00
  • 0ac6efa6d5 Add vi-style "jump" commands for copy mode, from Micah Cowan. Nicholas Marriott 2010-03-22 19:10:42 +00:00
  • 6f04866044 Support up, down, left, right movement through panes with -UDLR flags to select-pane. Nicholas Marriott 2010-03-22 19:07:52 +00:00
  • 021037c419 Accept a full key match (not a partial) even if there is data left in the buffer. Nicholas Marriott 2010-03-22 19:03:52 +00:00
  • 4baafd8126 New input parser based on http://vt100.net/emu/dec_ansi_parser. Nicholas Marriott 2010-03-22 19:02:54 +00:00
  • 9382e546df +. Nicholas Marriott 2010-03-18 21:10:11 +00:00
  • 659d15786a Reset output functions too when changing client after attaching. Nicholas Marriott 2010-03-18 21:06:40 +00:00
  • 2307b91ecb paste-buffer should be per pane, from C. Coutinho. Nicholas Marriott 2010-03-18 21:02:41 +00:00
  • a2c87eb899 Unused variable. Nicholas Marriott 2010-03-16 23:40:14 +00:00
  • 33a90efc93 Minor Nazi style tweaks to previous, and man page rephrasery. Nicholas Marriott 2010-03-16 17:51:32 +00:00
  • 009d8d2ea7 Jump-forward, jump-backward in copy mode, based on vi's F and f commands. Micah Cowan 2010-03-16 17:30:58 +00:00