aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
Commit message (Collapse)AuthorAge
...
* | __OpenBSD__ around pledge()Thomas Adam2015-10-25
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\|
| * Let's see if anyone screams about not being able to specify $TMPDIRderaadt2015-10-25
| | | | | | | | | | | | | | | | | | for their tmux sockets. (Over the years, I have seen $TMPDIR set up worse than /tmp many times, and don't know how this practice infected other parts of the system. Nothing uses tmpdir(3), nor a huge-temporary-file program like sort.) ok nicm
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\| | | | | | | | | Conflicts: cmd-find.c
| * tmux can call pledge() in main with large set and then reduce itnicm2015-10-23
| | | | | | | | | | slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps".
* | Some header fixes.Nicholas Marriott2015-10-15
| |
* | Add missing <time.h>Thomas Adam2015-09-14
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-14
|\|
| * Move tzset() from log_open to main.nicm2015-09-14
| |
* | osdep_event_init not event_init.Nicholas Marriott2015-09-10
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-06
|\| | | | | | | | | | | Conflicts: cfg.c tmux.c
| * 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.