aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
Commit message (Collapse)AuthorAge
...
* Put setproctitle back under HAVE_SETPROCTITLE.Nicholas Marriott2010-10-24
|
* Sync OpenBSD patchset 777:Tiago Cunha2010-10-24
| | | | | | Merge the before and after attach client code into one in client.c (instead of two in tmux.c and client.c).
* Sync OpenBSD patchset 776:Tiago Cunha2010-10-24
| | | | | Make stdio blocking again before calling shell command with -c.
* Sync OpenBSD patchset 775:Tiago Cunha2010-10-24
| | | | | | Trying to set FD_CLOEXEC on every fd is a lost cause, just use closefrom() before exec.
* Sync OpenBSD patchset 773:Tiago Cunha2010-10-24
| | | | | | Use an explicit event rather than event_once for the main event so it can be removed when the client becomes ready.
* Sync OpenBSD patchset 766:Tiago Cunha2010-10-09
| | | | | | | | | | | | | | | Two new options: - server option "exit-unattached" makes the server exit when no clients are attached, even if sessions are present; - session option "destroy-unattached" destroys a session once no clients are attached to it. These are useful for preventing tmux remaining in the background where it is undesirable and when using tmux as a login shell to keep a limit on new sessions.
* Sync OpenBSD patchset 751:Tiago Cunha2010-08-29
| | | | | | | Do not call event_del() for signals after fork(), just use sigaction() directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless.
* Sync OpenBSD patchset 734:Tiago Cunha2010-07-17
| | | | | | | | | Return the command client return code with MSG_EXIT now that MSG_ERROR and MSG_PRINT are unused. New clients should be compatible with old tmux servers but vice versa may print an error.
* Sync OpenBSD patchset 731:Tiago Cunha2010-07-02
| | | | | | | | | | 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. This is a protocol version bump so the tmux server will need to be restarted after upgrade (or an older client used).
* Sync OpenBSD patchset 730:Tiago Cunha2010-07-02
| | | | | | | 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.
* Sync OpenBSD patchset 729:Tiago Cunha2010-07-02
| | | | | | | 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.
* Sync OpenBSD patchset 727:Tiago Cunha2010-07-02
| | | | | | | | | | | | | 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. While here, also print bind-key -n and the rest of the flags properly. Fixes problem reported by mcbride@.
* Sync OpenBSD patchset 701:Tiago Cunha2010-06-05
| | | | | Colour+attribute options for status line alerts, from Alex Alexander.
* Fix bad merge, from Romain Francoise.Nicholas Marriott2010-05-16
|
* Sync OpenBSD patchset 696:Tiago Cunha2010-05-14
| | | | | | | Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francoise.
* Sync OpenBSD patchset 691:Tiago Cunha2010-05-14
| | | | | | Make the active pane border have a green foreground instead of background by default.
* Sync OpenBSD patchset 684:Tiago Cunha2010-04-22
| | | | | Catch SIGCHLD to avoid a zombie, from patrick keshishian.
* Sync OpenBSD patchset 653:Tiago Cunha2010-02-26
| | | | | | Option to set the characters considered word separators in copy mode, from Micah Cowan.
* Sync OpenBSD patchset 642:Tiago Cunha2010-02-08
| | | | | | Add an option to disable the smcup/rmcup alternate screen behaviour inside tmux. From clemens fischer.
* Sync OpenBSD patchset 638:Tiago Cunha2010-02-08
| | | | | | Change nested check to compare server socket path rather than just assuming that if $TMUX is set it is nested. From Micah Cowan.
* Sync OpenBSD patchset 637:Tiago Cunha2010-02-08
| | | | | Clean up $TMUX parsing, from Micah Cowan, tweaked by me.
* Sync OpenBSD patchset 635:Tiago Cunha2010-02-08
| | | | | | | Instead of bailing out on the first configuration file error, carry on, collecting all the errors, then start with the active window in more mode displaying them.
* Sync OpenBSD patchset 633:Tiago Cunha2010-02-05
| | | | | | Read the path from $TMUX if it is present and -L and -S are not given. Based on a diff from Micah Cowan.
* Sync OpenBSD patchset 632:Tiago Cunha2010-02-05
| | | | | | Option to display the active pane in a different colour with the display-panes command. From Paul Hoffman, thanks.
* Sync OpenBSD patchset 597:Tiago Cunha2010-01-05
| | | | | | Options to set the colour of the pane borders, with different colours for the active pane.
* Sync OpenBSD patchset 587:Tiago Cunha2009-12-16
| | | | | | New server option, escape-time, to set the timeout used to detect if escapes are alone or part of a function key or meta sequence.
* Sync OpenBSD patchset 586:Tiago Cunha2009-12-12
| | | | | Use quiet variable, and add missing sentinel to options array.
* Sync OpenBSD patchset 585:Tiago Cunha2009-12-10
| | | | | | | | | Add "server options" which are server-wide and not bound to a session or window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 567:Tiago Cunha2009-11-28
| | | | | | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output.
* Sync OpenBSD patchset 553:Tiago Cunha2009-11-19
| | | | | | | | | | Two new options, window-status-format and window-status-current-format, which allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
* Sync OpenBSD patchset 551:Tiago Cunha2009-11-19
| | | | | | | Revert to xterm-keys off by default. It was on as an experiment to see if the option could be removed, but it affects vi, so we have to keep the option, and a conservative default is better.
* Sync OpenBSD patchset 546:Tiago Cunha2009-11-19
| | | | | | | | | | Add a per-client log of status line messages displayed while that client exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
* OS X is still broken, so ask libevent not to use kqueue or poll.Nicholas Marriott2009-11-11
|
* Sync OpenBSD patchset 526:Tiago Cunha2009-11-10
| | | | | | | | | | There is no real standard for modifier plus function keys. Previously, tmux output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. xterm's method is fairly sensible and we already support it (xterm-keys), so enable it by default instead.
* Sync OpenBSD patchset 492:Tiago Cunha2009-11-08
| | | | | A couple of minor cosmetic changes.
* Sync OpenBSD patchset 491:Tiago Cunha2009-11-08
| | | | | | | | | | | | Initial changes to move tmux to libevent. This moves the client-side loops are pretty much fully over to event-based only (tmux.c and client.c) but server-side (server.c and friends) treats libevent as a sort of clever poll, waking up after every event to run various things. Moving the server stuff over to bufferevents and timers and so on will come later.
* Adjust OpenBSD patchset 487 to the portable version, and while there dropTiago Cunha2009-11-04
| | | | | malloc_options on DragonFlyBSD, and FreeBSD.
* Sync OpenBSD patchset 487:Tiago Cunha2009-11-04
| | | | | | Change declaration and use of malloc_options to be more standard, from Tim van der Molen.
* Sync OpenBSD patchset 467:Tiago Cunha2009-10-28
| | | | | tabs are better; ok nicm
* Sync OpenBSD patchset 446:Tiago Cunha2009-10-28
| | | | | | | | | | | | | | | Remove the -d flag to tmux and just use op/AX to detect default colours. Irritatingly, although op can be used to tell if a terminal supports default colours, it can't be used to set them because in some terminfo descriptions it resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so it is not possible to determine reliably what the terminal state will be afterwards. So if AX is missing and op is present, tmux just sends sgr0. Anyone using -d for a terminal who finds they actually needed it can replace it using terminal-overrides, but please let me know as it is probably an omission from terminfo.
* Sync OpenBSD patchset 436:Tiago Cunha2009-10-23
| | | | | Merge prepare_cmd into main as it is short and only called once.
* Sync OpenBSD patchset 433:Tiago Cunha2009-10-23
| | | | | | Client tidying: get rid of client_ctx struct in favour of two variables in client.c, and move the functions in client-fn.c into other files.
* 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 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 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 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 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 343:Tiago Cunha2009-09-22
| | | | | | | | | | Permit multiple prefix keys to be defined, separated by commas, for example: set -g prefix ^a,^b Any key in the list acts as the prefix. The send-prefix command always sends the first key in the list.
* Sync OpenBSD patchset 331:Tiago Cunha2009-09-19
| | | | | | | New option, set-titles-string, to allow the window title to be specified (as for status-left/right) if set-titles is on. Also only update the title when the status line is being redrawn.