Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753812AbYHWJxt (ORCPT ); Sat, 23 Aug 2008 05:53:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752370AbYHWJxl (ORCPT ); Sat, 23 Aug 2008 05:53:41 -0400 Received: from py-out-1112.google.com ([64.233.166.176]:6817 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752238AbYHWJxk (ORCPT ); Sat, 23 Aug 2008 05:53:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=M+Try0Ih0VbGAFZzuW/8Q0sXwzCOFxi629+crJIyzEDHeFYVjK9E5eLnFW1zmIatfK oXxkG0vHx0onGFlzsnPdtlcBGSAKTZ9hEm2Vwe+7sbbgeSoscxiUTUQAWitNuAhXJSQF aIJ/rFmXXDGatk2ua/gIBPThBR1yzCt0arBlg= Message-ID: <19f34abd0808230253w663722dcwde1303998e194ddf@mail.gmail.com> Date: Sat, 23 Aug 2008 11:53:39 +0200 From: "Vegard Nossum" To: "Chris Frey" Subject: Re: Visible Ctrl-C in latest kernels Cc: "Joe Peterson" , linux-kernel@vger.kernel.org In-Reply-To: <20080822201537.GA18242@foursquare.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080822201537.GA18242@foursquare.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1931 Lines: 49 On Fri, Aug 22, 2008 at 10:15 PM, Chris Frey 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 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/