I'd like to retrieve the current handler for a given signal without
changing it.  I know that I can do this:

  currentHandler = trap('HUP') { ... whatever ... }

However, I don't want to change the current handler to something new;
rather, I only want to retrieve its current value.

Any ideas?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz / asfast.com