I don't think that's true.which will clear all manual registered signal handlers.
Signals set to be ignored in the calling process are set to be ignored in the new process. Signals which are set to be caught in the calling process image are set to default action in the new process image.
All caught signals may be reset to their default action by a call to the execve(2) function; ignored signals remain ignored.
[FONT=Courier New]SIGHUP[/FONT] is set to be ignored byDon't know why, but this will kill vim.
on terminal 1: nohup vim
on terminal 2: killall -HUP vim
nohup
, but if the process nohup
executes installs a signal handler for [FONT=Courier New]SIGHUP[/FONT], it will receive this signal.