summaryrefslogtreecommitdiffstats
path: root/client.c
AgeCommit message (Expand)Author
2020-05-08imsg.h needs uio.h, pointed out by deraadtnicm
2020-04-27Do not close the stdout file descriptor in control mode as it will benicm
2020-04-20Tidy up the terminal detection and feature code and add named sets ofnicm
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.nicm
2020-04-09Some unnecessary assignments and unused variables.nicm
2020-03-30Add to rather than replace flags with -c.nicm
2020-03-12When the server socket is given by the user with -S, create it withnicm
2020-01-29Warn if a message type that is no longer used is received.nicm
2019-12-16Need to include message size in the maximum buffer calculation.nicm
2019-12-16Instead of using large buffers in imsgs, add the data or path onto the end.nicm
2019-12-13Need to check in the error callback also.nicm
2019-12-13Do not spin waiting for exit, instead check in the write callback.nicm
2019-12-12Rewrite the code for reading and writing files. Now, if the client isnicm
2019-07-26Change "lost server" message to "server exited unexpectedly", from Nealnicm
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt
2019-05-25Merge cmd_list_parse into cmd-parse.y so it can use the new aliasnicm
2018-11-22Do not use PWD unless it actually matches the real working directory.nicm
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther
2018-01-01Prefer PWD for current directory if present in client, from Wei Zhao innicm
2017-12-19Report better error from server when socket create fails, GitHub issuenicm
2017-12-18Do not try to put more in command message than will fit when sendingnicm
2017-07-14Because ignore SIGCHLD early, letting signal_del restore it doesn't worknicm
2017-07-12Move signal code into proc.c.nicm
2017-07-12Make shell_command a global like other stuff rather than making it annicm
2017-01-24Add support for custom command aliases, this is an array option whichnicm
2017-01-23Open /dev/ptm before pledge() and save it to be used for PTMGET laternicm
2017-01-20Print error rather than fatal() if tcgetattr() fails, which is much morenicm
2017-01-16Revert WIP parts of previous I didn't mean to commit yet.nicm
2017-01-16getopt() has a struct option so just return to using options_entry.nicm
2017-01-13Add -E to detach-client to exec a command to replace the client insteadnicm
2016-10-03Remove some dead code in cmd-move-window.c and make a load of localnicm
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-11-25Don't print error if none to print.nicm
2015-11-24Shell command from -c doesn't have to be global, pass it as an argument.nicm
2015-11-24Do lock failures slightly better, return a special value so we don'tnicm
2015-11-24Actually show something (even if it not that helpful) if the servernicm
2015-11-24Tidy the code that works out the socket path, and just use the full pathnicm
2015-11-24Switch a fprintf to a fatal, and wrap some long lines.nicm
2015-11-18Use __unused rather than rolling our own.nicm
2015-11-15Accidentally turned off pledge, turn it back on.nicm
2015-11-14Push stdout and stderr to clients more aggressively, and add an event tonicm
2015-10-31Don't shift version out of peerid, it is needed later.nicm
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsnicm
2015-10-28Like options, move the environ struct into environ.c.nicm
2015-10-27Move struct options into options.c.nicm
2015-10-27Break the common process set up, event loop and imsg dispatch codenicm
2015-10-18Pass current directory as a string rather than a file descriptor becausenicm
2015-10-17Add pledge "stdio unix sendfd proc exec tty" to tmux client process,nicm
2015-10-11Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptguenther
2015-09-24Don't leak fd and path on failure.nicm