aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
Commit message (Collapse)AuthorAge
...
| * A couple of style nits.nicm2015-09-03
| |
| * Work out config file when needed not at startup.nicm2015-09-01
| |
| * Path from $TMUX does not need to be global anymore.nicm2015-08-30
| |
| * Login shell can be a client flag, and move the exec code into client.c.nicm2015-08-30
| |
| * Event base does not need to be global.nicm2015-08-30
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-30
|\| | | | | | | | | | | Conflicts: Makefile format.c
| * Some style nits and dead assignments.nicm2015-08-30
| |
* | Merge branch 'obsd-master'Thomas Adam2015-07-20
|\|
| * Add an option (history-file) for a file to save/restore command promptnicm2015-07-20
| | | | | | | | history, from Olof-Joachim Frahm.
* | Check for flock in libbsd for AIX, and remove some getopt.h includes. From JNicholas Marriott2015-07-13
| | | | | | | | Raynor.
* | Merge branch 'obsd-master'Thomas Adam2015-06-07
|\| | | | | | | | | | | | | Conflicts: client.c tmux.1 tmux.c
| * tweak SYNOPSIS and usage();jmc2015-06-04
| |
* | Merge branch 'obsd-master'Thomas Adam2015-02-06
|\| | | | | | | | | Conflicts: cmd-pipe-pane.c
| * Make a tmux-%u directory under TMUX_TMPDIR, like TMPDIR.nicm2015-01-19
| |
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Tidy up some includes.nicm2014-10-20
| |
* | Merge branch 'obsd-master'Thomas Adam2014-04-23
|\| | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Remove the "info" message mechanism, this was only used for about fivenicm2014-04-17
| | | | | | | | | | | | mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
| * Remove log_debug2 as well and simplify log.c.nicm2014-03-31
| |
| * Leftovers from removing 88 colour support, from Theo Buehler.nicm2014-02-16
| |
* | Remove log_debug2 as well and simplify log.c.Nicholas Marriott2014-03-07
| |
* | Remove references to 88colour supportThomas Adam2014-02-05
| | | | | | | | Tmux doesn't directly support terminals with 88 colours directly anymore.
* | Merge branch 'obsd-master'Thomas2014-01-20
|\|
| * Do not attempt to read .tmux.conf if we can't figure out a homenicm2014-01-15
| | | | | | | | directory, from Tiago Cunha.
| * Three small changes from Tiago Cunha:nicm2014-01-09
| | | | | | | | | | | | - Check for truncation when copying path. - Don't need to use a temporary buffer in screen_set_title. - Include strerror in output when connecting to server fails.
| * We accidentally haven't been using $TMUX to work out the session for anicm2013-10-10
| | | | | | | | | | | | while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
| * Alter how tmux handles the working directory to internally use filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
| * Merge IDENTIFY_* flags with CLIENT_* flags.nicm2013-10-10
| |
| * Don't treat TMUX_TMPDIR as a potential filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | The point of setting TMUX_TMPDIR is to then make any labels from -L go to that directory. In the case of makesocketpath() with no TMUX_TMPDIR set, would set both the path and the default socket to a file. The checking of the permissions on the file worked fine in that case, but when TMUX_TMPDIR is set, won't work on a directory. This fixes the problem by ensuring the check on the permissions is performed on directories only. By Thomas Adam.
| * Fix previous not to leak fd on failure, whoops.nicm2013-10-05
| |
| * Use open(".")/fchdir() to save and restore current directory rather thannicm2013-10-05
| | | | | | | | getcwd()/chdir().
| * Rename global configuration define.Nicholas Marriott2013-04-24
| |
* | We accidentally haven't been using $TMUX to work out the session for a whileNicholas Marriott2013-10-06
| | | | | | | | | | and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
* | Alter how tmux handles the working directory to internally use file descriptorsNicholas Marriott2013-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '', do: bind c neww -c '#{pane_current_path}' The equivalent of default-path '~' is left as an exercise for the reader. This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
* | Merge IDENTIFY_* flags with CLIENT_* flags.Nicholas Marriott2013-10-06
| |
* | Fix previous not to lead fd on failure.Nicholas Marriott2013-10-05
| |
* | Use open(".")/fchdir() to save and restore current directory rather thanNicholas Marriott2013-10-05
| | | | | | | | getcwd()/chdir().
* | Don't treat TMUX_TMPDIR as a potential fileThomas2013-09-30
| | | | | | | | | | | | | | | | | | | | | | The point of setting TMUX_TMPDIR is to then make any labels from -L go to that directory. In the case of makesocketpath() with no TMUX_TMPDIR set, would set both the path and the default socket to a file. The checking of the permissions on the file worked fine in that case, but when TMUX_TMPDIR is set, won't work on a directory. This fixes the problem by ensuring the check on the permissions is performed on directories only.
* | Use sysconfdir for the location of global tmux.conf (but default it to /etc),Nicholas Marriott2013-04-24
| | | | | | | | based on changes from Dagobert Michelsen.
* | -paths.h. Fixes Solaris, from Dagobert Michelsen.Nicholas Marriott2013-04-22
| |
* | Add back missing -V flagThomas Adam2013-04-14
| | | | | | | | This went walkies from a previous git commit.
* | Merge branch 'obsd-master'Thomas Adam2013-04-13
|\| | | | | | | | | Conflicts: tmux.c
| * Call setlocale(LC_TIME) at startup.Nicholas Marriott2013-04-11
| |
| * Add TMUX_TMPDIR variable to put the socket directory outsideNicholas Marriott2013-03-27
| | | | | | | | TMPDIR. From Ben Boeckel.
| * Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott2013-03-25
| | | | | | | | to use it, extended from a diff from George Nachman.
| * Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
* | Rename session idx to session id throughout and add $ prefix to targets to useNicholas Marriott2013-03-07
| | | | | | | | it, extended from a diff from George Nachman.
* | Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.