Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2016 14:34:56 +0100
From:      Maciej Suszko <maciej@suszko.eu>
To:        Steve Burton <steve@sliderule.demon.co.uk>
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> <wu737ryq23j.fsf@banyan.cs.ait.ac.th> <20160310080055.49f0702a.freebsd@edvax.de> <56E19D06.9080608@sliderule.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <steve@sliderule.demon.co.uk> 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--



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