From owner-freebsd-questions Wed Apr 22 20:00:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA14388 for freebsd-questions-outgoing; Wed, 22 Apr 1998 20:00:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.iconz.co.nz (mail.iconz.co.nz [202.14.100.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA14362 for ; Thu, 23 Apr 1998 03:00:01 GMT (envelope-from jonc@pinnacle.co.nz) Received: from news.iconz.co.nz (status.gen.nz [202.14.100.1]) by mail.iconz.co.nz (8.8.7/8.8.7) with ESMTP id OAA200330893300375; Thu, 23 Apr 1998 14:59:35 +1200 (NZST) Received: (from uucp@localhost) by news.iconz.co.nz (8.8.5/8.8.5) with UUCP id PAA13598; Thu, 23 Apr 1998 15:02:44 +1200 Received: from tui.pinnacle.co.nz (tui.pinnacle.co.nz [202.37.163.3]) by kakapo.pinnacle.co.nz (8.8.8/8.8.8) with ESMTP id OAA09801; Thu, 23 Apr 1998 14:19:20 +1200 (NZST) Received: from localhost (jonc@localhost) by tui.pinnacle.co.nz (8.8.8/8.8.8) with SMTP id OAA10111; Thu, 23 Apr 1998 14:19:19 +1200 (NZST) X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs Date: Thu, 23 Apr 1998 14:19:18 +1200 (NZST) From: Jonathan Chen To: Studded cc: Doug White , FreeBSD Questions Subject: Re: Ctrl-C causes programs to dump core on -Stable In-Reply-To: <353E9846.B401C9B4@san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, 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 Isn't this correct behaviour then? ie SIGQUIT should cause a core-dump -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck!" - Curly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message