bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGINT handling in bash 3


From: Chet Ramey
Subject: Re: SIGINT handling in bash 3
Date: Fri, 19 Nov 2004 11:36:59 -0500
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.3) Gecko/20040910

Shaw wrote:
Hello,

Please excuse my intrusion if my question is not appropriate for this list. I recently installed bash 3 on OSF1 and found rather quickly that I'm unable to CTRL-c out of any process with bash as my login shell.

Run `trap' after logging in with bash as your login shell.  If it
reports SIGINT as ignored or trapped and running a strange-looking
command, look at /etc/profile.  Chances are good it contains
something like `trap 2 3', which is deprecated syntax and ends up
running the command `2' when signal 3 is received.

If this is the problem, apply the patches to bash-3.0.  One of them
(patch 3) addresses this issue by restoring some backwards
compatibility to `trap'.

ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches

Chet




reply via email to

[Prev in Thread] Current Thread [Next in Thread]