shell script signal handler

AIX 4.3.3

I am trying to write a signal handler into a ksh shell script. I would like to capture the SIGTERM, SIGINT, and the SIGTSTP signals, print out a message to the terminal, and continue executing the script. I have found a way to block the signals:

#! /bin/ksh

SIGTERM=15
SIGINT=2
SIGTSTP=18
trap "" $SIGINT $SIGTERM $SIGTSTP
.
.
.
.

Is it possible to capture the signal, print out a message, and continue executing the shell script from where it left off?

You're very close.
Whatever comes right after the trap is what the shell does.
Right now you have "", which means nothing - functionally ignoring the signal.

But if you did something like:
trap `print "Ack! You tried to kill me"` 15 2 18

It would print that out.

Thanks LivinFree...That did the trick.