Cshell closing on CTRL-c

Maciej Suszko maciej at suszko.eu
Fri Mar 11 13:35:14 UTC 2016


On Thu, 10 Mar 2016 16:12:54 +0000
Steve Burton <steve at sliderule.demon.co.uk> wrote:

> I've just tried this and CTRL-C closes my C Shell sessions too.
> 
>   # uname -a
> 
> FreeBSD proliant.webdev.my.domain 10.2-RELEASE-p9 FreeBSD 
> 10.2-RELEASE-p9 #0: Thu Jan 14 06:57:14 UTC 2016     
> root at 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 at helium:~ $ sshbackup-04
Last login: Fri Mar 11 14:11:10 2016 from x.x.x.x
msuszko at backup-04:~ $ 
msuszko at backup-04:~ $ 
msuszko at backup-04:~ $ 
msuszko at backup-04:~ $ c
c: Command not found.
msuszko at backup-04:~ $ Connection to backup-04 closed.
#v-

On the other terminal I've connected to the that csh process with truss:

#v+
msuszko at 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.
-- 
regards, Maciej Suszko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160311/efbb522f/attachment.sig>


More information about the freebsd-questions mailing list