summaryrefslogtreecommitdiffstats
path: root/client.c
AgeCommit message (Expand)Author
2015-09-09No need to keep global options around for client which doesn't use them.nicm
2015-08-30Login shell can be a client flag, and move the exec code into client.c.nicm
2015-08-30Event base does not need to be global.nicm
2015-07-13Ignore environment variables that are too long to send to the server.nicm
2015-06-14Add a format for client PID (client_pid) and server PID (pid). Diff fornicm
2015-06-04Move the nested check from client to server and compare the client ttynicm
2015-04-24Set up signal handler earlier so that we don't get zombies, reported bynicm
2015-04-21Simplify error messages when socket connect fails, suggested by "Karthik K".nicm
2015-03-31Fix some format specifier nits, from Ben Boeckel.nicm
2014-10-20Tidy up some includes.nicm
2014-10-01Call waitpid on SIGCHLD even if client not attached, it is possible (onnicm
2014-09-01Various minor style and spacing nits.nicm
2014-07-21lockf is entirely useless and it was a mistake to change to it, go backnicm
2014-07-13An EOF is a good reason to close a connection.krw
2014-04-29fcntl.h is still needed here.nicm
2014-04-17Remove some unnecessary includes and fix a typo.nicm
2014-01-09Fix a memory/fd leak reported by Tiago Cunha.nicm
2014-01-09Three small changes from Tiago Cunha:nicm
2013-11-13from nicm: : handle msgbuf_write() returning EAGAINbenno
2013-10-10Use format_get_command() and some spacing tweaks.nicm
2013-10-10We accidentally haven't been using $TMUX to work out the session for anicm
2013-10-10Show session name in detached message. Requested by somebody a fewnicm
2013-10-10Don't look at string[length - 1] if length == 0.nicm
2013-10-10Alter how tmux handles the working directory to internally use filenicm
2013-10-10Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.nicm
2013-10-10Remove CMD_SENDENVIRON.nicm
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
2013-03-25Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott
2013-03-25Send DSC 1000p at the beginning of a -CC client's lifetime and ST andNicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2012-09-03If stdin in the client is enable immediately, tmux will eat anythingNicholas Marriott
2012-08-27Change a log to fprintf that was missed last time around, from Tiago Cunha.Nicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-06-18Actually write all the data to stdout/stderr.Nicholas Marriott
2012-06-18Add a skeleton mode to tmux (called "control mode") that let's tmuxNicholas Marriott
2012-05-25Simplify logging and just fprintf(stderr, ...) for early errors.Nicholas Marriott
2012-05-21Instead of passing stdin/stdout/stderr file descriptors over imsg andNicholas Marriott
2012-04-23Add missing prototype.Nicholas Marriott
2012-04-23Use an enum for client exit reasons, from George Nachman.Nicholas Marriott
2012-03-24Add sys/file.h.Nicholas Marriott
2012-03-19Move MSG_IDENTIFY to the last sent by the client, this will be needed byNicholas Marriott
2012-03-09Use a lock file and flock() to serialize server start, avoids problemsNicholas Marriott
2011-03-03Add a -P option to detach to HUP the client's parent process (usuallyNicholas Marriott
2011-01-08Move all calls to fcntl(...O_NONBLOCK) into a function and clear theNicholas Marriott
2010-10-18Merge the before and after attach client code into one in client.cNicholas Marriott
2010-10-16Trying to set FD_CLOEXEC on every fd is a lost cause, just useNicholas Marriott
2010-08-23Can't call event_del() without event_set() first - so call event_set()Nicholas Marriott
2010-08-22MSG_EXIT can now have a return code in the message, so check for thatNicholas Marriott