Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 21:02:54 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Henrik Hudson <lists@rhavenn.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ctrl-c exists SSH session??
Message-ID:  <CA%2BtpaK07CtPsGHYyGOh6dbuKmbNVqSixF4-5-Eg_n3na%2BGm6uA@mail.gmail.com>
In-Reply-To: <20151015000346.GA93606@vash.rhavenn.local>
References:  <20151015000346.GA93606@vash.rhavenn.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 14, 2015 at 7:03 PM, Henrik Hudson <lists@rhavenn.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK07CtPsGHYyGOh6dbuKmbNVqSixF4-5-Eg_n3na%2BGm6uA>