summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/client.c
AgeCommit message (Expand)Author
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
2015-11-24Tidy the code that works out the socket path, and just use the full pathNicholas Marriott
2015-11-24Switch a fprintf to a fatal, and wrap some long lines.Nicholas Marriott
2015-11-18Use __unused rather than rolling our own.Nicholas Marriott
2015-11-15Accidentally turned off pledge, turn it back on.Nicholas Marriott
2015-11-14Push stdout and stderr to clients more aggressively, and add an event toNicholas Marriott
2015-10-31Don't shift version out of peerid, it is needed later.Nicholas Marriott
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
2015-10-28Like options, move the environ struct into environ.c.Nicholas Marriott
2015-10-27Move struct options into options.c.Nicholas Marriott
2015-10-27Break the common process set up, event loop and imsg dispatch codeNicholas Marriott
2015-10-18Pass current directory as a string rather than a file descriptor becauseNicholas Marriott
2015-10-17Add pledge "stdio unix sendfd proc exec tty" to tmux client process,Nicholas Marriott
2015-10-11Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptPhilip Guenther
2015-09-24Don't leak fd and path on failure.Nicholas Marriott
2015-09-09No need to keep global options around for client which doesn't use them.Nicholas Marriott
2015-08-30Login shell can be a client flag, and move the exec code into client.c.Nicholas Marriott
2015-08-30Event base does not need to be global.Nicholas Marriott
2015-07-13Ignore environment variables that are too long to send to the server.Nicholas Marriott
2015-06-14Add a format for client PID (client_pid) and server PID (pid). Diff forNicholas Marriott
2015-06-04Move the nested check from client to server and compare the client ttyNicholas Marriott
2015-04-24Set up signal handler earlier so that we don't get zombies, reported byNicholas Marriott
2015-04-21Simplify error messages when socket connect fails, suggested by "Karthik K".Nicholas Marriott
2015-03-31Fix some format specifier nits, from Ben Boeckel.Nicholas Marriott
2014-10-20Tidy up some includes.Nicholas Marriott
2014-10-01Call waitpid on SIGCHLD even if client not attached, it is possible (onNicholas Marriott
2014-09-01Various minor style and spacing nits.Nicholas Marriott
2014-07-21lockf is entirely useless and it was a mistake to change to it, go backNicholas Marriott
2014-07-13An EOF is a good reason to close a connection.Kenneth R Westerback
2014-04-29fcntl.h is still needed here.Nicholas Marriott
2014-04-17Remove some unnecessary includes and fix a typo.Nicholas Marriott
2014-01-09Fix a memory/fd leak reported by Tiago Cunha.Nicholas Marriott
2014-01-09Three small changes from Tiago Cunha:Nicholas Marriott
2013-11-13from nicm: : handle msgbuf_write() returning EAGAINSebastian Benoit
2013-10-10Use format_get_command() and some spacing tweaks.Nicholas Marriott
2013-10-10We accidentally haven't been using $TMUX to work out the session for aNicholas Marriott
2013-10-10Show session name in detached message. Requested by somebody a fewNicholas Marriott
2013-10-10Don't look at string[length - 1] if length == 0.Nicholas Marriott
2013-10-10Alter how tmux handles the working directory to internally use fileNicholas Marriott
2013-10-10Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.Nicholas Marriott
2013-10-10Instead of fixed size buffers for some messages, send only the stringNicholas Marriott
2013-10-10Merge IDENTIFY_* flags with CLIENT_* flags.Nicholas Marriott
2013-10-10Remove CMD_SENDENVIRON.Nicholas Marriott
2013-04-22Use lockf which is more portable than flock, from Dagobert Michelsen.Nicholas Marriott
2013-03-25We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately whenNicholas Marriott