1. b4520aa Need to include message size in the maximum buffer calculation. by nicm · 4 years, 12 months ago
  2. eaa58d2 Instead of using large buffers in imsgs, add the data or path onto the end. by nicm · 4 years, 12 months ago
  3. 6ce943f Need to check in the error callback also. by nicm · 4 years, 12 months ago
  4. 828001e Do not spin waiting for exit, instead check in the write callback. by nicm · 4 years, 12 months ago
  5. c284ebe Rewrite the code for reading and writing files. Now, if the client is by nicm · 4 years, 12 months ago
  6. 8f40f79 Change "lost server" message to "server exited unexpectedly", from Neal by nicm · 5 years ago
  7. 4ff7bc3 When system calls indicate an error they return -1, not some arbitrary by deraadt · 5 years ago
  8. f8d3d24 Merge cmd_list_parse into cmd-parse.y so it can use the new alias by nicm · 6 years ago
  9. 3a7b9d5 Do not use PWD unless it actually matches the real working directory. by nicm · 6 years ago
  10. 896c1da Use <fcntl.h> instead of <sys/file.h> for open() and friends. by guenther · 7 years ago
  11. d17c905 Prefer PWD for current directory if present in client, from Wei Zhao in by nicm · 7 years ago
  12. b20a00f Report better error from server when socket create fails, GitHub issue 1201. by nicm · 7 years ago
  13. 62144b9 Do not try to put more in command message than will fit when sending by nicm · 7 years ago
  14. 932f6cf Because ignore SIGCHLD early, letting signal_del restore it doesn't work by nicm · 7 years ago
  15. 0453ad0 Move signal code into proc.c. by nicm · 7 years ago
  16. ed3cfaa Make shell_command a global like other stuff rather than making it an by nicm · 7 years ago
  17. 85338bb Add support for custom command aliases, this is an array option which by nicm · 8 years ago
  18. 98e7fbb Open /dev/ptm before pledge() and save it to be used for PTMGET later by nicm · 8 years ago
  19. 46572ba Print error rather than fatal() if tcgetattr() fails, which is much more by nicm · 8 years ago
  20. ef15b41 Revert WIP parts of previous I didn't mean to commit yet. by nicm · 8 years ago
  21. 68db958 getopt() has a struct option so just return to using options_entry. by nicm · 8 years ago
  22. 95950bf Add -E to detach-client to exec a command to replace the client instead by nicm · 8 years ago
  23. 1b31d14 Remove some dead code in cmd-move-window.c and make a load of local by nicm · 8 years ago
  24. 995af0e I no longer use my SourceForge address so replace it. by nicm · 9 years ago
  25. ac8678a Don't print error if none to print. by nicm · 9 years ago
  26. 3ff46b2 Shell command from -c doesn't have to be global, pass it as an argument. by nicm · 9 years ago
  27. dca93c5 Do lock failures slightly better, return a special value so we don't by nicm · 9 years ago
  28. 73e30cb Actually show something (even if it not that helpful) if the server by nicm · 9 years ago
  29. c913fb9 Tidy the code that works out the socket path, and just use the full path by nicm · 9 years ago
  30. bef217b Switch a fprintf to a fatal, and wrap some long lines. by nicm · 9 years ago
  31. 577c0e3 Use __unused rather than rolling our own. by nicm · 9 years ago
  32. a582b62 Accidentally turned off pledge, turn it back on. by nicm · 9 years ago
  33. c56b81a Push stdout and stderr to clients more aggressively, and add an event to by nicm · 9 years ago
  34. b0a99e8 Don't shift version out of peerid, it is needed later. by nicm · 9 years ago
  35. 01defc9 Because pledge(2) does not allow us to pass directory file descriptors by nicm · 9 years ago
  36. bf9c933 Like options, move the environ struct into environ.c. by nicm · 9 years ago
  37. 44657bf Move struct options into options.c. by nicm · 9 years ago
  38. 07b0ea0 Break the common process set up, event loop and imsg dispatch code by nicm · 9 years ago
  39. 174a2ad Pass current directory as a string rather than a file descriptor because by nicm · 9 years ago
  40. 9c601eb Add pledge "stdio unix sendfd proc exec tty" to tmux client process, by nicm · 9 years ago
  41. 241fd72 Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept by guenther · 9 years ago
  42. 2a62917 Don't leak fd and path on failure. by nicm · 9 years ago
  43. 67ee995 No need to keep global options around for client which doesn't use them. by nicm · 9 years ago
  44. c6e9160 Login shell can be a client flag, and move the exec code into client.c. by nicm · 9 years ago
  45. dd92b6e Event base does not need to be global. by nicm · 9 years ago
  46. 4e637b1 Ignore environment variables that are too long to send to the server. by nicm · 9 years ago
  47. 29c29e7 Add a format for client PID (client_pid) and server PID (pid). Diff for by nicm · 9 years ago
  48. 6b21296 Move the nested check from client to server and compare the client tty by nicm · 9 years ago
  49. a5a873d Set up signal handler earlier so that we don't get zombies, reported by by nicm · 10 years ago
  50. 7a72eff Simplify error messages when socket connect fails, suggested by "Karthik K". by nicm · 10 years ago
  51. 02df860 Fix some format specifier nits, from Ben Boeckel. by nicm · 10 years ago
  52. 900f6fc Tidy up some includes. by nicm · 10 years ago
  53. 045d0c3 Call waitpid on SIGCHLD even if client not attached, it is possible (on by nicm · 10 years ago
  54. 4e956d5 Various minor style and spacing nits. by nicm · 10 years ago
  55. 8e4ae12 lockf is entirely useless and it was a mistake to change to it, go back by nicm · 10 years ago
  56. 2b67907 An EOF is a good reason to close a connection. by krw · 10 years ago
  57. 5b2c815 fcntl.h is still needed here. by nicm · 11 years ago
  58. bce9527 Remove some unnecessary includes and fix a typo. by nicm · 11 years ago
  59. b185449 Fix a memory/fd leak reported by Tiago Cunha. by nicm · 11 years ago
  60. adc1f21 Three small changes from Tiago Cunha: by nicm · 11 years ago
  61. 7624800 from nicm: : handle msgbuf_write() returning EAGAIN by benno · 11 years ago
  62. 99e3cbc Use format_get_command() and some spacing tweaks. by nicm · 11 years ago
  63. c1ccefc We accidentally haven't been using $TMUX to work out the session for a by nicm · 11 years ago
  64. 7936ce3 Show session name in detached message. Requested by somebody a few by nicm · 11 years ago
  65. b8b85fb Don't look at string[length - 1] if length == 0. by nicm · 11 years ago
  66. 282c5f9 Alter how tmux handles the working directory to internally use file by nicm · 11 years ago
  67. 10c3843 Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048. by nicm · 11 years ago
  68. 6c09301 Remove CMD_SENDENVIRON. by nicm · 11 years ago
  69. d89b35e Use lockf which is more portable than flock, from Dagobert Michelsen. by Nicholas Marriott · 12 years ago
  70. 88b92df We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when by Nicholas Marriott · 12 years ago
  71. 6fee3e9 Rename session idx to session id throughout and add $ prefix to targets by Nicholas Marriott · 12 years ago
  72. 62db3c8 Send DSC 1000p at the beginning of a -CC client's lifetime and ST and by Nicholas Marriott · 12 years ago
  73. 20636d9 Add a command queue to standardize and simplify commands that call other by Nicholas Marriott · 12 years ago
  74. 8d59b18 No more lint means no more ARGSUSED. by Nicholas Marriott · 12 years ago
  75. 2e43372 If stdin in the client is enable immediately, tmux will eat anything by Nicholas Marriott · 12 years ago
  76. 84a4007 Change a log to fprintf that was missed last time around, from Tiago Cunha. by Nicholas Marriott · 12 years ago
  77. df912e3 xfree is not particularly helpful, remove it. From Thomas Adam. by Nicholas Marriott · 12 years ago
  78. 0f00c3b Actually write all the data to stdout/stderr. by Nicholas Marriott · 12 years ago
  79. 2942eca Add a skeleton mode to tmux (called "control mode") that let's tmux by Nicholas Marriott · 12 years ago
  80. 196710e Simplify logging and just fprintf(stderr, ...) for early errors. by Nicholas Marriott · 13 years ago
  81. 7a4679a Instead of passing stdin/stdout/stderr file descriptors over imsg and by Nicholas Marriott · 13 years ago
  82. 94795eb Add missing prototype. by Nicholas Marriott · 13 years ago
  83. d3e4320 Use an enum for client exit reasons, from George Nachman. by Nicholas Marriott · 13 years ago
  84. 0edaa34 Add sys/file.h. by Nicholas Marriott · 13 years ago
  85. bf9e7a1 Move MSG_IDENTIFY to the last sent by the client, this will be needed by by Nicholas Marriott · 13 years ago
  86. ac9ebc2 Use a lock file and flock() to serialize server start, avoids problems by Nicholas Marriott · 13 years ago
  87. 7954126 Add a -P option to detach to HUP the client's parent process (usually by Nicholas Marriott · 14 years ago
  88. 69cb1f8 Move all calls to fcntl(...O_NONBLOCK) into a function and clear the by Nicholas Marriott · 14 years ago
  89. 248fb14 Merge the before and after attach client code into one in client.c by Nicholas Marriott · 14 years ago
  90. f56b4ec Trying to set FD_CLOEXEC on every fd is a lost cause, just use by Nicholas Marriott · 14 years ago
  91. fc9f082 Can't call event_del() without event_set() first - so call event_set() by Nicholas Marriott · 14 years ago
  92. 5f5104e MSG_EXIT can now have a return code in the message, so check for that by Nicholas Marriott · 14 years ago
  93. 76bbdeb Send all three of stdin, stdout, stderr from the client to the server, so that by Nicholas Marriott · 14 years ago
  94. 510ec3f Fix problems with window sizing seen by Raghavendra D Prabhu when by Nicholas Marriott · 14 years ago
  95. 36c0871 This ioctl(TIOCGWINSZ) call is no longer necessary, the result is never by Nicholas Marriott · 14 years ago
  96. 72d1afa Catch SIGHUP and terminate if running as a client. This prevents clients by Joel Sing · 15 years ago
  97. c4a2fdf Put this back in with the initialisation in the right order. by Nicholas Marriott · 15 years ago
  98. af5e0bd Revert last change, it appears to be broken somehow. by Nicholas Marriott · 15 years ago
  99. ec1d37b Make signal handler setup/teardown two common functions instead of six, by Nicholas Marriott · 15 years ago
  100. 15a64b8 Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last by Nicholas Marriott · 15 years ago