summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-01-21 23:51:36 +0000
committerTiago Cunha <tcunha@gmx.com>2011-01-21 23:51:36 +0000
commita880639f487bf43d3ce3c458719f87a98b8d609f (patch)
treec89087b3e69150fa9f272c4e82abbe9694b00606 /cmd-server-info.c
parent57eb948c480da7bb7b54680786521e41baecb2fe (diff)
Sync OpenBSD patchset 839:
Log termios backspace for each client since it is used to recognise backspace input.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r--cmd-server-info.c7
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", "");