From a880639f487bf43d3ce3c458719f87a98b8d609f Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 21 Jan 2011 23:51:36 +0000 Subject: [PATCH] Sync OpenBSD patchset 839: Log termios backspace for each client since it is used to recognise backspace input. --- cmd-server-info.c | 7 ++++--- 1 file 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 @@ -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", "");