diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-11 17:18:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-11 17:18:35 +0000 |
commit | f0635717b3e840a72a962a2014b18d84fac4c83a (patch) | |
tree | 579ab8805cc7d6784fb6c567dad3322a7b2a976e /cmd-server-info.c | |
parent | 60db6e3df471142e4ee7773b9b4e9b0135d61dfc (diff) | |
download | rtmux-f0635717b3e840a72a962a2014b18d84fac4c83a.tar.gz rtmux-f0635717b3e840a72a962a2014b18d84fac4c83a.tar.bz2 rtmux-f0635717b3e840a72a962a2014b18d84fac4c83a.zip |
Switch tmux to use imsg. This is the last major change to make the
client-server protocol more resilient and make the protocol versioning work
properly. In future, the only things requiring a protocol version bump will be
changes in the message structs, and (when both client and server have this
change) mixing different versions should nicely report an error message.
As a side effect this also makes the code tidier, fixes a problem with the way
errors reported during server startup were handled, and supports fd passing
(which will be used in future).
Looked over by eric@, thanks.
Please note that mixing a client with this change with an older server or vice
versa may cause tmux to crash or hang - tmux should be completely exited before
upgrading.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index a79f2520..396d15b0 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -90,7 +90,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) continue; ctx->print(ctx, "%2d: %s (%d, %d): %s [%ux%u %s] " - "[flags=0x%x/0x%x]", i, c->tty.path, c->fd, c->tty.fd, + "[flags=0x%x/0x%x]", i, c->tty.path, c->ibuf.fd, c->tty.fd, c->session->name, c->tty.sx, c->tty.sy, c->tty.termname, c->flags, c->tty.flags); } |