From af1c6ecdc7a764b0b21b32efdd979a6a0cf77d93 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 28 Feb 2005 14:29:09 +0000 Subject: 20888: allow signal names to have the SIG prefix included --- Doc/Zsh/builtins.yo | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index d5a0f787f..e4115e3da 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1157,8 +1157,9 @@ cindex(trapping signals) item(tt(trap) [ var(arg) [ var(sig) ... ] ])( var(arg) is a series of commands (usually quoted to protect it from immediate evaluation by the shell) to be read and executed when the shell -receives var(sig). Each var(sig) can be given as a number -or as the name of a signal. +receives var(sig). Each var(sig) can be given as a number, +or as the name of a signal either with or without the string tt(SIG) +in front. If var(arg) is `tt(-)', then all traps var(sig) are reset to their default values. If var(arg) is the empty string, then this signal is ignored by the shell and by the commands it invokes. -- cgit 1.4.1