828 reputation
315
bio website
location United Kingdom
age 34
visits member for 2 years, 1 month
seen yesterday

I am a mathematics enthusiast, although I have no formal training. What I know is what I've been able to glean from searching Wikipedia.

I enjoy writing computer programs, although I have never been employed as a programmer. I've used two-dozen different programming languages, but my current favourite is Haskell.

I also have an interest in various areas of science.

On top of all that, I'm also a bad musician, a mediocre dancer, and a very bad juggler. :-P


Dec
2
comment Inheriting Bash signal traps
How does one "ignore" a signal? You mean trap - SIGINT permanently disables that signal for all child processes?
Dec
2
comment Inheriting Bash signal traps
How odd... I have no idea why it would do that.
Dec
2
comment Inheriting Bash signal traps
Coming back to my original question, your answer appears to basically say "yes, trap is local to one script file". Is that right?
Dec
2
comment Inheriting Bash signal traps
See my other "answer".
Dec
2
answered Inheriting Bash signal traps
Dec
2
comment Inheriting Bash signal traps
Nope. It's running from a script file, that successively turns on various traps and prints out the result after each one.
Dec
2
comment Inheriting Bash signal traps
I tried grep /proc/$$/status after various combinations of trap. I seem to get SigCgt: 43817efb in all cases. What the heck...?
Dec
2
asked Inheriting Bash signal traps
Nov
30
comment Bash: issuing trap twice
+1 for the POSIX quote.
Nov
28
accepted Bash: issuing trap twice
Nov
28
comment Bash: issuing trap twice
I read that exact paragraph, but it's not immediately clear to me that "the command arg is to be read and executed" implies that any previous command is removed. That appears to be the case, however.
Nov
28
answered Bash: issuing trap twice
Nov
28
asked Bash: issuing trap twice
Nov
27
accepted Decode / summarise strace logs
Nov
27
answered Start a process on a different tty
Nov
27
awarded  Nice Question
Nov
26
comment Decode / summarise strace logs
I'm glad it's not just me that couldn't find much... :-)
Nov
26
comment Decode / summarise strace logs
None of these does precisely what I'm after, but it's all useful information none the less.
Nov
26
asked Decode / summarise strace logs
Nov
26
accepted Start a process on a different tty