Joe Peterson ec5b1157f8 tty: enable the echoing of ^C in the N_TTY discipline
Turn on INTR/QUIT/SUSP echoing in the N_TTY line discipline (e.g.  ctrl-C
will appear as "^C" if stty echoctl is set and ctrl-C is set as INTR).

Linux seems to be the only unix-like OS (recently I've verified this on
Solaris, BSD, and Mac OS X) that does *not* behave this way, and I really
miss this as a good visual confirmation of the interrupt of a program in
the console or xterm.  I remember this fondly from many Unixs I've used
over the years as well.  Bringing this to Linux also seems like a good way
to make it yet more compliant with standard unix-like behavior.

[akpm@linux-foundation.org: coding-style fixes]
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:07 -08:00
..
2008-02-05 09:44:22 -08:00
2008-02-06 10:41:01 -08:00
2008-02-05 09:44:23 -08:00
2008-02-03 17:12:34 +02:00
2008-02-05 09:44:13 -08:00
2008-02-06 10:41:01 -08:00
2008-02-04 23:50:03 +11:00
2008-02-06 10:41:02 -08:00
2008-02-03 17:21:01 +02:00
2008-02-06 10:41:03 -08:00
2008-02-03 17:22:34 +02:00
2008-02-03 15:42:53 +02:00
2008-02-06 10:41:01 -08:00
2008-01-31 11:25:51 +11:00
2008-02-06 10:41:01 -08:00
2008-02-03 17:30:25 +02:00
2008-02-06 10:41:07 -08:00
2008-02-06 10:41:01 -08:00
2008-02-04 23:50:13 +11:00
2008-02-05 09:44:12 -08:00
2008-02-05 09:44:12 -08:00