Re: Visible Ctrl-C in latest kernels

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vegard Nossum
Date: Saturday, August 23, 2008 - 2:53 am

On Fri, Aug 22, 2008 at 10:15 PM, Chris Frey <cdfrey@foursquare.net> wrote:

That is a feature which was introduced in

commit ec5b1157f8e819c72fc93aa6d2d5117c08cdc961
Author: Joe Peterson <joe@skyrush.com>
Date:   Wed Feb 6 01:37:38 2008 -0800

    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>

Are you experiencing a problem related to this?


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Visible Ctrl-C in latest kernels, Chris Frey, (Fri Aug 22, 1:15 pm)
Re: Visible Ctrl-C in latest kernels, Vegard Nossum, (Sat Aug 23, 2:53 am)
Re: Visible Ctrl-C in latest kernels, Joe Peterson, (Sat Aug 23, 10:52 am)
Re: Visible Ctrl-C in latest kernels, Chris Frey, (Sat Aug 23, 6:02 pm)
Re: Visible Ctrl-C in latest kernels, Willy Tarreau, (Mon Aug 25, 5:20 am)
Re: Visible Ctrl-C in latest kernels, Joe Peterson, (Mon Aug 25, 7:00 am)
Re: Visible Ctrl-C in latest kernels, Willy Tarreau, (Mon Aug 25, 7:13 am)
Re: Visible Ctrl-C in latest kernels, Joe Peterson, (Mon Aug 25, 7:29 am)
Re: Visible Ctrl-C in latest kernels, David Newall, (Mon Aug 25, 10:37 am)
Re: Visible Ctrl-C in latest kernels, Joe Peterson, (Mon Aug 25, 11:03 am)
Re: Visible Ctrl-C in latest kernels, Joe Peterson, (Mon Aug 25, 6:08 pm)
Re: Visible Ctrl-C in latest kernels, David Newall, (Tue Aug 26, 12:40 am)