summaryrefslogtreecommitdiffstats
path: root/client.c
AgeCommit message (Expand)Author
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
2009-11-02There isn't much point in doing lstat before connect so instead just do connectNicholas Marriott
2009-10-26Clear signal flags /before/ taking action and continue afterwards to reduceNicholas Marriott
2009-10-21Tidy identify message send into a separate function.Nicholas Marriott
2009-10-21Client tidying: get rid of client_ctx struct in favour of two variables inNicholas Marriott
2009-10-13Do this in a better way - print messages when exiting with nonzero.Nicholas Marriott
2009-10-13Don't print exit messages when used as a login shell, requested by martynas@ aNicholas Marriott
2009-09-23Support -c like sh(1) to execute a command, useful when tmux is a loginNicholas Marriott
2009-09-23Remove the internal tmux locking and instead detach each client and run theNicholas Marriott
2009-09-23Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the clientNicholas Marriott
2009-09-23Don't attempt to open() the tty path, rely on the client sending its stdin fdNicholas Marriott
2009-09-20Regularise some fatal messages.Nicholas Marriott
2009-09-02Fix a race condition when asking a client to take over the terminal (switchingNicholas Marriott
2009-09-02That was the wrong fix. MSG_ERROR should set the error and the client shouldNicholas Marriott
2009-09-02Set exittype for error exit as well as the error string.Nicholas Marriott
2009-08-12imsg closes the fd after sending, so dup() STDIN_FILENO before passing it toNicholas Marriott
2009-08-11Have the client pass its stdin fd to the server when identifying itself andNicholas Marriott
2009-08-11Switch tmux to use imsg. This is the last major change to make theNicholas Marriott
2009-08-08Infrastructure and commands to manage the environment for processes startedNicholas Marriott
2009-08-08Tidy function a little by using a temporary variable.Nicholas Marriott
2009-07-30There aren't many client message types or code to handle them so get rid of theNicholas Marriott
2009-07-30Tell the server when the client gets SIGTERM so it can clean up the terminalNicholas Marriott
2009-07-26Make all messages sent between the client and server fixed size.Nicholas Marriott
2009-07-23None of the server message functions return anything but 0, so make them allNicholas Marriott
2009-07-23Tidy client message return slightly: convert flags into an enum, and mergeNicholas Marriott
2009-07-22Pass a set of flags into client_init rather than just a start_serverNicholas Marriott
2009-06-25Remove some dead assignments, found by sthen with clang.Nicholas Marriott
2009-06-05Call setproctitle earlier in the client, and include the socket name. Makes itNicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott