Commit Graph

  • e2a5e02022 +. Nicholas Marriott 2010-06-21 00:13:13 +00:00
  • 5afb820d23 Ensure we overwrite UTF-8 wide characters properly, and never overwrite characters we weren't overlapping. Fixes "disappearing wide characters" glitch. From Micah Cowan. Nicholas Marriott 2010-06-21 00:11:12 +00:00
  • cac532c3d1 Ensure we overwrite wide characters properly, and never overwrite characters we weren't overlapping. Fixes "disappearing wide characters" glitch. Micah Cowan 2010-06-16 18:09:23 +00:00
  • e186450788 Sync OpenBSD patchset 720: Tiago Cunha 2010-06-15 20:25:40 +00:00
  • 3e8092709c Sync OpenBSD patchset 719: Tiago Cunha 2010-06-15 20:24:52 +00:00
  • 278d9bc721 Last change erroneously used the target argument for looking up the client which caused pipe-pane to fail when used from the command line. Instead pass NULL which should use the current client. Nicholas Marriott 2010-06-14 23:06:13 +00:00
  • 1484eb8a51 Add a missing command and some missing Ic, from Tiago Cunha. Nicholas Marriott 2010-06-14 23:04:44 +00:00
  • 1b77ae2684 +. Nicholas Marriott 2010-06-13 11:28:26 +00:00
  • dcc100f165 Use a macro-based mask for obtaining a key or modifier-set from the combination. Display C-@, etc, as C-Space, in list-keys. By Micah Cowan. Nicholas Marriott 2010-06-06 19:00:13 +00:00
  • 60134cebda imsg was moved into libutil on OpenBSD. Tiago Cunha 2010-06-06 13:00:47 +00:00
  • f34861bad4 Sync OpenBSD patchset 717: Tiago Cunha 2010-06-06 00:31:32 +00:00
  • 6503207185 Sync OpenBSD patchset 716: Tiago Cunha 2010-06-06 00:30:34 +00:00
  • 3bba401609 Sync OpenBSD patchset 715: Tiago Cunha 2010-06-06 00:28:00 +00:00
  • 31657820bc Sync OpenBSD patchset 714: Tiago Cunha 2010-06-06 00:27:08 +00:00
  • be3643fba0 Sync OpenBSD patchset 713: Tiago Cunha 2010-06-06 00:25:47 +00:00
  • f62d3d22bb Sync OpenBSD patchset 710: Tiago Cunha 2010-06-06 00:23:44 +00:00
  • 67dc249d0e Sync OpenBSD patchset 709: Tiago Cunha 2010-06-06 00:21:36 +00:00
  • 0778ef230b Sync OpenBSD patchset 708: Tiago Cunha 2010-06-06 00:20:53 +00:00
  • bebfd7c2c8 Sync OpenBSD patchset 706: Tiago Cunha 2010-06-06 00:08:28 +00:00
  • 348c3e69de Sync OpenBSD patchset 705: Tiago Cunha 2010-06-06 00:04:59 +00:00
  • 0d6a64070c Sync OpenBSD patchset 704: Tiago Cunha 2010-06-06 00:04:18 +00:00
  • bb4d770e45 No vis.h in here. Tiago Cunha 2010-06-06 00:03:02 +00:00
  • e55a59eebc Sync OpenBSD patchset 702: Tiago Cunha 2010-06-06 00:01:36 +00:00
  • 11cd05db27 Sync OpenBSD patchset 701: Tiago Cunha 2010-06-05 23:56:29 +00:00
  • 6c6255f2d7 Sync OpenBSD patchset 700: Tiago Cunha 2010-06-05 23:54:51 +00:00
  • 227e458ebb Use a macro-based mask for obtaining a key or modifier-set from the combination. Display C-@, etc, as C-Space, in list-keys. Micah Cowan 2010-06-05 20:29:11 +00:00
  • 89eb95265a Must allocate for putenv. Nicholas Marriott 2010-06-05 18:20:48 +00:00
  • d98efa5378 Only need to build setenv.c once. Nicholas Marriott 2010-06-05 18:14:29 +00:00
  • 4e3bed2035 Couple of missing command aliases/flags, from Tiago Cunha. Nicholas Marriott 2010-06-05 16:54:24 +00:00
  • 510ec3fb9e Fix problems with window sizing seen by Raghavendra D Prabhu when starting tmux from .xinitrc. Nicholas Marriott 2010-06-05 16:47:11 +00:00
  • ceed5cc9a9 Support the status_replace # replacement sequences in the pipe-pane command, thanks to Andrea Barisani. Nicholas Marriott 2010-06-05 16:34:30 +00:00
  • 0440d325d9 Shut up gcc4 warnings. Nicholas Marriott 2010-06-05 16:32:22 +00:00
  • 36c0871c23 This ioctl(TIOCGWINSZ) call is no longer necessary, the result is never used and the server now does it later on the tty fd directly. Nicholas Marriott 2010-06-05 16:29:45 +00:00
  • a9c6976268 Should be const char *. Nicholas Marriott 2010-06-05 16:29:40 +00:00
  • b88ec14f0e Fix binding of C-Space/C-@, from Micah Cowan. Nicholas Marriott 2010-06-05 15:51:53 +00:00
  • cc724f327a Make start-of-line work the same as end-of-line on wrapped lines (jump to real start if at edge of screen). By Micah Cowan. Nicholas Marriott 2010-06-05 15:49:48 +00:00
  • d9c99b83c7 Make double start-of-line do what double end-of-line does, on wrapped lines. Micah Cowan 2010-06-05 07:48:35 +00:00
  • d27956f160 Allow C-Space to work correctly once again, and forbid nonsensical combinations such as C-Enter or C-Escape. Micah Cowan 2010-06-05 06:27:19 +00:00
  • 43fa9a9ba6 When the mode-mouse option is on, support dragging to make a selection in copy mode. Nicholas Marriott 2010-05-31 19:51:29 +00:00
  • e1e120de1c Better to say "command key bindings" since we've just called them command keys. Nicholas Marriott 2010-05-30 19:19:42 +00:00
  • 7b7397241f There is no real reason not to list all the key bindings here rather than just a selection. Nicholas Marriott 2010-05-30 19:09:50 +00:00
  • e334deb872 +. Nicholas Marriott 2010-05-27 08:29:17 +00:00
  • 1618f3eae6 Move imsg into libutil and add a man page. Nicholas Marriott 2010-05-26 16:44:32 +00:00
  • c47d66f49b Rename some imsg bits to make namespace collisions less likely buf to ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. Nicholas Marriott 2010-05-26 13:56:07 +00:00
  • 1e8faaa217 Don't die if the client has been detached when the job finishes, just don't display the output. Nicholas Marriott 2010-05-25 20:05:25 +00:00
  • 608eef731a Fix an out-of-date comment. Nicholas Marriott 2010-05-25 19:47:30 +00:00
  • e50dc0745f +. Nicholas Marriott 2010-05-24 18:21:07 +00:00
  • 4f5c5b37b8 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. Nicholas Marriott 2010-05-23 19:42:19 +00:00
  • 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