Commit Graph

  • bc236109fd Sync OpenBSD patchset 374: Tiago Cunha 2009-10-11 23:55:26 +00:00
  • 07ad6da7e8 Update. Tiago Cunha 2009-10-11 23:47:02 +00:00
  • ea1721bcb0 Sync OpenBSD patchset 373: Tiago Cunha 2009-10-11 23:46:02 +00:00
  • 2486a36af3 Sync OpenBSD patchset 372: Tiago Cunha 2009-10-11 23:39:37 +00:00
  • 6a1ebb11df Sync OpenBSD patchset 371: Tiago Cunha 2009-10-11 23:38:16 +00:00
  • 1fd3a405e6 Update. Tiago Cunha 2009-10-11 23:31:02 +00:00
  • 91e4dc83fc Sync OpenBSD patchset 370: Tiago Cunha 2009-10-11 23:30:28 +00:00
  • a4ea6a9d19 Sync OpenBSD patchset 369: Tiago Cunha 2009-10-11 23:25:44 +00:00
  • 0a2a354499 Like linefeed, don't set the scroll region for reverse index unless it will be needed. Nicholas Marriott 2009-10-11 22:35:10 +00:00
  • 0e5f20a97d +. Nicholas Marriott 2009-10-11 22:06:25 +00:00
  • b4ef3e5071 punctuation fix; Jason McIntyre 2009-10-11 14:12:10 +00:00
  • bc67e01e52 Done or not doing. Nicholas Marriott 2009-10-11 12:46:40 +00:00
  • fbb030d7f7 Set the current window pointer to NULL when killing a winlink that is to be replaced with link-window -k. This prevents it being pushed onto the last window stack and causing a use-after-free. Nicholas Marriott 2009-10-11 10:39:27 +00:00
  • 64b5f39656 Add a pipe-pane command to allow a pane to be piped to a shell command, for example: Nicholas Marriott 2009-10-11 10:04:27 +00:00
  • 325e20d76d Convert if-shell over to the background job framework as well. Nicholas Marriott 2009-10-11 09:10:57 +00:00
  • 88f3ffe86e Remove a debugging leftover and add copyright. Nicholas Marriott 2009-10-11 09:04:33 +00:00
  • cebc988dd4 Switch run-shell over to queue the command in the background like #(). Nicholas Marriott 2009-10-11 08:58:05 +00:00
  • abedfa77da There isn't much point in having a free function if it isn't used. Nicholas Marriott 2009-10-11 07:30:07 +00:00
  • ff4b4e667a Collect status from dead jobs and don't invoke the callback until both all input (the socket is closed) and status is available. Nicholas Marriott 2009-10-11 07:20:16 +00:00
  • 4bc0f6e7e9 Clean up by introducing a wrapper struct for mouse clicks rather than passing three u_chars around. Nicholas Marriott 2009-10-11 07:01:10 +00:00
  • f68ade7b1d Braek some bits out of server_fill_client() that aren't really related to polling into their own function. Nicholas Marriott 2009-10-11 00:53:14 +00:00
  • 095ecf2d90 Put all jobs on a global all_jobs list and use that in server.c instead of running through all the clients. Nicholas Marriott 2009-10-10 18:42:14 +00:00
  • b7c364a853 -scroll mode which is dead. Nicholas Marriott 2009-10-10 17:39:55 +00:00
  • 5aa49e695e Split list-panes off from list-windows. Nicholas Marriott 2009-10-10 17:19:38 +00:00
  • eba57d84a6 pcvt25 has AX but in fact the console doesn't support it. Nicholas Marriott 2009-10-10 17:08:57 +00:00
  • 2988c594cc Accept key and mouse input for keys in zombified windows if they are in a mode.. Nicholas Marriott 2009-10-10 15:29:34 +00:00
  • 9ed62eeb91 When a window is zombified and automatic-rename is on, append [dead] to the name. Nicholas Marriott 2009-10-10 15:23:13 +00:00
  • 3d1936e9c7 Update. Nicholas Marriott 2009-10-10 15:17:50 +00:00
  • 6bca92db4d Rather than running status-left, status-right and window title #() with popen immediately every redraw, queue them up and run them in the background, starting each once every status-interval. The actual status line uses the output from the last run. Nicholas Marriott 2009-10-10 15:03:01 +00:00
  • 4658c063d5 New option, mouse-select-pane. If on, the mouse may be used to select the current pane. Nicholas Marriott 2009-10-10 14:51:16 +00:00
  • 3a20a05a49 There is no point setting the scroll region up for line feeds unless scrolling is actually going to happen, so don't. Nicholas Marriott 2009-10-10 10:36:46 +00:00
  • 9dd72b9583 Add "grouped sessions" which have independent name, options, current window and so on but where the linked windows are synchronized (ie creating, killing windows and so on are mirrored between the sessions). A grouped session may be created by passing -t to new-session. Nicholas Marriott 2009-10-10 10:02:48 +00:00
  • b7d031cc92 Support for individual session idle time locking. May be enabled by turning off the lock-server option (it is on by default). When this is off, each session locks when it has been idle for the lock-after-time setting. When on, the entire server locks when ALL sessions have been idle for their individual lock-after-time settings. Nicholas Marriott 2009-10-10 09:46:11 +00:00
  • 93b353d353 Instead of passing a struct pollfd ** around through various functions, build them into a tree and then convert into a flat poll array before and after poll. Nicholas Marriott 2009-10-10 09:31:39 +00:00
  • 932f0a757f Sync with reality. Tiago Cunha 2009-10-09 22:55:43 +00:00
  • cddb781127 Sync OpenBSD patchset 368: Tiago Cunha 2009-10-09 13:11:42 +00:00
  • 220f3f2384 Update. Tiago Cunha 2009-10-09 13:07:29 +00:00
  • 9ac062acef Sync OpenBSD patchset 367: Tiago Cunha 2009-10-09 13:07:04 +00:00
  • 765a38e534 Sync OpenBSD patchset 366: Tiago Cunha 2009-10-09 13:03:28 +00:00
  • bf38a311da The UTF-8 detection idea doesn't work and I am reasonably happy with the current methods, so remove the (already #ifdef 0'd) code. Nicholas Marriott 2009-10-09 07:33:12 +00:00
  • c2e78a3104 Add a little. Nicholas Marriott 2009-10-09 07:30:27 +00:00
  • 3af09ac946 Add a simple synchronize-panes window option: when set, all input to any pane that is part of the window is also sent to all other panes in the same window. Suggested by several, most recently Tomasz Pajor. Nicholas Marriott 2009-10-09 07:27:00 +00:00
  • d528184836 Be less aggressive about turning the cursor off, only explicitly turn it off when tmux is redrawing, otherwise leave in the state set by the application. Nicholas Marriott 2009-10-09 07:23:28 +00:00
  • 1eb665832a Sync OpenBSD patchset 365: Tiago Cunha 2009-10-07 17:13:59 +00:00
  • 64e9d07b1b Sync OpenBSD patchset 364: Tiago Cunha 2009-10-07 17:10:44 +00:00
  • 2cb2bb8257 Support J and K for scroll up and scroll down in copy mode with vi keys, suggested by martynas. Nicholas Marriott 2009-10-07 15:58:40 +00:00
  • 56ddd3c0b1 Fix comment. Nicholas Marriott 2009-10-07 07:02:40 +00:00
  • d23635f66d Remove unneeded defines that were used with the internal locking mechanism. Tiago Cunha 2009-10-06 15:32:21 +00:00
  • 4640627f6e Sync OpenBSD patchset 363: Tiago Cunha 2009-10-06 14:15:45 +00:00
  • 83bf166a1f Update. Tiago Cunha 2009-10-06 14:14:40 +00:00
  • f881502f84 Sync OpenBSD patchset 362: Tiago Cunha 2009-10-06 14:14:07 +00:00
  • 32291172bf Sync OpenBSD patchset 361: Tiago Cunha 2009-10-06 14:10:10 +00:00
  • eb7f8b6d33 Sync OpenBSD patchset 360: Tiago Cunha 2009-10-06 14:00:50 +00:00
  • 82efcc32ec Accept ^? for backspace as well as BSpace. Nicholas Marriott 2009-10-06 07:32:26 +00:00
  • 35ca994ba2 Remove scroll mode which is now redundant, copy mode should be used instead. Nicholas Marriott 2009-10-06 07:19:32 +00:00
  • 9400fdac77 Make C-Up and C-Down in copy mode scroll the screen up and down one line without moving the cursor, like Up and Down in scroll mode (which will shortly disappear). Nicholas Marriott 2009-10-06 07:09:00 +00:00
  • 4ca2200d83 If no target client is specified to commands which accept one, try to guess the current client, in a similar manner to how sessions already work: if the current session can be established and has only one client, use that; otherwise use the most recently created client. Nicholas Marriott 2009-10-05 18:30:54 +00:00
  • d8c0634524 Sync OpenBSD patchset 359: Tiago Cunha 2009-10-05 18:26:00 +00:00
  • 11e97f4eb0 Sync OpenBSD patchset 358: Tiago Cunha 2009-10-05 18:25:05 +00:00
  • 813d78e46a Sync OpenBSD patchset 357: Tiago Cunha 2009-10-05 18:23:31 +00:00
  • 2931277608 Sync OpenBSD patchset 356: Tiago Cunha 2009-10-05 18:21:58 +00:00
  • 6b3ec44ee9 Sync OpenBSD patchset 355: Tiago Cunha 2009-10-05 18:19:52 +00:00
  • 19e502c64e Sync OpenBSD patchset 354: Tiago Cunha 2009-10-05 18:18:50 +00:00
  • 45043ebf3e tweak previous; Jason McIntyre 2009-10-04 11:33:35 +00:00
  • d42b86d22b Get / and ? the right way round in vi mode, and use : for goto line rather than g. Nicholas Marriott 2009-10-04 11:18:26 +00:00
  • c734789b18 Check for already locked/suspended clients in server_lock_client rather than its callers. Nicholas Marriott 2009-10-04 10:55:30 +00:00
  • 205857b232 Add a key string for space ("Space") and document the names, suggested by guenther@. Also document how to bind " and ', suggested by miod@. Nicholas Marriott 2009-10-04 08:50:05 +00:00
  • 97ca5711f9 C-v and M-v too. Nicholas Marriott 2009-10-04 08:26:41 +00:00
  • 123ae9e103 Support C-n/C-p with emacs keys in choice mode, also fix a comment. Nicholas Marriott 2009-10-04 08:23:01 +00:00
  • a9a0cd8297 Update. Tiago Cunha 2009-09-25 17:52:26 +00:00
  • 88c3b9c989 Sync OpenBSD patchset 353: Tiago Cunha 2009-09-25 17:51:39 +00:00
  • 804b8696a4 Sync OpenBSD patchset 352: Tiago Cunha 2009-09-25 17:47:42 +00:00
  • b5d23ef38b Sync OpenBSD patchset 351: Tiago Cunha 2009-09-25 17:45:46 +00:00
  • 8fa1858a2c New lock-client and lock-session commands to lock an individual client or all clients attached to a session respectively. Nicholas Marriott 2009-09-24 14:17:09 +00:00
  • c190a65c69 Should be bestp now. Nicholas Marriott 2009-09-24 12:30:22 +00:00
  • bf4b27e679 Earlier versions of FreeBSD are missing RB_PREV. Nicholas Marriott 2009-09-24 07:15:22 +00:00
  • 1764ef81ef Don't allow locked or suspended clients to limit the size of active clients. Nicholas Marriott 2009-09-24 07:02:56 +00:00
  • d73516c0a9 Use __sun not __sun__ as Sun's CC doesn't define the latter. Nicholas Marriott 2009-09-23 16:09:12 +00:00
  • ac95da3afc Adjust OpenBSD patchset 350 to the portable version. Tiago Cunha 2009-09-23 15:20:16 +00:00
  • 5be3fb86b9 Sync OpenBSD patchset 350: Tiago Cunha 2009-09-23 15:18:56 +00:00
  • 4dd332c95e Sync OpenBSD patchset 349: Tiago Cunha 2009-09-23 15:10:37 +00:00
  • fea7bda58f Sync OpenBSD patchset 348: Tiago Cunha 2009-09-23 15:08:21 +00:00
  • 88f689e167 Remove HAVE_LOGIN_CAP now that the internal locking mechanism was removed, due to OpenBSD patchset 347. Tiago Cunha 2009-09-23 15:05:03 +00:00
  • 5743da5588 Update. Tiago Cunha 2009-09-23 15:01:10 +00:00
  • 1310ea2729 Sync OpenBSD patchset 347: Tiago Cunha 2009-09-23 15:00:09 +00:00
  • 2acf349d4e Sync OpenBSD patchset 346: Tiago Cunha 2009-09-23 14:44:02 +00:00
  • fecf8dc44e Remove PROMPT_HIDDEN code which is now unused. Nicholas Marriott 2009-09-23 14:42:48 +00:00
  • acedc2dcf2 Sync OpenBSD patchset 345: Tiago Cunha 2009-09-23 14:39:30 +00:00
  • c40d8cbda4 Sync OpenBSD patchset 344: Tiago Cunha 2009-09-23 14:33:13 +00:00
  • 07bd160861 +. Nicholas Marriott 2009-09-23 12:07:08 +00:00
  • 9200a0be7a Support -c like sh(1) to execute a command, useful when tmux is a login shell. Suggested by halex@. Nicholas Marriott 2009-09-23 12:03:30 +00:00
  • 18ea820cb0 On SIGTERM, just abandon any suspended/locked clients and leave them to it, otherwise the server will hang around (refusing new connections) until they exit properly. Nicholas Marriott 2009-09-23 08:21:57 +00:00
  • 631a618238 Don't die if the client is detaching (the tty has been closed) after waking up from locking. Nicholas Marriott 2009-09-23 07:25:31 +00:00
  • b01dcd7971 Remove the internal tmux locking and instead detach each client and run the command specified by a new option "lock-command" (by default "lock -np") in each client. Nicholas Marriott 2009-09-23 06:18:47 +00:00
  • 962fa20b36 Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client into the server. Nicholas Marriott 2009-09-23 06:12:58 +00:00
  • 64caf59e84 Don't attempt to open() the tty path, rely on the client sending its stdin fd with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init instead of tty_open to prevent them leaking into child processes if any are created between the two calls. Nicholas Marriott 2009-09-23 06:05:02 +00:00
  • 2c9d4dfdd4 Tweak tparm() to make Solaris' backward userland happy and remove the -I mess in configure which tried to deal with the fallout from their horrible package management. Nicholas Marriott 2009-09-22 19:20:08 +00:00
  • 0a9005678d Be more careful about what flags are cleared when opening the terminal, otherwise the opened/started flags are cleared and the terminal never released. Nicholas Marriott 2009-09-22 19:11:52 +00:00
  • df7b68480c Sync OpenBSD patchset 343: Tiago Cunha 2009-09-22 14:22:21 +00:00
  • 31ccf2f813 Sync OpenBSD patchset 342: Tiago Cunha 2009-09-22 14:06:40 +00:00