=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/cmd-server-info.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/tmux/Attic/cmd-server-info.c 2009/09/02 17:34:57 1.9 +++ src/usr.bin/tmux/Attic/cmd-server-info.c 2009/09/07 21:01:50 1.10 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-server-info.c,v 1.9 2009/09/02 17:34:57 nicm Exp $ */ +/* $OpenBSD: cmd-server-info.c,v 1.10 2009/09/07 21:01:50 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -91,9 +91,10 @@ continue; ctx->print(ctx, "%2d: %s (%d, %d): %s [%ux%u %s] " - "[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); + "[flags=0x%x/0x%x, references=%u]", 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, c->references); } ctx->print(ctx, "%s", ""); @@ -109,8 +110,9 @@ *strchr(tim, '\n') = '\0'; ctx->print(ctx, "%2u: %s: %u windows (created %s) [%ux%u] " - "[flags=0x%x]", i, s->name, winlink_count(&s->windows), - tim, s->sx, s->sy, s->flags); + "[flags=0x%x, references=%u]", i, s->name, + winlink_count(&s->windows), tim, s->sx, s->sy, s->flags, + s->references); RB_FOREACH(wl, winlinks, &s->windows) { w = wl->window; ctx->print(ctx, "%4u: %s [%ux%u] [flags=0x%x, "