-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Mark wrote: > On Thu, Mar 06, 2008 at 04:58:21PM +1300, Lesley Walker wrote: >> Ron Johnson wrote: >> >> On 03/05/08 17:39, Lesley Walker wrote: >> >> >> After upgrading from Sarge to Etch, I have this problem, Ctrl-C kills >> the current interactive Bash shell. >> ... >> I feel as though I must be overlooking something completely obvious, >> can >> anyone suggest what? >> >> >> >> Console or an X window? >> >> >> >> It happens on both. >> >> Never mind... I think I found it. We have this line in /etc/profile: >> trap "exit" 2 3 23 >> If I comment it out the problem goes away. Time for me go and RTFM on traps. >> >> > That is odd. IIRC control-d was set to 'exit'. so in this case various > signals are set to do the same thing. Why is beyond me. > -K
ctrl + D sends an EOF to the stdin of whatever your terminal is hooked up to FYI, kills all sorts of stuff, whereas ctrl + C traditionally sends SIGINT. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHz3ZDLeTfO4yBSAcRAtCoAJ9cFCN84zAzcyjUId2Oapk07PQSHQCeMBRQ Nyerd9EGb9Em9AehLs0RDkI= =fHU/ -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]