From: Lloyd Zusman Date: 2001-04-29T07:40:03+09:00 Subject: [ruby-talk:14390] [REPOST] Retrieving current signal handler without altering it [ Note: I posted this question a couple weeks ago, but I'm not sure if it properly propagated. Therefore, I'm trying again. Please forgive me if you've already seen it. ] 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