Re: Process group of foreground processes in monitor mode

2011-04-15 Thread Chet Ramey
On 4/14/11 11:41 AM, Paolo Herms wrote: > Bash Version: 4.2 > Patch Level: 8 > Release Status: release > > Description: > In a bash script I have to switch on job control using set -m, as it seems to > be the only way to trap a SIGCHLD as soon as a background process terminates. > The documenta

Re: bash trap ignore signal - race condition

2011-04-15 Thread Roman Rakus
On 04/14/2011 03:09 PM, Chet Ramey wrote: I'm not sure I understand this. Why is using a temporary handler better than blocking the signal until the trap handler is in place, then unblocking it and allowing any pending signal to be delivered? I just want some way to not ignore the signal. For

Re: path completion with cd - similar to tcsh

2011-04-15 Thread Peter Toft
On Fri, 15 Apr 2011 15:07:16 +0800, Clark J. Wang wrote: On Fri, Apr 15, 2011 at 6:19 AM, Peter Toft wrote: Hi all I have been using tcsh for a long time on Red Hat Linux boxes, and bash on other UNIX-boxes. One thing I really love with tcsh is the way I can swiftly operate using the to do

Re: path completion with cd - similar to tcsh

2011-04-15 Thread Clark J. Wang
On Fri, Apr 15, 2011 at 6:19 AM, Peter Toft wrote: > Hi all > > I have been using tcsh for a long time on Red Hat Linux boxes, and > bash on other UNIX-boxes. One thing I really love with tcsh is the way > I can swiftly operate using the to do auto-complete, when having > a deep directory hierar