bug-bash
[Top][All Lists]
Advanced

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

Re: Getting rid of "Terminated" message thanks to SIGINT


From: Chet Ramey
Subject: Re: Getting rid of "Terminated" message thanks to SIGINT
Date: Tue, 01 Feb 2011 09:31:46 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 2/1/11 3:52 AM, Marc Herbert wrote:
>>>> Is it a problem?  Bash prints messages about signal-terminated processes --
>>>
>>>> Most people want to know when their jobs die
>>>
>>> ...except when they explicitly kill them.
>>
>> Then maybe the answer is to suppress the message when a process dies
>> due to SIGTERM, as well as SIGINT.
>>
> 
> Since TERM is the default it seems to make sense to me. Could you
> mention this to the bash maintainer? :-)

I will bring it up with him. :-)

> Would the same also make sense for a couple other signals? I have
> always been confused by the respective semantics of signals (assuming
> there are well defined semantics in the first place).

SIGPIPE is already treated specially.  There really aren't any others
that I would like to suppress.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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