- 29c29e7 Add a format for client PID (client_pid) and server PID (pid). Diff for by nicm · 9 years ago
- 6b21296 Move the nested check from client to server and compare the client tty by nicm · 9 years ago
- a5a873d Set up signal handler earlier so that we don't get zombies, reported by by nicm · 10 years ago
- 7a72eff Simplify error messages when socket connect fails, suggested by "Karthik K". by nicm · 10 years ago
- 02df860 Fix some format specifier nits, from Ben Boeckel. by nicm · 10 years ago
- 900f6fc Tidy up some includes. by nicm · 10 years ago
- 045d0c3 Call waitpid on SIGCHLD even if client not attached, it is possible (on by nicm · 10 years ago
- 4e956d5 Various minor style and spacing nits. by nicm · 10 years ago
- 8e4ae12 lockf is entirely useless and it was a mistake to change to it, go back by nicm · 10 years ago
- 2b67907 An EOF is a good reason to close a connection. by krw · 10 years ago
- 5b2c815 fcntl.h is still needed here. by nicm · 11 years ago
- bce9527 Remove some unnecessary includes and fix a typo. by nicm · 11 years ago
- b185449 Fix a memory/fd leak reported by Tiago Cunha. by nicm · 11 years ago
- adc1f21 Three small changes from Tiago Cunha: by nicm · 11 years ago
- 7624800 from nicm: : handle msgbuf_write() returning EAGAIN by benno · 11 years ago
- 99e3cbc Use format_get_command() and some spacing tweaks. by nicm · 11 years ago
- c1ccefc We accidentally haven't been using $TMUX to work out the session for a by nicm · 11 years ago
- 7936ce3 Show session name in detached message. Requested by somebody a few by nicm · 11 years ago
- b8b85fb Don't look at string[length - 1] if length == 0. by nicm · 11 years ago
- 282c5f9 Alter how tmux handles the working directory to internally use file by nicm · 11 years ago
- 10c3843 Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048. by nicm · 11 years ago
- 6c09301 Remove CMD_SENDENVIRON. by nicm · 11 years ago
- d89b35e Use lockf which is more portable than flock, from Dagobert Michelsen. by Nicholas Marriott · 12 years ago
- 88b92df We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when by Nicholas Marriott · 12 years ago
- 6fee3e9 Rename session idx to session id throughout and add $ prefix to targets by Nicholas Marriott · 12 years ago
- 62db3c8 Send DSC 1000p at the beginning of a -CC client's lifetime and ST and by Nicholas Marriott · 12 years ago
- 20636d9 Add a command queue to standardize and simplify commands that call other by Nicholas Marriott · 12 years ago
- 8d59b18 No more lint means no more ARGSUSED. by Nicholas Marriott · 12 years ago
- 2e43372 If stdin in the client is enable immediately, tmux will eat anything by Nicholas Marriott · 12 years ago
- 84a4007 Change a log to fprintf that was missed last time around, from Tiago Cunha. by Nicholas Marriott · 12 years ago
- df912e3 xfree is not particularly helpful, remove it. From Thomas Adam. by Nicholas Marriott · 12 years ago
- 0f00c3b Actually write all the data to stdout/stderr. by Nicholas Marriott · 12 years ago
- 2942eca Add a skeleton mode to tmux (called "control mode") that let's tmux by Nicholas Marriott · 12 years ago
- 196710e Simplify logging and just fprintf(stderr, ...) for early errors. by Nicholas Marriott · 13 years ago
- 7a4679a Instead of passing stdin/stdout/stderr file descriptors over imsg and by Nicholas Marriott · 13 years ago
- 94795eb Add missing prototype. by Nicholas Marriott · 13 years ago
- d3e4320 Use an enum for client exit reasons, from George Nachman. by Nicholas Marriott · 13 years ago
- 0edaa34 Add sys/file.h. by Nicholas Marriott · 13 years ago
- bf9e7a1 Move MSG_IDENTIFY to the last sent by the client, this will be needed by by Nicholas Marriott · 13 years ago
- ac9ebc2 Use a lock file and flock() to serialize server start, avoids problems by Nicholas Marriott · 13 years ago
- 7954126 Add a -P option to detach to HUP the client's parent process (usually by Nicholas Marriott · 14 years ago
- 69cb1f8 Move all calls to fcntl(...O_NONBLOCK) into a function and clear the by Nicholas Marriott · 14 years ago
- 248fb14 Merge the before and after attach client code into one in client.c by Nicholas Marriott · 14 years ago
- f56b4ec Trying to set FD_CLOEXEC on every fd is a lost cause, just use by Nicholas Marriott · 14 years ago
- fc9f082 Can't call event_del() without event_set() first - so call event_set() by Nicholas Marriott · 14 years ago
- 5f5104e MSG_EXIT can now have a return code in the message, so check for that by Nicholas Marriott · 14 years ago
- 76bbdeb Send all three of stdin, stdout, stderr from the client to the server, so that by Nicholas Marriott · 14 years ago
- 510ec3f Fix problems with window sizing seen by Raghavendra D Prabhu when by Nicholas Marriott · 14 years ago
- 36c0871 This ioctl(TIOCGWINSZ) call is no longer necessary, the result is never by Nicholas Marriott · 14 years ago
- 72d1afa Catch SIGHUP and terminate if running as a client. This prevents clients by Joel Sing · 15 years ago
- c4a2fdf Put this back in with the initialisation in the right order. by Nicholas Marriott · 15 years ago
- af5e0bd Revert last change, it appears to be broken somehow. by Nicholas Marriott · 15 years ago
- ec1d37b Make signal handler setup/teardown two common functions instead of six, by Nicholas Marriott · 15 years ago
- 15a64b8 Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last by Nicholas Marriott · 15 years ago
- 4ca857e Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to by Nicholas Marriott · 15 years ago
- a18a374 imsg_read returns ssize_t not int, pointed out by lint via deraadt. by Nicholas Marriott · 15 years ago
- 9f47c60 Don't return 1 unless there was actually a problem (signal/lost server) rather by Nicholas Marriott · 15 years ago
- 862fe15 Move some common code into a function. by Nicholas Marriott · 15 years ago
- abf3a5d Initial changes to move tmux to libevent. by Nicholas Marriott · 15 years ago
- 2a585dc Leftover unused variable :-/. by Nicholas Marriott · 15 years ago
- 42fd44f There isn't much point in doing lstat before connect so instead just do connect by Nicholas Marriott · 15 years ago
- a8b1379 Clear signal flags /before/ taking action and continue afterwards to reduce by Nicholas Marriott · 15 years ago
- 284b946 Tidy identify message send into a separate function. by Nicholas Marriott · 15 years ago
- 90ad041 Client tidying: get rid of client_ctx struct in favour of two variables in by Nicholas Marriott · 15 years ago
- 0907ca1 Do this in a better way - print messages when exiting with nonzero. by Nicholas Marriott · 15 years ago
- 760e39e Don't print exit messages when used as a login shell, requested by martynas@ a by Nicholas Marriott · 15 years ago
- 9200a0b Support -c like sh(1) to execute a command, useful when tmux is a login by Nicholas Marriott · 15 years ago
- b01dcd7 Remove the internal tmux locking and instead detach each client and run the by Nicholas Marriott · 15 years ago
- 962fa20 Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client by Nicholas Marriott · 15 years ago
- 64caf59 Don't attempt to open() the tty path, rely on the client sending its stdin fd by Nicholas Marriott · 15 years ago
- 273f1b3 Regularise some fatal messages. by Nicholas Marriott · 15 years ago
- 751a2fa Fix a race condition when asking a client to take over the terminal (switching by Nicholas Marriott · 15 years ago
- 459abaf That was the wrong fix. MSG_ERROR should set the error and the client should by Nicholas Marriott · 15 years ago
- 7a4bac8 Set exittype for error exit as well as the error string. by Nicholas Marriott · 15 years ago
- 85e8b70 imsg closes the fd after sending, so dup() STDIN_FILENO before passing it to by Nicholas Marriott · 15 years ago
- 4310282 Have the client pass its stdin fd to the server when identifying itself and by Nicholas Marriott · 15 years ago
- f063571 Switch tmux to use imsg. This is the last major change to make the by Nicholas Marriott · 15 years ago
- 6491274 Infrastructure and commands to manage the environment for processes started by Nicholas Marriott · 15 years ago
- e985629 Tidy function a little by using a temporary variable. by Nicholas Marriott · 15 years ago
- 5f13bb0 There aren't many client message types or code to handle them so get rid of the by Nicholas Marriott · 15 years ago
- 479d614 Tell the server when the client gets SIGTERM so it can clean up the terminal by Nicholas Marriott · 15 years ago
- 34a82e7 Make all messages sent between the client and server fixed size. by Nicholas Marriott · 15 years ago
- 4a04b49 None of the server message functions return anything but 0, so make them all by Nicholas Marriott · 15 years ago
- 16e017d Tidy client message return slightly: convert flags into an enum, and merge by Nicholas Marriott · 15 years ago
- bb14c36 Pass a set of flags into client_init rather than just a start_server by Nicholas Marriott · 15 years ago
- eb8ab96 Remove some dead assignments, found by sthen with clang. by Nicholas Marriott · 15 years ago
- 1156467 Call setproctitle earlier in the client, and include the socket name. Makes it by Nicholas Marriott · 15 years ago
- 35876ea Import tmux, a terminal multiplexor allowing (among other things) a single by Nicholas Marriott · 15 years ago