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 21:50:45 -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 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.

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]