summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/client.c
AgeCommit message (Expand)Author
2022-05-30Add an ACL list for users connecting to the tmux socket. Users may beNicholas Marriott
2022-02-28Exit on SIGHUP before attach also, GitHub issue 3084.Nicholas Marriott
2021-08-27Replace %% in command lists (by copying them) for template arguments ,Nicholas Marriott
2021-02-17Move the call to setupterm() into the client and have it pass theNicholas Marriott
2021-02-12Do not care about the server socket closing if exiting anyway.Nicholas Marriott
2021-02-11Add a couple of helper functions, and flush imsgs on exit.Nicholas Marriott
2021-02-11Move file handling protocol stuff all into file.c so it can be reusedNicholas Marriott
2021-01-17Add -N flag to never start server even if command would normally do so,Nicholas Marriott
2020-10-30With csh, a tmux client gets SIGTERM before SIGCONT when killed withNicholas Marriott
2020-09-22Fix warnings on some platforms with %llx and add a new message to handleNicholas Marriott
2020-06-18Add a flag to make a client wait for an empty line before exiting inNicholas Marriott
2020-06-10Instead of a buffer size limit on each pane, set a limit of 300 secondsNicholas Marriott
2020-06-01Instead of sending all data to control mode clients as fast as possible,Nicholas Marriott
2020-05-26Pass the stdout file descriptor from the client as well as stdin and useNicholas Marriott
2020-05-08imsg.h needs uio.h, pointed out by deraadtNicholas Marriott
2020-04-27Do not close the stdout file descriptor in control mode as it will beNicholas Marriott
2020-04-20Tidy up the terminal detection and feature code and add named sets ofNicholas Marriott
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.Nicholas Marriott
2020-04-09Some unnecessary assignments and unused variables.Nicholas Marriott
2020-03-30Add to rather than replace flags with -c.Nicholas Marriott
2020-03-12When the server socket is given by the user with -S, create it withNicholas Marriott
2020-01-29Warn if a message type that is no longer used is received.Nicholas Marriott
2019-12-16Need to include message size in the maximum buffer calculation.Nicholas Marriott
2019-12-16Instead of using large buffers in imsgs, add the data or path onto the end.Nicholas Marriott
2019-12-13Need to check in the error callback also.Nicholas Marriott
2019-12-13Do not spin waiting for exit, instead check in the write callback.Nicholas Marriott
2019-12-12Rewrite the code for reading and writing files. Now, if the client isNicholas Marriott
2019-07-26Change "lost server" message to "server exited unexpectedly", from NealNicholas Marriott
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-25Merge cmd_list_parse into cmd-parse.y so it can use the new aliasNicholas Marriott
2018-11-22Do not use PWD unless it actually matches the real working directory.Nicholas Marriott
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2018-01-01Prefer PWD for current directory if present in client, from Wei Zhao inNicholas Marriott
2017-12-19Report better error from server when socket create fails, GitHub issueNicholas Marriott
2017-12-18Do not try to put more in command message than will fit when sendingNicholas Marriott
2017-07-14Because ignore SIGCHLD early, letting signal_del restore it doesn't workNicholas Marriott
2017-07-12Move signal code into proc.c.Nicholas Marriott
2017-07-12Make shell_command a global like other stuff rather than making it anNicholas Marriott
2017-01-24Add support for custom command aliases, this is an array option whichNicholas Marriott
2017-01-23Open /dev/ptm before pledge() and save it to be used for PTMGET laterNicholas Marriott
2017-01-20Print error rather than fatal() if tcgetattr() fails, which is much moreNicholas Marriott
2017-01-16Revert WIP parts of previous I didn't mean to commit yet.Nicholas Marriott
2017-01-16getopt() has a struct option so just return to using options_entry.Nicholas Marriott
2017-01-13Add -E to detach-client to exec a command to replace the client insteadNicholas Marriott
2016-10-03Remove some dead code in cmd-move-window.c and make a load of localNicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-11-25Don't print error if none to print.Nicholas Marriott
2015-11-24Shell command from -c doesn't have to be global, pass it as an argument.Nicholas Marriott
2015-11-24Do lock failures slightly better, return a special value so we don'tNicholas Marriott
2015-11-24Actually show something (even if it not that helpful) if the serverNicholas Marriott