From owner-freebsd-questions@freebsd.org Fri Mar 11 13:35:14 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 04C9BACBCB5 for ; Fri, 11 Mar 2016 13:35:14 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from archeo.suszko.eu (archeo.unixguru.pl [IPv6:2001:41d0:2:8316::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFAC690D for ; Fri, 11 Mar 2016 13:35:13 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from archeo (localhost [127.0.0.1]) by archeo.suszko.eu (Postfix) with ESMTP id 8A207BAD4; Fri, 11 Mar 2016 14:35:03 +0100 (CET) X-Virus-Scanned: amavisd-new at archeo.local Received: from archeo.suszko.eu ([127.0.0.1]) by archeo (archeo.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xxs8ft0Ig7N8; Fri, 11 Mar 2016 14:35:03 +0100 (CET) Received: from helium (gate.grtech.pl [195.8.99.234]) by archeo.suszko.eu (Postfix) with ESMTPSA id ECBE9BACD; Fri, 11 Mar 2016 14:35:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suszko.eu; s=dkim; t=1457703303; bh=lvn+nxAMAduO6j90fhku+Q81xntKEuyjJmcHEFc2zcc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=nfjEx/vMePq+VM9JJ/33Z1yjXx52yR67s7erd8qgGAxzqgxF2IbxmqYidURBtDxIy vxYBYOZVzwg9Od5rKv0q+TuTHh1293FjbM44gLp1VTaPiLJF/R6IKeIUGePLQrmpjm zv9z1DKktBt0SdpgYfExUXgrgFiyzgtsyy0T/d70= Date: Fri, 11 Mar 2016 14:34:56 +0100 From: Maciej Suszko To: Steve Burton Cc: freebsd-questions@freebsd.org Subject: Re: Cshell closing on CTRL-c Message-ID: <20160311143456.3b780fcf@helium> In-Reply-To: <56E19D06.9080608@sliderule.demon.co.uk> References: <20160309131906.eca65270.freebsd@edvax.de> <20160310080055.49f0702a.freebsd@edvax.de> <56E19D06.9080608@sliderule.demon.co.uk> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/KH2q6Emx9z21Uw3S7jW4x1m"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 13:35:14 -0000 --Sig_/KH2q6Emx9z21Uw3S7jW4x1m Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 10 Mar 2016 16:12:54 +0000 Steve Burton wrote: > I've just tried this and CTRL-C closes my C Shell sessions too. >=20 > # uname -a >=20 > FreeBSD proliant.webdev.my.domain 10.2-RELEASE-p9 FreeBSD=20 > 10.2-RELEASE-p9 #0: Thu Jan 14 06:57:14 UTC 2016 =20 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 My machine is also affected. I just noticed there's no problem when you just log on to the server (via ssh) and press ^C as the first command... as long as you press it, shell drops you to the new line, but pressing it once again after something else - it logs you out: #v+ msuszko@helium:~ $ sshbackup-04 Last login: Fri Mar 11 14:11:10 2016 from x.x.x.x msuszko@backup-04:~ $=20 msuszko@backup-04:~ $=20 msuszko@backup-04:~ $=20 msuszko@backup-04:~ $ c c: Command not found. msuszko@backup-04:~ $ Connection to backup-04 closed. #v- On the other terminal I've connected to the that csh process with truss: #v+ msuszko@backup-04:~/nobackup $ truss -o truss2.log -f -p 63329 truss: Unexpected stop in waitpid: No child processes #v- Here http://pastebin.com/z95d5YZK you can find the truss output, hope it will help somehow. The machine is running GENERIC kernel on amd64 10.2-RELEASE-p12 r296024. --=20 regards, Maciej Suszko. --Sig_/KH2q6Emx9z21Uw3S7jW4x1m Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlbiyYAACgkQCikUk0l7iGrmvwCfe0fUI1x8fkqnWazIALVTVdgf AjwAn2yXOGrMKeIal2QDA1GBlyjNTQp8 =o0Xb -----END PGP SIGNATURE----- --Sig_/KH2q6Emx9z21Uw3S7jW4x1m--