tag 715533 + unreproducible thanks Raphael Manfredi dixit:
>Logging with a shell set to mksh in /etc/passwd leads to weird behaviour: >hitting ^C kills the shell, and the session. This happens when logging on >the console, within an xterm, or remotely via ssh. Doesn’t happen for me. tg@freewrt:~ $ getent passwd tg | sed 's/^tg:[^:]*://' 20102:20102:Thorsten Glaser:/var/lib/gforge/chroot/home/users/tg:/bin/mksh >^C is properly configured to send "intr", as verified via "stty -a". tg@freewrt:~ $ stty -a speed 38400 baud; rows 34; columns 113; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe -echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke Indeed, same here. I’ve never heard of this, on GNU/Linux or otherwise, yet, except if the system requires WCE SIGINT handling – see https://bugs.launchpad.net/mksh/+bug/1064726 for the relevant open wishlist bug – and even then not always. Debian does not require WCE and works just fine with WUE. At least Debian {sarge,etch,lenny,wheezy,sid}/i386 and most on amd64 too, and Debian etch-m68k/m68k and sid/m68k. So I fear you have hit something not a bug, unless you can enable me to reproduce this. Things to consider: – /etc/profile – ~/.profile – ~/.mkshrc – everything sourced from those (e.g. /etc/profile.d/ stuff) I’ll close this bug in a month otherwise. bye, //mirabilos -- 13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good guy. But he's always right! In every fsckin' situation, he's right. Even with his deeply perverted taste in software and borked ambition towards broken OSes - in the end, he's damn right about it :(! […] works in mksh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org