Age | Commit message (Collapse) | Author |
|
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
|
|
GitHub issue 1183.
|
|
1201.
|
|
(the server will treat as a fatal error). GitHub issue 1200.
|
|
correctly, so set it explicitly back to default (and the others for good
measure).
|
|
|
|
exception and using callback argument.
|
|
contains items of the form "alias=command". This is consulted when an
unknown command is parsed.
|
|
(this means inlining forkpty()).
ok deraadt
|
|
useful to user.
|
|
|
|
|
|
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
|
|
functions static.
|
|
|
|
|
|
|
|
unlink the wrong thing.
|
|
fails to start (for example if it can't create the socket), rather than
hanging or showing nothing.
|
|
in the global socket_path rather than copying it.
|
|
|
|
|
|
|
|
continue if the send fails.
|
|
|
|
around, we can't use file descriptors for the working directory because
we will be unable to pass it to a privileged process to tell it where to
read or write files or spawn children. So move tmux back to using
strings for the current working directory. We try to check it exists
with access() when it is set but ultimately fall back to ~ if it fails
at time of use (or / if that fails too).
|
|
|
|
|
|
between server and client out into a separate internal API. This will
make it easier to add another process.
|
|
pledge doesn't let us pass directory file descriptors.
|
|
"sendfd" is dropped after first message from the server.
|
|
sizeof(struct sockaddr_un), so do the simple, portable thing
ok beck@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
client_pid from Thomas Adam.
|
|
name to all the pane pty names instead of comparing socket paths. This
means that "new -d" will work without unsetting $TMUX.
|
|
sobrado@.
|
|
|
|
|
|
|
|
very slow platforms) for the first daemon() child to still be running
when client_attached is set so we end up with a zombie. From J Raynor.
|
|
|
|
to using flock which actually works sensibly. Also always retry the lock
to fix a potential race, and add some extra logging.
|
|
ok nicm@
|
|
|
|
|
|
|