aboutsummaryrefslogtreecommitdiff
path: root/client.c
Commit message (Collapse)AuthorAge
...
| * Add -E to detach-client to exec a command to replace the client insteadnicm2017-01-13
| | | | | | | | of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
* | Merge branch 'obsd-master'Thomas Adam2016-10-04
|\|
| * Remove some dead code in cmd-move-window.c and make a load of localnicm2016-10-03
| | | | | | | | functions static.
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-25
|\| | | | | | | | | | | | | Conflicts: log.c proc.c tmux.c
| * Don't print error if none to print.nicm2015-11-25
| |
| * Shell command from -c doesn't have to be global, pass it as an argument.nicm2015-11-24
| |
| * Do lock failures slightly better, return a special value so we don'tnicm2015-11-24
| | | | | | | | unlink the wrong thing.
| * Actually show something (even if it not that helpful) if the servernicm2015-11-24
| | | | | | | | | | fails to start (for example if it can't create the socket), rather than hanging or showing nothing.
| * Tidy the code that works out the socket path, and just use the full pathnicm2015-11-24
| | | | | | | | in the global socket_path rather than copying it.
| * Switch a fprintf to a fatal, and wrap some long lines.nicm2015-11-24
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-18
|\|
| * Use __unused rather than rolling our own.nicm2015-11-18
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-15
|\| | | | | | | | | | | Conflicts: server.c tmux.c
| * Accidentally turned off pledge, turn it back on.nicm2015-11-15
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-14
|\| | | | | | | | | | | Conflicts: server.c tmux.c
| * Push stdout and stderr to clients more aggressively, and add an event tonicm2015-11-14
| | | | | | | | continue if the send fails.
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\| | | | | | | | | Conflicts: server.c
| * Don't shift version out of peerid, it is needed later.nicm2015-10-31
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\|
| * Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-31
| | | | | | | | | | | | | | | | | | around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
* | Merge branch 'obsd-master'Thomas Adam2015-10-28
|\|
| * Like options, move the environ struct into environ.c.nicm2015-10-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
| * Move struct options into options.c.nicm2015-10-27
| |
| * Break the common process set up, event loop and imsg dispatch codenicm2015-10-27
| | | | | | | | | | between server and client out into a separate internal API. This will make it easier to add another process.
* | Merge branch 'obsd-master'Thomas Adam2015-10-18
|\|
| * Pass current directory as a string rather than a file descriptor becausenicm2015-10-18
| | | | | | | | pledge doesn't let us pass directory file descriptors.
* | __OpenBSD__ around pledge().Nicholas Marriott2015-10-17
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-17
|\|
| * Add pledge "stdio unix sendfd proc exec tty" to tmux client process,nicm2015-10-17
| | | | | | | | "sendfd" is dropped after first message from the server.
* | Merge branch 'obsd-master'Thomas Adam2015-10-11
|\|
| * Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptguenther2015-10-11
| | | | | | | | | | | | sizeof(struct sockaddr_un), so do the simple, portable thing ok beck@ deraadt@
* | Merge branch 'obsd-master'Thomas Adam2015-09-24
|\|
| * Don't leak fd and path on failure.nicm2015-09-24
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-09
|\|
| * No need to keep global options around for client which doesn't use them.nicm2015-09-09
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-06
|\| | | | | | | | | | | Conflicts: cfg.c tmux.c
| * 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-07-13
|\|
| * Ignore environment variables that are too long to send to the server.nicm2015-07-13
| |
* | Merge branch 'obsd-master'Thomas Adam2015-06-14
|\|
| * Add a format for client PID (client_pid) and server PID (pid). Diff fornicm2015-06-14
| | | | | | | | client_pid from Thomas Adam.
* | Merge branch 'obsd-master'Thomas Adam2015-06-07
|\| | | | | | | | | | | | | Conflicts: client.c tmux.1 tmux.c
| * Move the nested check from client to server and compare the client ttynicm2015-06-04
| | | | | | | | | | name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX.
* | Merge branch 'obsd-master'Thomas Adam2015-04-25
|\|
| * Set up signal handler earlier so that we don't get zombies, reported bynicm2015-04-24
| | | | | | | | sobrado@.
* | Merge branch 'obsd-master'Thomas Adam2015-04-22
|\|