signal handling in shell script

Hi
can any please tell me

is it possible to catch the signal in a shell script like we do in C.
if yes please give me some idea or a link.

bash has the "trap" builtin for singnal capturing. There should be equivalent ways to do it with other shells.

See this thread for an idea - Disabling ctrl-Z key inside shell script

I have tried using trap.like
trap 'trap_func' SIGTTOU
but i have got an error trap : bad trap
and please tell me how can i get signal numbers.

Signal numbers.

kill -l