From owner-freebsd-questions@freebsd.org Mon May 16 12:57:30 2016 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 E9C2FB3CB93 for ; Mon, 16 May 2016 12:57:30 +0000 (UTC) (envelope-from ml@netfence.it) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D54571B25 for ; Mon, 16 May 2016 12:57:30 +0000 (UTC) (envelope-from ml@netfence.it) Received: by mailman.ysv.freebsd.org (Postfix) id D46DEB3CB91; Mon, 16 May 2016 12:57:30 +0000 (UTC) Delivered-To: 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 D4205B3CB90 for ; Mon, 16 May 2016 12:57:30 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp207.alice.it (smtp207.alice.it [82.57.200.103]) by mx1.freebsd.org (Postfix) with ESMTP id 49B1D1B24 for ; Mon, 16 May 2016 12:57:30 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (79.42.58.185) by smtp207.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 57175E9205FB9B8A; Mon, 16 May 2016 14:57:23 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18] (may be forged)) by soth.ventu (8.15.2/8.15.2) with ESMTP id u4GCvIeG025738; Mon, 16 May 2016 14:57:20 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] (may be forged) claimed to be alamar.ventu Subject: Re: Avoid exiting ssh shell with Ctrl-C To: Anton Sayetsky References: Cc: questions@freebsd.org From: Andrea Venturoli Message-ID: <08f247b1-38de-e204-a062-56466cf45024@netfence.it> Date: Mon, 16 May 2016 14:57:18 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 12:57:31 -0000 On 05/16/16 12:16, Anton Sayetsky wrote: > 16 мая 2016 г. 13:07 пользователь "Andrea Venturoli" > написал: >> >> Hello. >> >> I believe this has started since I upgraded to 10.x (at least I don't > remember it happening before...): if I ssh into any host, then press > Ctrl-C, the ssh session terminates. >> This is annoying, since I might press Ctrl-C to interrupt a process, > but end up terminating the connection. >> >> Is there any way to stop this (leaving only Ctrl-D to achieve such a > thing)? > 1. https://forums.freebsd.org/threads/53868/#post-308144 > 2. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208132 > Thanks. It took me a while to understand how to put all those things together... In any case you suggest I apply > https://svnweb.freebsd.org/base/stable/10/bin/csh/config_p.h?r1=297789&r2=297788&pathrev=297789 and just recompile csh? I'd like to avoid moving to stable right now, since I'm in a hot period. Any chanche we'll get an Errata and/or an MFC? bye av.