aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Do not include paths.h, since it's OS-dependent, due to OpenBSD patchset 374.Tiago Cunha2009-10-11
|
* Sync OpenBSD patchset 374:Tiago Cunha2009-10-11
| | | | | | | | | | | | | | | | | | | 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. This brings several advantages: - tmux itself may be called from inside #() without causing the server to hang; - likewise, sleep or similar doesn't cause the server to block; - commands aren't run excessively often when redrawing; - commands shared by status-left and status-right, or used multiple times, will only be run once. run-shell and if-shell still use system()/popen() but will be changed over to use this too later.
* Update.Tiago Cunha2009-10-11
|
* Sync OpenBSD patchset 373:Tiago Cunha2009-10-11
| | | | | | | | New option, mouse-select-pane. If on, the mouse may be used to select the current pane. Suggested by sthen@ and also by someone else ages ago who I have forgotten.
* Sync OpenBSD patchset 372:Tiago Cunha2009-10-11
| | | | | | There is no point setting the scroll region up for line feeds unless scrolling is actually going to happen, so don't.
* Sync OpenBSD patchset 371:Tiago Cunha2009-10-11
| | | | | | | | | | 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. Had this around for a while, tested by a couple of people.
* Update.Tiago Cunha2009-10-11
|
* Sync OpenBSD patchset 370:Tiago Cunha2009-10-11
| | | | | | | | | | | | | | | 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. This replaces one global-only option (lock-after-time) with another (lock-server), but the default behaviour is usually preferable so there don't seem to be many alternatives. Diff/idea largely from Thomas Adam, tweaked by me.
* Sync OpenBSD patchset 369:Tiago Cunha2009-10-11
| | | | | | | | | 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. This adds a little code but should reduce annoying problems with ordering when adding new things that also need to be polled.
* +.Nicholas Marriott2009-10-11
|
* Done or not doing.Nicholas Marriott2009-10-11
|
* pcvt25 has AX but in fact the console doesn't support it.Nicholas Marriott2009-10-10
|
* Update.Nicholas Marriott2009-10-10
|
* Sync with reality.Tiago Cunha2009-10-09
|
* Sync OpenBSD patchset 368:Tiago Cunha2009-10-09
| | | | | | 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.
* Update.Tiago Cunha2009-10-09
|
* Sync OpenBSD patchset 367:Tiago Cunha2009-10-09
| | | | | | | 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.
* Sync OpenBSD patchset 366:Tiago Cunha2009-10-09
| | | | | | 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.
* Add a little.Nicholas Marriott2009-10-09
|
* Sync OpenBSD patchset 365:Tiago Cunha2009-10-07
| | | | | | Support J and K for scroll up and scroll down in copy mode with vi keys, suggested by martynas.
* Sync OpenBSD patchset 364:Tiago Cunha2009-10-07
| | | | | Fix comment.
* Remove unneeded defines that were used with the internal locking mechanism.Tiago Cunha2009-10-06
|
* Sync OpenBSD patchset 363:Tiago Cunha2009-10-06
| | | | | Accept ^? for backspace as well as BSpace.
* Update.Tiago Cunha2009-10-06
|
* Sync OpenBSD patchset 362:Tiago Cunha2009-10-06
| | | | | | | Remove scroll mode which is now redundant, copy mode should be used instead. The = key binding now does nothing.
* Sync OpenBSD patchset 361:Tiago Cunha2009-10-06
| | | | | | | 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).
* Sync OpenBSD patchset 360:Tiago Cunha2009-10-06
| | | | | | | | 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.
* Sync OpenBSD patchset 359:Tiago Cunha2009-10-05
| | | | | tweak previous;
* Sync OpenBSD patchset 358:Tiago Cunha2009-10-05
| | | | | | Get / and ? the right way round in vi mode, and use : for goto line rather than g.
* Sync OpenBSD patchset 357:Tiago Cunha2009-10-05
| | | | | | Check for already locked/suspended clients in server_lock_client rather than its callers.
* Sync OpenBSD patchset 356:Tiago Cunha2009-10-05
| | | | | | Add a key string for space ("Space") and document the names, suggested by guenther@. Also document how to bind " and ', suggested by miod@.
* Sync OpenBSD patchset 355:Tiago Cunha2009-10-05
| | | | | C-v and M-v too.
* Sync OpenBSD patchset 354:Tiago Cunha2009-10-05
| | | | | Support C-n/C-p with emacs keys in choice mode, also fix a comment.
* Update.Tiago Cunha2009-09-25
|
* Sync OpenBSD patchset 353:Tiago Cunha2009-09-25
| | | | | | New lock-client and lock-session commands to lock an individual client or all clients attached to a session respectively.
* Sync OpenBSD patchset 352:Tiago Cunha2009-09-25
| | | | | Don't allow locked or suspended clients to limit the size of active clients.
* Sync OpenBSD patchset 351:Tiago Cunha2009-09-25
| | | | | Remove PROMPT_HIDDEN code which is now unused.
* Should be bestp now.Nicholas Marriott2009-09-24
|
* Earlier versions of FreeBSD are missing RB_PREV.Nicholas Marriott2009-09-24
|
* Use __sun not __sun__ as Sun's CC doesn't define the latter.Nicholas Marriott2009-09-23
|
* Adjust OpenBSD patchset 350 to the portable version.Tiago Cunha2009-09-23
|
* Sync OpenBSD patchset 350:Tiago Cunha2009-09-23
| | | | | | | | | Support -c like sh(1) to execute a command, useful when tmux is a login shell. Suggested by halex@. This includes another protocol version increase (the last for now) so again restart the tmux server before upgrading.
* Sync OpenBSD patchset 349:Tiago Cunha2009-09-23
| | | | | | | 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.
* Sync OpenBSD patchset 348:Tiago Cunha2009-09-23
| | | | | | Don't die if the client is detaching (the tty has been closed) after waking up from locking.
* Remove HAVE_LOGIN_CAP now that the internal locking mechanism was removed, dueTiago Cunha2009-09-23
| | | | | to OpenBSD patchset 347.
* Update.Tiago Cunha2009-09-23
|
* Sync OpenBSD patchset 347:Tiago Cunha2009-09-23
| | | | | | | | | | | | | | | | 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. This means each terminal has to be unlocked individually but simplifies the code and allows the system password to be used to unlock. Note that the set-password command is gone, so it will need to be removed from configuration files, and the -U command line flag has been removed. This is the third protocol version change so again it is best to stop the tmux server before upgrading.
* Sync OpenBSD patchset 346:Tiago Cunha2009-09-23
| | | | | | | | | Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client into the server. This is another (the second of four) protocol version changes coming this morning, so again the server should be killed before upgrading.
* Sync OpenBSD patchset 345:Tiago Cunha2009-09-23
| | | | | | | | | | | 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. This bumps the protocol version, so the tmux server should be killed before upgrading.
* Sync OpenBSD patchset 344:Tiago Cunha2009-09-23
| | | | | | Be more careful about what flags are cleared when opening the terminal, otherwise the opened/started flags are cleared and the terminal never released.