diff options
author | Joe Peterson <joe@skyrush.com> | 2008-02-06 01:37:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:07 -0800 |
commit | ec5b1157f8e819c72fc93aa6d2d5117c08cdc961 (patch) | |
tree | 86b6681763849672f997cdf8277de61b3ea0cf0f /kernel/relay.c | |
parent | 1a669c2f16d478cb7f4452e5fb8d09320831f4a1 (diff) | |
download | op-kernel-dev-ec5b1157f8e819c72fc93aa6d2d5117c08cdc961.zip op-kernel-dev-ec5b1157f8e819c72fc93aa6d2d5117c08cdc961.tar.gz |
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>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions