2007-12-04 14:28:47

by Joe Peterson

[permalink] [raw]
Subject: [PATCH] echo ctrl characters on INTR/QUIT/SUSP

--- linux-2.6.22-gentoo-r9.old/drivers/char/n_tty.c 2007-12-03 16:25:05.000000000 -0700
+++ linux-2.6.22-gentoo-r9/drivers/char/n_tty.c 2007-12-03 21:58:44.000000000 -0700
@@ -761,6 +761,9 @@
if (c == SUSP_CHAR(tty)) {
send_signal:
isig(signal, tty, 0);
+ if (L_ECHO(tty)) {
+ echo_char(c, tty);
+ }
return;
}
}


Attachments:
gentoo-sources-2.6.22-echoctl.patch (336.00 B)