diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-01-21 23:51:36 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-01-21 23:51:36 +0000 |
commit | a880639f487bf43d3ce3c458719f87a98b8d609f (patch) | |
tree | c89087b3e69150fa9f272c4e82abbe9694b00606 | |
parent | 57eb948c480da7bb7b54680786521e41baecb2fe (diff) | |
download | rtmux-a880639f487bf43d3ce3c458719f87a98b8d609f.tar.gz rtmux-a880639f487bf43d3ce3c458719f87a98b8d609f.tar.bz2 rtmux-a880639f487bf43d3ce3c458719f87a98b8d609f.zip |
Sync OpenBSD patchset 839:
Log termios backspace for each client since it is used to recognise
backspace input.
-rw-r--r-- | cmd-server-info.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 9e869466..57cbbe68 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -1,4 +1,4 @@ -/* $Id: cmd-server-info.c,v 1.41 2011-01-07 14:45:34 tcunha Exp $ */ +/* $Id: cmd-server-info.c,v 1.42 2011-01-21 23:51:36 tcunha Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -88,10 +88,11 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) if (c == NULL || c->session == NULL) continue; - ctx->print(ctx, "%2d: %s (%d, %d): %s [%ux%u %s] " + ctx->print(ctx,"%2d: %s (%d, %d): %s [%ux%u %s bs=%hho] " "[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.sx, c->tty.sy, c->tty.termname, + c->tty.tio.c_cc[VERASE], c->flags, c->tty.flags, c->references); } ctx->print(ctx, "%s", ""); |