From owner-freebsd-questions@freebsd.org Thu Oct 15 02:02:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D603BA13552 for ; Thu, 15 Oct 2015 02:02:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 818FF1B05 for ; Thu, 15 Oct 2015 02:02:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wijq8 with SMTP id q8so107755027wij.0 for ; Wed, 14 Oct 2015 19:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LBUrp9+FiDPMdboWrrQQ0F4upLXmlhNQTrEYEMctqAs=; b=K2AS6fTIwexMnAVGbGcoQoopdjfGmuImAUwLGefK6EMypDCMb8gp3i3BdiS+y9Gk0s jILyzTFLGDDU9uqSJrkSVU1TKSc9a1NW+APpnHW/jP89IQy4jxiEhR2KIMTvIeuHrd/b o6btOT8wrxFzmE1eUJHDqRKaEH2PVToMAmmiT6gcywPYbr/0NVQmogYXuId7dFUjKWXX 0XXsUSjtiiksljav1xW7ECHzlLm945S8vvusnrrDIr3SQH4vdnkPs9lmukhY799aOoqm rMGgqNOL+uYxGWK3UnHycOjvpmWLFA4i+6u6uMS2+ZTfu8GDwgdlxuDk/bzFH9E5vgX/ +Obg== MIME-Version: 1.0 X-Received: by 10.180.8.106 with SMTP id q10mr7237616wia.92.1444874574161; Wed, 14 Oct 2015 19:02:54 -0700 (PDT) Received: by 10.194.16.231 with HTTP; Wed, 14 Oct 2015 19:02:54 -0700 (PDT) In-Reply-To: <20151015000346.GA93606@vash.rhavenn.local> References: <20151015000346.GA93606@vash.rhavenn.local> Date: Wed, 14 Oct 2015 21:02:54 -0500 Message-ID: Subject: Re: ctrl-c exists SSH session?? From: Adam Vande More To: Henrik Hudson Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 02:02:57 -0000 On Wed, Oct 14, 2015 at 7:03 PM, Henrik Hudson wrote: > So, this just started happening, or I just noticed it, and I have no > idea why. > > remote and local systems: freebsd 10.2-p5 > local system is a desktop with i3 and rxvt-unicode . I tried with > the same terminal connecting to a different server and it works > fine. > > SSH'ing into a remote server when I hit ctrl-c it exits my login > shell. If I login, su -, and hit 'ctrl-c' it will dump me back to my > user and from there if I hit 'ctrl-c' again it drops my sessions. > > All my other servers when I hit ctrl-c I just get a newline. I don't > know if I just noticed this on this server, but what controls this? > This: bindkey ^C should output something like this: "^C" -> tty-sigintr -- Adam