From: "Vegard Nossum" <vegard.nossum@gmail.com>
To: "Chris Frey" <cdfrey@foursquare.net>
Cc: "Joe Peterson" <joe@skyrush.com>, linux-kernel@vger.kernel.org
Subject: Re: Visible Ctrl-C in latest kernels
Date: Sat, 23 Aug 2008 11:53:39 +0200 [thread overview]
Message-ID: <19f34abd0808230253w663722dcwde1303998e194ddf@mail.gmail.com> (raw)
In-Reply-To: <20080822201537.GA18242@foursquare.net>
On Fri, Aug 22, 2008 at 10:15 PM, Chris Frey <cdfrey@foursquare.net> wrote:
> Hi,
>
> A fairly user-level question here.
>
> I recently upgraded from 2.6.24.3 to 2.6.26.3.
>
> I've noticed that on my Debian stable system, I can now see Ctrl-C characters
> when using an xterm. I've checked the stty settings and nothing seems
> different.
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
next prev parent reply other threads:[~2008-08-23 9:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 20:15 Chris Frey
2008-08-23 9:53 ` Vegard Nossum [this message]
2008-08-23 17:52 ` Joe Peterson
2008-08-24 1:02 ` Chris Frey
2008-08-25 12:20 ` Willy Tarreau
2008-08-25 14:00 ` Joe Peterson
2008-08-25 14:13 ` Willy Tarreau
2008-08-25 14:29 ` Joe Peterson
2008-08-25 17:37 ` David Newall
2008-08-25 18:03 ` Joe Peterson
2008-08-26 1:08 ` Joe Peterson
2008-08-26 7:40 ` David Newall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19f34abd0808230253w663722dcwde1303998e194ddf@mail.gmail.com \
--to=vegard.nossum@gmail.com \
--cc=cdfrey@foursquare.net \
--cc=joe@skyrush.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®