Commit Graph

  • 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
  • 480211f0ee Sync OpenBSD patchset 341: Tiago Cunha 2009-09-22 14:03:11 +00:00
  • 59e65cbda2 Sync OpenBSD patchset 340: Tiago Cunha 2009-09-22 13:59:46 +00:00
  • 649b7c132d Sync OpenBSD patchset 339: Tiago Cunha 2009-09-22 13:56:02 +00:00
  • b6bc8a6828 Sync OpenBSD patchset 338: Tiago Cunha 2009-09-22 13:51:24 +00:00
  • f2d249fdc7 Sync OpenBSD patchset 337: Tiago Cunha 2009-09-22 13:49:13 +00:00
  • c28d4e41cf Sync OpenBSD patchset 336: Tiago Cunha 2009-09-22 13:45:06 +00:00
  • 96dd3e8eb9 Permit multiple prefix keys to be defined, separated by commas, for example: Nicholas Marriott 2009-09-22 12:38:10 +00:00
  • 1572e483c2 Done. Nicholas Marriott 2009-09-22 11:40:11 +00:00
  • 6fab9a3e6f Use KEYC_NONE constant instead of 0 on init. Nicholas Marriott 2009-09-21 15:32:06 +00:00
  • a448524424 Nuke -i option which isn't used anymore. Nicholas Marriott 2009-09-21 15:25:36 +00:00
  • 6b37b2d79d Use option print function for info messages as well. Nicholas Marriott 2009-09-21 14:56:03 +00:00
  • e3c3d746f7 Move common code from show-options and show-window-options into a function. Nicholas Marriott 2009-09-21 14:46:47 +00:00
  • b769aa59d3 zap trailing whitespace; Jason McIntyre 2009-09-21 07:45:10 +00:00
  • fc9107a16a Drop tiny union from option struct. Nicholas Marriott 2009-09-21 07:00:09 +00:00
  • c7a8db5543 Key options were implemented as a number so these struct members are unused. Nicholas Marriott 2009-09-21 06:55:06 +00:00
  • f8ea4f44e8 Update. Tiago Cunha 2009-09-20 22:20:51 +00:00
  • e3dcc5327a Sync OpenBSD patchset 335: Tiago Cunha 2009-09-20 22:20:10 +00:00
  • bd24bdd411 Sync OpenBSD patchset 334: Tiago Cunha 2009-09-20 22:17:03 +00:00
  • 7335ef5792 Sync OpenBSD patchset 333: Tiago Cunha 2009-09-20 22:15:32 +00:00
  • 3266fb5441 Sync OpenBSD patchset 332: Tiago Cunha 2009-09-20 22:11:27 +00:00
  • ab96772436 Delete backup files in the compat directory, as well. Tiago Cunha 2009-09-20 22:06:34 +00:00
  • 14ebcab5b0 run-shell command to run a shell command without opening a window, sending stdout to output mode. Nicholas Marriott 2009-09-20 19:15:01 +00:00
  • c7ace08193 Now working on 1.1. Nicholas Marriott 2009-09-20 19:01:01 +00:00
  • be20fc8699 This commit was manufactured by cvs2svn to create tag 'TMUX_1_0'. 1.0 no_author 2009-09-20 18:54:22 +00:00
  • f82598ca2d 1.0. Nicholas Marriott 2009-09-20 18:54:21 +00:00
  • b29d4affd8 Don't try to use tio if it is NULL. Nicholas Marriott 2009-09-20 18:31:16 +00:00
  • 6594af3729 These are done. Nicholas Marriott 2009-09-20 17:52:39 +00:00
  • 6df9ac7c37 FreeBSD tree.h is fine. Nicholas Marriott 2009-09-20 17:51:54 +00:00
  • 105ce36792 Nuke unused variables and fix stupid error message. Nicholas Marriott 2009-09-20 17:31:26 +00:00
  • 9b5f5ed8e8 Move some common and untidy code for window link/unlink into generic functions instead of duplicating it in move/link window.. Nicholas Marriott 2009-09-20 17:27:18 +00:00
  • 273f1b385c Regularise some fatal messages. Nicholas Marriott 2009-09-20 14:58:12 +00:00