Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 1998 10:48:28 +0800
From:      Greg Lehey <grog@lemis.com>
To:        Studded <Studded@san.rr.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ctrl-C causes programs to dump core on -Stable
Message-ID:  <19980424104828.56680@papillon.lemis.com>
In-Reply-To: <353E9846.B401C9B4@san.rr.com>; from Studded on Wed, Apr 22, 1998 at 06:24:22PM -0700
References:  <Pine.BSF.3.96.980422170935.8428a-100000@gdi.uoregon.edu> <353E9846.B401C9B4@san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980424104828.56680>