From d8494934a7b7cb8063282b03a6b996c9b7cec42a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 26 Jan 2011 03:26:38 +0100 Subject: getty: explain every bit in termios; remove redundant stuff in termios_final Signed-off-by: Denys Vlasenko --- console-tools/resize.c | 1 + 1 file changed, 1 insertion(+) (limited to 'console-tools') diff --git a/console-tools/resize.c b/console-tools/resize.c index fdfe2a6a0..ee0728b71 100644 --- a/console-tools/resize.c +++ b/console-tools/resize.c @@ -53,6 +53,7 @@ int resize_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) */ fprintf(stderr, ESC"7" ESC"[r" ESC"[999;999H" ESC"[6n"); alarm(3); /* Just in case terminal won't answer */ +//BUG: death by signal won't restore termios scanf(ESC"[%hu;%huR", &w.ws_row, &w.ws_col); fprintf(stderr, ESC"8"); -- cgit v1.2.3