summaryrefslogtreecommitdiffstats
path: root/client.c
AgeCommit message (Expand)Author
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
2010-06-28Send all three of stdin, stdout, stderr from the client to the server, so thatNicholas Marriott
2010-06-05Fix problems with window sizing seen by Raghavendra D Prabhu whenNicholas Marriott
2010-06-05This ioctl(TIOCGWINSZ) call is no longer necessary, the result is neverNicholas Marriott
2010-05-12Catch SIGHUP and terminate if running as a client. This prevents clientsJoel Sing
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott