ubuntu-users Digest, Vol 124, Issue 25

Linda haniganwork at earthlink.net
Wed Dec 10 13:25:12 UTC 2014


------------------------------ Message: 2 Date: Wed, 10 Dec 
2014 08:27:33 +0100 From: iceblink <iceblink at seti.nl> To: 
"Ubuntu user technical support, not for general discussions" 
<ubuntu-users at lists.ubuntu.com> Cc: Linda 
<haniganwork at earthlink.net> Subject: Re: ctrl-c doesn't work 
to break out of program in terminal Message-ID: 
<face748f803861494a0eeda722a6fa78 at pro.dohd.org> 
Content-Type: text/plain; charset=US-ASCII; format=flowed On 
2014-12-10 05:35, Linda wrote:
>> Since I upgraded to 14.04 LTS I've noticed that ctrl-c no longer
>> breaks out of a running command in a terminal. Does this need to be
>> set somewhere for the bash shell? Any other ideas on why this has
>> changed.
>>                        Thanks
>>                         Linda
> It could be a setting in /etc/bashrc, something like:
>
>    trap "" 1 2 3
>
> (My Ubuntu is older so I can't check this.)
> I'm not sure whether this is some sort of new default, but I saw the
> same on a Redhat installation.
>
> You can circumvent by adding in your own ~/.bashrc file:
>
>     trap 1 2 3
>
> That way the HUP, INT and QUIT interrupts are re-enabled.
>
>
> Best regards,
> Patrick
>
>
Patrick
    Thanks that works perfectly. I added it to 
/etc/bash.bashrc to make it global.
                               Linda




More information about the ubuntu-users mailing list