summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/client.c
AgeCommit message (Expand)Author
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
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