bug-bash
[Top][All Lists]
Advanced

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

Re: bug in force_interactive handling


From: Chet Ramey
Subject: Re: bug in force_interactive handling
Date: Wed, 04 Jan 2012 22:13:23 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 1/4/12 9:50 PM, Chet Ramey wrote:
> On 1/4/12 8:42 AM, Stas Sergeev wrote:
> 
>> I just meant for the way to make the trap handler
>> executed when the foreground job is running.
> 
> So you'd like the shell to act on a signal without `consulting' the
> foreground job?  Take a look at http://www.cons.org/cracauer/sigint.html ,
> keeping in mind that it applies to signals other than those generated
> from the keyboard, and that it applies whether or not job control is
> enabled, and see if you feel the same way.
> 
> I don't think it's a good idea.

The reference isn't really applicable -- though it's still a good read --
since it assumes the signal is sent to both the shell and the foreground
process.  I still don't think this is a good idea, though.

Chet


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



reply via email to

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