commit | e2a18894b34e3651feecba1dd43c4f05c9566509 | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Fri Aug 14 21:23:20 2009 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Fri Aug 14 21:23:20 2009 +0000 |
tree | a15c5d4ff41e637982452222ede90d433dbc10a6 | |
parent | 0714e411488e01273729bc0801e197a8f64d5540 [diff] |
Sync OpenBSD patchset 246: 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.