From owner-freebsd-questions Fri Apr 24 02:12:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA00150 for freebsd-questions-outgoing; Fri, 24 Apr 1998 02:12:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA29988 for ; Fri, 24 Apr 1998 02:12:14 -0700 (PDT) (envelope-from grog@lemis.com) Received: from papillon.lemis.com ([192.122.138.250]) by freebie.lemis.com (8.8.8/8.8.7) with ESMTP id SAA00856; Fri, 24 Apr 1998 18:41:57 +0930 (CST) (envelope-from grog@lemis.com) Received: (grog@localhost) by papillon.lemis.com (8.8.8/8.6.12) id KAA00666; Fri, 24 Apr 1998 10:48:30 +0800 (SGT) Message-ID: <19980424104828.56680@papillon.lemis.com> Date: Fri, 24 Apr 1998 10:48:28 +0800 From: Greg Lehey To: Studded Cc: FreeBSD Questions Subject: Re: Ctrl-C causes programs to dump core on -Stable References: <353E9846.B401C9B4@san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <353E9846.B401C9B4@san.rr.com>; from Studded on Wed, Apr 22, 1998 at 06:24:22PM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 April 1998 at 18:24:22 -0700, Studded wrote: > Doug White wrote: >> >> On Tue, 21 Apr 1998, Studded wrote: >> >>> I am having an odd situation with -Stable cvsup'ed a few days ago. >>> About 2 out of 3 times when I hit Control-C to exit out of something >>> (like tail, host, just about anything) whatever program it is dumps >>> core. It's not a huge problem since I want the thing to terminate >>> anyway, but I thought I'd mention it. I installed Bash 2.02 last night, >>> no change in the core dumping behaviour. >>> >>> Tips, comments, suggestions welcome, >> >> Sounds like Ctrl-C was remapped to Ctrl-\. Check `stty < /dev/tty'. > > Yeah, that's what I thought at first, no joy. > > 87$ stty < /dev/tty > speed 9600 baud; > lflags: echoe echok echoke echoctl pendin > oflags: -oxtabs > cflags: cs8 -parenb > erase intr quit > ^H ^\ ^C > > Next? :) They're the wrong way round (that's why they're shown; they're the ones that aren't set to the default). Set intr to ^C and quit to ^\, or just don't set them at all. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message