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-03 17:11:42 +02:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2007-05-08 11:15:09 -07:00
2008-02-03 17:11:42 +02:00
2008-02-03 17:11:42 +02:00
2006-10-04 07:55:13 -07:00
2007-10-19 23:21:04 +02:00
2008-01-30 13:30:27 +01:00
2007-10-19 23:21:04 +02:00
2007-02-20 17:11:55 +00:00
2008-01-24 20:40:04 -08:00
2007-07-19 10:04:43 -07:00
2007-10-29 07:41:32 -07:00
2007-07-29 17:09:29 -07:00
2007-10-18 14:37:27 -07:00
2007-10-17 08:42:55 -07:00
2008-02-02 15:14:48 -08:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2007-10-18 14:37:23 -07:00
2008-02-06 10:41:00 -08:00
2006-01-12 09:09:00 -08:00
2007-07-16 09:05:46 -07:00
2007-10-19 11:53:43 -07:00
2008-02-03 17:11:42 +02:00
2006-12-20 16:37:48 +11:00
2007-10-17 08:42:56 -07:00
2008-02-06 10:41:04 -08:00