summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/client.c
AgeCommit message (Expand)Author
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
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
2009-11-13imsg_read returns ssize_t not int, pointed out by lint via deraadt.Nicholas Marriott
2009-11-10Don't return 1 unless there was actually a problem (signal/lost server) ratherNicholas Marriott
2009-11-04Move some common code into a function.Nicholas Marriott
2009-11-04Initial changes to move tmux to libevent.Nicholas Marriott
2009-11-02Leftover unused variable :-/.Nicholas Marriott