commit | 4310282a4c52f1885ae2eb80b106c9c03564a0b8 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Tue Aug 11 21:28:11 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Tue Aug 11 21:28:11 2009 +0000 |
tree | 21099e70cdd49e4dc08084bbd758e64677728774 | |
parent | 4ec8ade11c23eec4b652cdd7ea47ddf346b7be93 [diff] |
Have the client pass its stdin fd to the server when identifying itself and have the server use that rather than reopening the tty. If the fd isn't given, use the old behaviour (so no need for a version change). This allows tmux to be used as the shell, so also change so that when working out the command to execute if default-command is empty (the default), tmux will try not execute itself.