Commit Graph

  • 295ace6820 Use the tsl and fsl terminfo(5) capabilities to update terminal title and automatically fill them in on terminals with the XT capability (which means their title setting is xterm-compatible). From hsim at gmx.li. Nicholas Marriott 2011-05-08 19:53:06 +00:00
  • 268a2efb16 Sync OpenBSD patchset 903: Tiago Cunha 2011-05-05 10:12:33 +00:00
  • b5812013ef Sync OpenBSD patchset 901: Tiago Cunha 2011-05-05 10:10:57 +00:00
  • a734b41fda Sync OpenBSD patchset 900: Tiago Cunha 2011-05-05 10:03:05 +00:00
  • 4846af8f95 Sync OpenBSD patchset 899: Tiago Cunha 2011-05-05 10:02:36 +00:00
  • b0a88ebead Change window with mouse wheel over status line if mouse-select-window is on, from marcel partap. Nicholas Marriott 2011-05-04 18:10:28 +00:00
  • a70df70d20 Don't need vis.h anymore. Nicholas Marriott 2011-05-04 17:43:35 +00:00
  • b1dfc740a3 Don't use strnvis for the title as it breaks UTF-8. set-titles is now off by default and we have to trust the terminal can understand what we send it anyway so there isn't any harm. Nicholas Marriott 2011-05-04 17:43:11 +00:00
  • 7dddf56c08 Check if mouse-select-pane is ON not off when setting mouse flags, reported by oga. Nicholas Marriott 2011-05-04 17:40:32 +00:00
  • 075816eb72 Only redraw the status line on command update, not the entire client (big DOH). Nicholas Marriott 2011-04-29 07:07:31 +00:00
  • 341f67e827 Sync OpenBSD patchset 898: Tiago Cunha 2011-04-25 20:35:22 +00:00
  • 38611d3207 Sync OpenBSD patchset 897: Tiago Cunha 2011-04-25 20:34:26 +00:00
  • 215ee46106 Sync OpenBSD patchset 896: Tiago Cunha 2011-04-25 20:33:42 +00:00
  • d5150484d1 Sync OpenBSD patchset 895: Tiago Cunha 2011-04-25 20:32:03 +00:00
  • eb288aae32 Provide #h for short hostname (no domain) from Michal Mazurek. Nicholas Marriott 2011-04-24 21:32:07 +00:00
  • dc8fb9fb23 Tweak copy behaviour slightly in vi mode to be closer to real vi. From Tiago Resende. Nicholas Marriott 2011-04-24 21:06:12 +00:00
  • 8738141913 When mode-mouse is on (it is off by default), automatically enter copy mode when the mouse is dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel is scrolled off the bottom. Discussed with and written by hsim at gmx dot li. Nicholas Marriott 2011-04-19 21:31:33 +00:00
  • 656a668473 Add. Nicholas Marriott 2011-04-19 20:21:42 +00:00
  • 3970853feb POSIX only guarantees uname() will return a non-negative value on success. Matthew Dempsky 2011-04-19 20:12:47 +00:00
  • 7aafee7e48 |PatchSet 894 |Date: 2011/04/18 21:57:16 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |The mouse should only work in copy mode if mode-mouse is set, not just |mouse-select-pane. Nicholas Marriott 2011-04-18 22:03:55 +00:00
  • dc6bd98425 |PatchSet 893 |Date: 2011/04/18 20:49:05 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add an option (mouse-select-window) which allows the mouse to be used by |clicking on the status line, written by hsim at gmx dot li. Nicholas Marriott 2011-04-18 21:07:58 +00:00
  • 34a331aa99 |PatchSet 891 |Date: 2011/04/17 20:28:09 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add -t to list-clients, based on a diff from Zac Sprackett. Nicholas Marriott 2011-04-18 21:07:12 +00:00
  • 6351940744 |PatchSet 890 |Date: 2011/04/17 20:21:19 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Fix character position check, from Tiago Resende. Nicholas Marriott 2011-04-18 21:06:49 +00:00
  • 65fc8ef43a |PatchSet 889 |Date: 2011/04/11 17:44:36 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |-s comes before -t and also add -s to command syntax. Prompted by jmc. Nicholas Marriott 2011-04-18 21:06:25 +00:00
  • d5ab166307 Sync man page. Nicholas Marriott 2011-04-18 21:05:24 +00:00
  • a6456f4db3 PatchSet 887 Date: 2011/04/10 04:20:59 Author: guenther Branch: HEAD Tag: (none) Log: Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now that we've got name we want for the API we want Nicholas Marriott 2011-04-18 21:03:42 +00:00
  • dd34cc012a |PatchSet 886 |Date: 2011/04/09 21:00:29 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Since buffers are now global, bump the default buffer-limit a bit higher |to 20 rather than 9. Nicholas Marriott 2011-04-18 21:01:44 +00:00
  • 0f97ac4221 The mouse should only work in copy mode if mode-mouse is set, not just mouse-select-pane. Nicholas Marriott 2011-04-18 20:57:16 +00:00
  • 0bb2119781 Add an option (mouse-select-window) which allows the mouse to be used by clicking on the status line, written by hsim at gmx dot li. Nicholas Marriott 2011-04-18 19:49:05 +00:00
  • 4e75e82cc3 new sentence, new line; Jason McIntyre 2011-04-17 20:39:44 +00:00
  • 2c0846569d Window content backup script from Victor J Orlikowski. Nicholas Marriott 2011-04-17 19:36:35 +00:00
  • f4432030ee Add -t to list-clients, based on a diff from Zac Sprackett. Nicholas Marriott 2011-04-17 19:28:09 +00:00
  • 044c0f978f Fix character position check, from Tiago Resende. Nicholas Marriott 2011-04-17 19:21:19 +00:00
  • afbbdff581 Add tmuxinator. Nicholas Marriott 2011-04-15 22:10:20 +00:00
  • cb60ea1bdb Add some third party stuff. Nicholas Marriott 2011-04-15 21:56:38 +00:00
  • 3aee28c58b +. Nicholas Marriott 2011-04-15 19:01:51 +00:00
  • 088232e0e0 Add. Nicholas Marriott 2011-04-12 16:58:49 +00:00
  • 5e5acbeccd a independent -> an independent. Nicholas Marriott 2011-04-11 22:59:57 +00:00
  • 3dc7b805d3 -s comes before -t and also add -s to command syntax. Prompted by jmc. Nicholas Marriott 2011-04-11 16:44:36 +00:00
  • f0843d2173 Entry on italics from Tiago Resende. Nicholas Marriott 2011-04-11 07:14:54 +00:00
  • 457147d59d Add -s option to detach all clients attached to a session, from Zac Sprackett. Nicholas Marriott 2011-04-11 06:44:56 +00:00
  • 735f87bc66 Add -s option to detach all clients attached to a session, from Zac Sprackett. Nicholas Marriott 2011-04-11 06:44:39 +00:00
  • 98d450ac3a Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now that we've got name we want for the API we want Philip Guenther 2011-04-10 03:20:59 +00:00
  • 48a1169f4e Since buffers are now global, bump the default buffer-limit a bit higher to 20 rather than 9. Nicholas Marriott 2011-04-09 20:00:29 +00:00
  • 75f218dc73 If the terminal supports sitm for italics, use it instead of standout (smso). From Tiago Resende. Nicholas Marriott 2011-04-09 07:48:58 +00:00
  • 0a09d04e1b If the terminal supports sitm for italics, use it instead of standout (smso). From Tiago Resende. Nicholas Marriott 2011-04-09 07:48:08 +00:00
  • 1d00f88757 Manual date. Nicholas Marriott 2011-04-06 22:31:23 +00:00
  • e5f4bf3f3e |PatchSet 884 |Date: 2011/04/06 22:51:31 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Change so that an empty session name always means the current sessions |even if given with, for example, -t '', and explicitly forbid empty |session names and those containing a : when they are created. Nicholas Marriott 2011-04-06 22:29:26 +00:00
  • 13c54a04a0 |PatchSet 883 |Date: 2011/04/06 12:36:26 |Author: miod |Branch: HEAD |Tag: (none) |Log: |Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' |for chars. Nicholas Marriott 2011-04-06 22:24:20 +00:00
  • 4e452a2e11 |PatchSet 882 |Date: 2011/04/05 20:37:01 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add a flag to cmd_find_session so that attach-session can prefer |unattached sessions when choosing the most recently used (if -t is not |given). Suggested by claudio@. Nicholas Marriott 2011-04-06 22:24:01 +00:00
  • ae5954d30a |PatchSet 881 |Date: 2011/04/05 19:55:38 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Bind C-u to delete-line in vi mode like ksh does, suggested by thib. Nicholas Marriott 2011-04-06 22:23:30 +00:00
  • 01f5f041d3 |PatchSet 880 |Date: 2011/04/01 17:59:11 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |"or" should be on a line on its own here so it is not emphasised as |well. Nicholas Marriott 2011-04-06 22:23:14 +00:00
  • d9cb059e34 |PatchSet 879 |Date: 2011/03/29 22:09:13 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |For convenience, work out what type of option is being set by name |regardless of the -s or -w flags (these remain documented however). Nicholas Marriott 2011-04-06 22:22:49 +00:00
  • ec3be580ec |PatchSet 878 |Date: 2011/03/29 22:07:08 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Checking for particular options and redrawing is not necessary as we |already redraw unconditionally. Nicholas Marriott 2011-04-06 22:22:25 +00:00
  • 02462e5e57 |PatchSet 877 |Date: 2011/03/29 21:31:22 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Update an out-of-date and inaccurate comment. Nicholas Marriott 2011-04-06 22:21:24 +00:00
  • ffce6b34b2 |PatchSet 876 |Date: 2011/03/29 20:30:16 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Change -t on display-message to be target-pane for the #[A-Z] |replacements and add -c as target-client. Nicholas Marriott 2011-04-06 22:21:02 +00:00
  • 108fb38cbc |PatchSet 875 |Date: 2011/03/29 00:13:00 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add -a and -s options to lsp to list all panes in the server or session |respectively. Likewise add -s to lsw. From Ben Boeckel. Nicholas Marriott 2011-04-06 22:20:16 +00:00
  • 0a2b3492c3 |PatchSet 874 |Date: 2011/03/28 21:17:39 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Allow a start and end line to be specified for capture-pane which may be |negative to capture part of the history. Prompted by request from Victor |J Orlikowski. Nicholas Marriott 2011-04-06 22:19:42 +00:00
  • 8ab7fcf7eb |PatchSet 873 |Date: 2011/03/28 20:44:31 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Style: uint -> u_int and a missing else. Nicholas Marriott 2011-04-06 22:18:56 +00:00
  • 129f0dc893 |PatchSet 872 |Date: 2011/03/27 21:36:19 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Set the terminal blocking again earlier, before sending the reset |sequences. Nicholas Marriott 2011-04-06 22:18:05 +00:00
  • 2b508f7f6b |PatchSet 871 |Date: 2011/03/27 21:31:25 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Don't include meta twice when working out the flags to output for |xterm-style keys - bit 3 is accepted on input but not on output. Also a |style nit in the header. Nicholas Marriott 2011-04-06 22:17:33 +00:00
  • 536fc24653 PatchSet 870 Date: 2011/03/27 21:27:26 Author: nicm Branch: HEAD Tag: (none) Log: Give each pane created in a tmux server a unique id (starting from 0), put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel. Nicholas Marriott 2011-04-06 22:16:33 +00:00
  • ec89eb9552 Change so that an empty session name always means the current sessions even if given with, for example, -t '', and explicitly forbid empty session names and those containing a : when they are created. Nicholas Marriott 2011-04-06 21:51:31 +00:00
  • 95832241aa Add a couple of items. Nicholas Marriott 2011-04-06 20:52:04 +00:00
  • c8a14def9f Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' for chars. Miod Vallat 2011-04-06 11:36:26 +00:00
  • 5d519ba526 Add a flag to cmd_find_session so that attach-session can prefer unattached sessions when choosing the most recently used (if -t is not given). Suggested by claudio@. Nicholas Marriott 2011-04-05 19:37:01 +00:00
  • f16ea60cc0 Bind C-u to delete-line in vi mode like ksh does, suggested by thib. Nicholas Marriott 2011-04-05 18:55:38 +00:00
  • f8a218882a "or" should be on a line on its own here so it is not emphasised as well. Nicholas Marriott 2011-04-01 16:59:11 +00:00
  • f7e9aedf10 For convenience, work out what type of option is being set by name regardless of the -s or -w flags (these remain documented however). Nicholas Marriott 2011-03-29 21:09:13 +00:00
  • beb6db9b5f Checking for particular options and redrawing is not necessary as we already redraw unconditionally. Nicholas Marriott 2011-03-29 21:07:08 +00:00
  • 25d551e8b2 Update an out-of-date and inaccurate comment. Nicholas Marriott 2011-03-29 20:31:22 +00:00
  • d88c20e718 Change -t on display-message to be target-pane for the #[A-Z] replacements and add -c as target-client. Nicholas Marriott 2011-03-29 19:30:16 +00:00
  • f19a4bf9d1 Add -a and -s options to lsp to list all panes in the server or session respectively. Likewise add -s to lsw. From Ben Boeckel. Nicholas Marriott 2011-03-28 23:13:00 +00:00
  • 82e0165c49 Allow a start and end line to be specified for capture-pane which may be negative to capture part of the history. Prompted by request from Victor J Orlikowski. Nicholas Marriott 2011-03-28 20:17:39 +00:00
  • 8091dcdd97 Add. Nicholas Marriott 2011-03-28 20:14:30 +00:00
  • fa6abac98d Style: uint -> u_int and a missing else. Nicholas Marriott 2011-03-28 19:44:31 +00:00
  • f8dbfb0aa7 Add. Nicholas Marriott 2011-03-28 18:59:37 +00:00
  • b9216d9566 Done. Nicholas Marriott 2011-03-27 21:02:27 +00:00
  • 71e8e26ccc Set the terminal blocking again earlier, before sending the reset sequences. Nicholas Marriott 2011-03-27 20:36:19 +00:00
  • 7ce8fee4f3 Don't include meta twice when working out the flags to output for xterm-style keys - bit 3 is accepted on input but not on output. Also a style nit in the header. Nicholas Marriott 2011-03-27 20:31:25 +00:00
  • 808502ac3d Give each pane created in a tmux server a unique id (starting from 0), put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel. Nicholas Marriott 2011-03-27 20:27:26 +00:00
  • d74e5bffba Fix to properly wrap wide characters, from Micah Cowan. Nicholas Marriott 2011-03-26 19:07:33 +00:00
  • a9eb5e12ec Fix to properly wrap wide characters. Micah Cowan 2011-03-24 17:03:29 +00:00
  • 164c2cbcb0 Sync OpenBSD patchset 868: Tiago Cunha 2011-03-19 23:32:01 +00:00
  • 20e17604b5 Sync OpenBSD patchset 867: Tiago Cunha 2011-03-19 23:31:08 +00:00
  • a0295b4c2f Sync OpenBSD patchset 866: Tiago Cunha 2011-03-19 23:30:37 +00:00
  • 9bc44043a4 Sync OpenBSD patchset 864: Tiago Cunha 2011-03-19 23:28:30 +00:00
  • d0cca3924e Sync OpenBSD patchset 863: Tiago Cunha 2011-03-19 23:27:35 +00:00
  • 54456d5602 Fix an incorrect test which was always true (oupper is always < olower), from Yusuke ENDOH. Nicholas Marriott 2011-03-08 19:23:49 +00:00
  • 0a404aabd3 Prevent tiled producing a corrupt layout when only one column is needed, from Karl Ferdinand Ebert. Nicholas Marriott 2011-03-07 23:55:16 +00:00
  • 79e30daeae Support passing through escape sequences to the underlying terminal by using DCS with a "tmux;" prefix. Escape characters in the sequences must be doubled. For example: Nicholas Marriott 2011-03-07 23:46:27 +00:00
  • 34bb013b92 Use the right asprintf since we don't support truly broken platforms right now. Nicholas Marriott 2011-03-04 23:39:41 +00:00
  • d5ed5fb08f Two fixes by Micah Cowan: make mouse work properly beyond >127 on signed char architectures and properly parse $TMUX by stopping the socket path at the first comma. Nicholas Marriott 2011-03-04 23:26:44 +00:00
  • 4cb976b408 Fix sscanf that was guaranteed to always fail. Micah Cowan 2011-03-04 23:13:56 +00:00
  • c0888f3fd1 Make sure non-UTF8 mouse coordinates are kept to 8-bit values. Micah Cowan 2011-03-04 20:36:59 +00:00
  • c36f67a288 Fix a typo that meant we did not reset the background colour when it was omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH. Nicholas Marriott 2011-03-03 08:53:14 +00:00
  • 7954126dcd Add a -P option to detach to HUP the client's parent process (usually causing it to exit as well). Nicholas Marriott 2011-03-03 08:51:47 +00:00
  • 9def6baaba +. Nicholas Marriott 2011-02-28 21:10:33 +00:00
  • c7624fd25d Sync OpenBSD patchset 862: Tiago Cunha 2011-02-15 15:26:54 +00:00
  • 32de1d52ea Sync OpenBSD patchset 861: Tiago Cunha 2011-02-15 15:25:48 +00:00