Commit Graph

  • 5be8175b0b No more up-pane/down-pane. Nicholas Marriott 2010-07-31 11:39:13 +00:00
  • 77f9c49829 dup() the stdin fd so it isn't closed twice (once for stdin, once for tty). Nicholas Marriott 2010-07-28 22:15:15 +00:00
  • 5576fe42b2 Sync with reality, per SF bug #3035214. Tiago Cunha 2010-07-27 18:29:07 +00:00
  • c87187f913 When changing so that the client passes its stdout and stderr as well as stdin up to the server, I forgot one essential point - the tmux server could now be both the producer and consumer. This happens when tmux is run inside tmux, as well as when piping tmux commands together. Nicholas Marriott 2010-07-24 20:11:59 +00:00
  • bf09b00fe9 kqueue(2) is currently broken when used with /dev/null and a few other devices. Nicholas Marriott 2010-07-24 19:25:31 +00:00
  • a97b7ad11c Fix a crash: if remain-on-exit is set and the pane has exited, the buffers may not be valid, so do not try to disable/enable them when switching to copy mode. Nicholas Marriott 2010-07-22 21:10:51 +00:00
  • 1944747759 Don't enable/disable invalid event pointers. Fixes SF #3033119. Micah Cowan 2010-07-22 19:51:48 +00:00
  • 28c4c86589 Sync OpenBSD patchset 738: Tiago Cunha 2010-07-20 17:36:41 +00:00
  • 7ed9b0f8fb Sync OpenBSD patchset 737: Tiago Cunha 2010-07-20 17:36:03 +00:00
  • 2b80ede963 Don't return if in the current window since we may want to report a bell (if bell-action any/current), just clear the flag so the status line doesn't show the bell. Nicholas Marriott 2010-07-19 21:13:03 +00:00
  • 11497af4dd Solaris has MAXHOSTNAMELEN in netdb.h. Nicholas Marriott 2010-07-19 18:31:42 +00:00
  • 2a0f3f0d79 Send the \n to stdout with the message, not stderr... doh. Nicholas Marriott 2010-07-19 18:27:38 +00:00
  • b0878774e0 Don't hard-code the username. Tiago Cunha 2010-07-19 13:57:22 +00:00
  • e71f0842ce Working on 1.4. Tiago Cunha 2010-07-18 14:53:27 +00:00
  • 946fd162ba This commit was manufactured by cvs2svn to create tag 'TMUX_1_3'. 1.3 no_author 2010-07-18 13:41:00 +00:00
  • 9b47a48393 Changes for 1.3. Tiago Cunha 2010-07-18 13:40:59 +00:00
  • 0482983d53 Done. Tiago Cunha 2010-07-18 13:39:02 +00:00
  • 2b512dc49d Bump VERSION, and comment FDEBUG. Tiago Cunha 2010-07-18 13:36:52 +00:00
  • ae45c2ea45 Sync OpenBSD patchset 736: Tiago Cunha 2010-07-17 14:39:01 +00:00
  • 11f81e8134 Sync OpenBSD patchset 735: Tiago Cunha 2010-07-17 14:38:13 +00:00
  • ad6a528f61 Sync OpenBSD patchset 734: Tiago Cunha 2010-07-17 14:36:41 +00:00
  • a471b5de9c some escapes i missed; Jason McIntyre 2010-07-15 21:54:20 +00:00
  • 43355fa75c Make pane/window wrapping more logical (so with 10 windows, +10 from window 5 stays in the same place), and tidy the code. From Tiago Cunha. Nicholas Marriott 2010-07-14 18:37:49 +00:00
  • b9c873cdaa Return the command client return code with MSG_EXIT now that MSG_ERROR and MSG_PRINT are unused. Nicholas Marriott 2010-07-11 17:06:45 +00:00
  • 46f27eab22 Sync OpenBSD patchset 733: Tiago Cunha 2010-07-02 02:56:07 +00:00
  • e4703bacb5 Sync OpenBSD patchset 732: Tiago Cunha 2010-07-02 02:54:52 +00:00
  • e4573de97b Sync OpenBSD patchset 731: Tiago Cunha 2010-07-02 02:52:13 +00:00
  • 63e76b555d Sync OpenBSD patchset 730: Tiago Cunha 2010-07-02 02:49:19 +00:00
  • 13e7f060b1 Update. Tiago Cunha 2010-07-02 02:46:39 +00:00
  • fa34c76275 Sync OpenBSD patchset 729: Tiago Cunha 2010-07-02 02:45:52 +00:00
  • 985cd3a4de Sync OpenBSD patchset 728: Tiago Cunha 2010-07-02 02:43:50 +00:00
  • 03c1c1cd9f Sync OpenBSD patchset 727: Tiago Cunha 2010-07-02 02:43:01 +00:00
  • b4b9b831ee replace some magic mouse constants with defines for clarity. ok nicm Ted Unangst 2010-06-29 05:24:49 +00:00
  • 552c9cd83f Custom layouts. list-windows command displays the layout as a string (such as "bb62,159x48,0,0{79x48,0,0,79x48,80,0}") and it can be applied to another window (with the same number of panes or fewer) using select-layout. Nicholas Marriott 2010-06-29 03:30:13 +00:00
  • 76bbdeb586 Send all three of stdin, stdout, stderr from the client to the server, so that commands can directly make use of them. This means that load-buffer and save-buffer can have "-" as the file to read from stdin or write to stdout. Nicholas Marriott 2010-06-28 22:10:42 +00:00
  • 07a71fd432 Store the current working directory in the session, change the default-path option to default to empty and make that mean that the stored session CWD is used. Nicholas Marriott 2010-06-27 02:56:59 +00:00
  • 26524c99f6 New option, detach-on-destroy, to set what happens to a client when the session it is attached to is destroyed. If on (the default), it is detached; if off, it is switched to the most recently active session. Nicholas Marriott 2010-06-27 00:22:22 +00:00
  • 34464da8d3 Use server_destroy_session() for kill-session. Nicholas Marriott 2010-06-26 23:55:50 +00:00
  • 42e2413978 Setting the cmdlist pointer in the bind-key to NULL to prevent it being freed after the command is executing is bogus because it may still be needed if the same command is going to be executed again (for example if you "bind-key a bind-key b ..."). Making a copy is hard, so instead add a reference count to the cmd_list. Nicholas Marriott 2010-06-26 18:20:53 +00:00
  • 0e70c8801c Update. Tiago Cunha 2010-06-22 23:37:28 +00:00
  • 617386370b Nuke vis.h. Tiago Cunha 2010-06-22 23:36:54 +00:00
  • bf1e237410 Sync OpenBSD patchset 726: Tiago Cunha 2010-06-22 23:35:20 +00:00
  • 8d3b726396 Sync OpenBSD patchset 725: Tiago Cunha 2010-06-22 23:29:05 +00:00
  • 47b335dee7 Sync OpenBSD patchset 724: Tiago Cunha 2010-06-22 23:26:18 +00:00
  • 6c76724201 Sync OpenBSD patchset 723: Tiago Cunha 2010-06-22 23:22:31 +00:00
  • 29434cb043 Sync OpenBSD patchset 722: Tiago Cunha 2010-06-22 23:21:39 +00:00
  • ef7293379f Add a choose-buffer command for easier use of the paste buffer stack. Nicholas Marriott 2010-06-21 21:44:09 +00:00
  • 386849edc1 Extend the -t:+ and -t:- window targets for next and previous window to accept an offset such as -t:+2. From Tiago Cunha. Nicholas Marriott 2010-06-21 01:46:36 +00:00
  • e63f0546a1 Having a list of winlinks->alerts for each session is stupid, just store the alert flags directly in the winlink itself. Nicholas Marriott 2010-06-21 01:27:46 +00:00
  • 447a07e9f8 Rename activity->alert in a couple of functions for consistency. Nicholas Marriott 2010-06-21 00:25:32 +00:00
  • b7454e37cb Done. Nicholas Marriott 2010-06-21 00:19:44 +00:00
  • ad466a69aa Give tmux sockets (but not the containing folder) group permissions. This allows hardlinks to the sockets to be used more easily. Nicholas Marriott 2010-06-21 00:18:57 +00:00
  • 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