Commit Graph

  • 61fce272ea If given an array option without an index either show or set all items, and support -a for array options. Allow the separator for set to be specified in the options table (will be used for backwards compatibility later). nicm 2017-01-24 19:11:46 +00:00
  • f1282a683d Merge branch 'obsd-master' Thomas Adam 2017-01-24 14:01:15 +00:00
  • c68ea386d1 pty.c needs compat.h. Nicholas Marriott 2017-01-24 13:34:08 +00:00
  • 3d74e89a39 Shorten a long line, and don't leak buffer in paste_add if size is zero. nicm 2017-01-24 13:28:33 +00:00
  • a3d5bfcece Define away pledge() on !OpenBSD. Nicholas Marriott 2017-01-23 12:27:58 +00:00
  • 1ebe79dd62 Use forkpty() except on OpenBSD. Nicholas Marriott 2017-01-23 12:26:06 +00:00
  • b3a724f30c Merge branch 'obsd-master' Thomas Adam 2017-01-23 12:20:43 +00:00
  • 98e7fbb2ac Open /dev/ptm before pledge() and save it to be used for PTMGET later (this means inlining forkpty()). nicm 2017-01-23 10:09:43 +00:00
  • d2eab39ffa Merge branch 'obsd-master' Thomas Adam 2017-01-22 20:01:12 +00:00
  • aa70f28069 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-01-22 19:14:10 +00:00
  • acf331f7f1 Add b64_pton as well. Nicholas Marriott 2017-01-22 19:12:15 +00:00
  • 4ede35c48c Accept the OSC 52 escape sequence inside tmux to add a new buffer, from harry dot gindi at live dot com. nicm 2017-01-22 19:00:01 +00:00
  • c17b0a202a Merge branch 'obsd-master' Thomas Adam 2017-01-20 16:01:11 +00:00
  • 46572ba904 Print error rather than fatal() if tcgetattr() fails, which is much more useful to user. nicm 2017-01-20 14:02:33 +00:00
  • 61af9d7cc2 Look for ncursesw as well as ncurses, based on a change from Bert van Hall. Nicholas Marriott 2017-01-19 15:31:22 +00:00
  • b98b4e23a3 Put version in log in portable tmux. Nicholas Marriott 2017-01-18 17:35:41 +00:00
  • 7e4908f751 If --enable-{utf8proc,utempter} is given, do not build without it. Nicholas Marriott 2017-01-18 14:32:50 +00:00
  • 787f9de5d8 vis.h comes from compat.h. Nicholas Marriott 2017-01-18 12:16:14 +00:00
  • 044999ce6d Merge branch 'obsd-master' Thomas Adam 2017-01-18 12:01:11 +00:00
  • faa0570309 Plain stravis() because it will mangle UTF-8 characters, so add utf8_stravis() which calls our existing utf8_strvis() and use it instead nicm 2017-01-18 10:08:05 +00:00
  • 6d37984f4f Merge branch 'obsd-master' Thomas Adam 2017-01-18 10:01:12 +00:00
  • 4bb5a1d6a7 Run arguments through vis() as well when printing them. nicm 2017-01-18 10:00:50 +00:00
  • 649c0d8e91 Do not reset idx, it has just been set. nicm 2017-01-18 08:43:21 +00:00
  • 373541104b options_match needs to explicitly check for user options. nicm 2017-01-18 08:40:50 +00:00
  • 64c486ae81 Merge branch 'obsd-master' Thomas Adam 2017-01-17 02:01:11 +00:00
  • 6b6b0e91d0 Correctly handle -style options without all of a corresponding -fg/-bg/-attr. nicm 2017-01-16 23:45:08 +00:00
  • c0346701df Fix VIS_DQ check. Nicholas Marriott 2017-01-16 18:20:50 +00:00
  • 7e110b9d99 Merge branch 'obsd-master' Thomas Adam 2017-01-16 15:36:02 +00:00
  • f20e3ee62c We need VIS_DQ in vis.h as well. Nicholas Marriott 2017-01-16 15:01:14 +00:00
  • ef15b4195f Revert WIP parts of previous I didn't mean to commit yet. nicm 2017-01-16 14:52:25 +00:00
  • 68db958477 getopt() has a struct option so just return to using options_entry. nicm 2017-01-16 14:49:14 +00:00
  • 997b11741c Remove vis.h which comes from compat. Nicholas Marriott 2017-01-16 12:09:04 +00:00
  • 7b60645732 Merge branch 'obsd-master' Thomas Adam 2017-01-16 00:01:10 +00:00
  • c9fcb76651 Merge branch 'obsd-master' Thomas Adam 2017-01-15 22:01:11 +00:00
  • 52847a9518 It is silly for cmd_list_parse to return an integer error when it could just return NULL. nicm 2017-01-15 22:00:56 +00:00
  • 3054846143 -q flag now needs to be checked in a couple more places. nicm 2017-01-15 20:50:34 +00:00
  • 2b0bc9f1c5 Major tidy up and rework of options tree and set-option/show-options commands this pushes more of the code into options.c and ties it more closely to the options table rather than having an unnecessary split. Also add support for array options (will be used later). Only (intentional) user visible change is that show-options output is now passed through vis(3) with VIS_DQ so quotes are escaped. nicm 2017-01-15 20:48:41 +00:00
  • 404214b0ac Remove unused quiet option. nicm 2017-01-15 20:16:22 +00:00
  • a3cf995017 Append needs to go old,new not new,old... nicm 2017-01-15 20:14:36 +00:00
  • 4f077fe62c Merge branch 'obsd-master' Thomas Adam 2017-01-14 20:01:13 +00:00
  • e06efab9da killp -a should not kill the window if only one pane. nicm 2017-01-14 18:53:08 +00:00
  • 780dd7ac82 Merge branch 'obsd-master' Thomas Adam 2017-01-13 14:01:13 +00:00
  • 2311bbd28a Merge branch 'obsd-master' Thomas Adam 2017-01-13 12:01:12 +00:00
  • 08d21936e4 options_get_style return const too. nicm 2017-01-13 11:58:49 +00:00
  • 22a528905d Make options_get_string return const string. nicm 2017-01-13 11:56:43 +00:00
  • 95950bf668 Add -E to detach-client to exec a command to replace the client instead of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius. nicm 2017-01-13 10:12:12 +00:00
  • d4cb178249 Merge branch 'obsd-master' Thomas Adam 2017-01-12 16:01:13 +00:00
  • 24cba5907b Simplify appending to string options. nicm 2017-01-12 15:36:35 +00:00
  • 1eb9500644 Merge branch 'obsd-master' Thomas Adam 2017-01-12 12:01:10 +00:00
  • dad3090d32 Put all palette functions together in the file. nicm 2017-01-12 10:15:55 +00:00
  • 4a76861925 Merge branch 'obsd-master' Thomas Adam 2017-01-12 02:01:11 +00:00
  • 9b6aeacdc0 aixterm colours can be used if -2 is given, as well as if TERM tells us the terminal has >=16 colours. nicm 2017-01-12 00:30:41 +00:00
  • 0752fdaf6a Erm the aixterm colours should start at 8, not 7. nicm 2017-01-12 00:24:28 +00:00
  • 9e786030df Fix setting the palette of aixterm colours (90-97). nicm 2017-01-12 00:19:32 +00:00
  • 33ebb9ec39 Merge branch 'obsd-master' Thomas Adam 2017-01-12 00:01:13 +00:00
  • 74c40d04ea Be less aggressive about turning margins off. nicm 2017-01-11 23:10:04 +00:00
  • 3bb14001b9 Add some missing special keys to key_string_lookup_key, fix a mouse check in server_client_handle_key, and tweak a comment. nicm 2017-01-11 22:36:07 +00:00
  • d87ab0cadf Merge branch 'obsd-master' Thomas Adam 2017-01-11 18:01:13 +00:00
  • bf6a5c056d Add a format for terminal type. nicm 2017-01-11 16:09:57 +00:00
  • 7497ecd979 Use a macro for looking up tty types. nicm 2017-01-11 16:05:46 +00:00
  • 0d19d78fff Merge branch 'obsd-master' Thomas Adam 2017-01-11 16:01:16 +00:00
  • 458b6eb600 Some tidying and tweaks to options code. nicm 2017-01-11 14:56:44 +00:00
  • 8f79b079cd Merge branch 'obsd-master' Thomas Adam 2017-01-10 22:01:14 +00:00
  • db8dff6814 Merge branch 'obsd-master' Thomas Adam 2017-01-10 20:01:12 +00:00
  • 5526627558 Minor tidying in a couple of commands. nicm 2017-01-10 19:45:55 +00:00
  • ba35e8f292 15 minutes is not 1800 seconds, but just remove lock-after-time because it won't work for Linux folks without additional configuration Nicholas Marriott 2017-01-10 19:33:22 +00:00
  • 2283f19876 -temacs-copy should now be -Tcopy-mode Nicholas Marriott 2017-01-10 19:31:34 +00:00
  • 152bfa02f0 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-01-10 19:27:23 +00:00
  • a5c89a1802 Change around the example .tmux.conf to show some newer features. Nicholas Marriott 2017-01-10 19:26:54 +00:00
  • aa4de2d4b2 Need to escape ; twice because the command list parser will eat one, reported by Theo Buehler. nicm 2017-01-10 18:10:24 +00:00
  • 570943beb7 Merge branch 'obsd-master' Thomas Adam 2017-01-10 14:01:12 +00:00
  • 1e12e1d843 Merge branch 'obsd-master' Thomas Adam 2017-01-10 12:01:10 +00:00
  • 5ea7a00eba Quote backslash as well for %%%. nicm 2017-01-10 11:58:30 +00:00
  • e78142232f Some manpage fixes: rephrase a convoluted sentence, make the names of some keys more standard, and use Ql instead of Dq. nicm 2017-01-10 10:08:59 +00:00
  • 628f3ad9f4 Merge branch 'obsd-master' Thomas Adam 2017-01-10 10:01:11 +00:00
  • 40fddfbdd6 avoid unneccessary markup; tweaked and ok nicm jmc 2017-01-10 07:55:48 +00:00
  • 2c862b04af Merge branch 'obsd-master' Thomas Adam 2017-01-09 22:01:12 +00:00
  • 36619607ba Add a format for the version. Nicholas Marriott 2017-01-09 21:44:19 +00:00
  • d2d984647e Add %if/%endif for conditionals when parsing configuration files, the argument is a format (the new == and != are useful). nicm 2017-01-09 21:28:56 +00:00
  • 844f2eacf4 Add simple comparisons in formats: #{==:a,b} and #{!=:a,b} ("a" and "b" are expanded so can compare formats). And expand the condition to #{?a,b,c} (the "a" part) if it doesn't work as a simple lookup. nicm 2017-01-09 21:03:25 +00:00
  • 95f5d406e5 Merge branch 'obsd-master' Thomas Adam 2017-01-09 20:01:12 +00:00
  • 561b5c6fdb source-file -q needs to apply to glob(3) too. nicm 2017-01-09 19:29:12 +00:00
  • 5330a2a85d Run the source-file pattern through glob(3). nicm 2017-01-09 19:27:00 +00:00
  • d90fa2ec13 Tweak TODO file. Nicholas Marriott 2017-01-09 17:48:30 +00:00
  • 325c85a5c1 Merge branch 'obsd-master' Thomas Adam 2017-01-07 18:01:11 +00:00
  • 29e64a8c64 Merge branch 'obsd-master' Thomas Adam 2017-01-07 16:01:17 +00:00
  • c05002b0f2 Add note about ccc and initc so people who want it can see it is possible. nicm 2017-01-07 15:40:23 +00:00
  • 314e933914 Add support for the OSC 4 and OSC 104 palette setting escape sequences, from S Gilles. nicm 2017-01-07 15:28:13 +00:00
  • a3428487a7 Merge branch 'obsd-master' Thomas Adam 2017-01-06 14:01:15 +00:00
  • cae0fbbe8c Nits found with clang. nicm 2017-01-06 13:26:09 +00:00
  • 461217d0f0 Incremental search in copy mode (on for emacs keys by default) - much the same as normal searching but updates the cursor position and marked search terms as you type. C-r and C-s in the prompt repeat the search, once finished searching (with Enter), N and n work as before. nicm 2017-01-06 11:57:03 +00:00
  • 58642011df Merge branch 'obsd-master' Thomas Adam 2017-01-05 10:01:11 +00:00
  • 9a56671a75 Highlight all occurrences of search string after searching in copy mode. nicm 2017-01-05 09:07:15 +00:00
  • 45dbbb78b0 Merge branch 'obsd-master' Thomas Adam 2017-01-03 00:01:12 +00:00
  • 43e8f60bc6 Escape backspace for capture-pane -P, from George Nachman. nicm 2017-01-02 22:42:19 +00:00
  • f5c5847788 Merge branch 'obsd-master' Thomas Adam 2016-12-30 16:01:15 +00:00
  • 1015b124d5 Change the xterm-keys option to default to on, so that tmux will generate xterm(1) escape sequences for function keys with modifiers. nicm 2016-12-30 13:49:34 +00:00
  • d3328a3b1e Merge branch 'obsd-master' Thomas Adam 2016-12-28 12:01:14 +00:00
  • 70ba3c147f Fix the prefer unattached session behaviour of attach-session/switch-client, reported by Thomas Sattle. nicm 2016-12-28 10:34:34 +00:00
  • af56e50f74 utempter is no longer the default, and mention ncurses. Nicholas Marriott 2016-12-20 16:28:11 +00:00