- 932f6cf Because ignore SIGCHLD early, letting signal_del restore it doesn't work by nicm · 7 years ago
- 0453ad0 Move signal code into proc.c. by nicm · 7 years ago
- ed3cfaa Make shell_command a global like other stuff rather than making it an by nicm · 7 years ago
- 85338bb Add support for custom command aliases, this is an array option which by nicm · 8 years ago
- 98e7fbb Open /dev/ptm before pledge() and save it to be used for PTMGET later by nicm · 8 years ago
- 46572ba Print error rather than fatal() if tcgetattr() fails, which is much more by nicm · 8 years ago
- ef15b41 Revert WIP parts of previous I didn't mean to commit yet. by nicm · 8 years ago
- 68db958 getopt() has a struct option so just return to using options_entry. by nicm · 8 years ago
- 95950bf Add -E to detach-client to exec a command to replace the client instead by nicm · 8 years ago
- 1b31d14 Remove some dead code in cmd-move-window.c and make a load of local by nicm · 8 years ago
- 995af0e I no longer use my SourceForge address so replace it. by nicm · 9 years ago
- ac8678a Don't print error if none to print. by nicm · 9 years ago
- 3ff46b2 Shell command from -c doesn't have to be global, pass it as an argument. by nicm · 9 years ago
- dca93c5 Do lock failures slightly better, return a special value so we don't by nicm · 9 years ago
- 73e30cb Actually show something (even if it not that helpful) if the server by nicm · 9 years ago
- c913fb9 Tidy the code that works out the socket path, and just use the full path by nicm · 9 years ago
- bef217b Switch a fprintf to a fatal, and wrap some long lines. by nicm · 9 years ago
- 577c0e3 Use __unused rather than rolling our own. by nicm · 9 years ago
- a582b62 Accidentally turned off pledge, turn it back on. by nicm · 9 years ago
- c56b81a Push stdout and stderr to clients more aggressively, and add an event to by nicm · 9 years ago
- b0a99e8 Don't shift version out of peerid, it is needed later. by nicm · 9 years ago
- 01defc9 Because pledge(2) does not allow us to pass directory file descriptors by nicm · 9 years ago
- bf9c933 Like options, move the environ struct into environ.c. by nicm · 9 years ago
- 44657bf Move struct options into options.c. by nicm · 9 years ago
- 07b0ea0 Break the common process set up, event loop and imsg dispatch code by nicm · 9 years ago
- 174a2ad Pass current directory as a string rather than a file descriptor because by nicm · 9 years ago
- 9c601eb Add pledge "stdio unix sendfd proc exec tty" to tmux client process, by nicm · 9 years ago
- 241fd72 Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept by guenther · 9 years ago
- 2a62917 Don't leak fd and path on failure. by nicm · 9 years ago
- 67ee995 No need to keep global options around for client which doesn't use them. by nicm · 9 years ago
- c6e9160 Login shell can be a client flag, and move the exec code into client.c. by nicm · 9 years ago
- dd92b6e Event base does not need to be global. by nicm · 9 years ago
- 4e637b1 Ignore environment variables that are too long to send to the server. by nicm · 9 years ago
- 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