I have several ruby processes that are started from a shell script like
this:

a&
b&
c&
z

I would like only z to respond to SIGINT and be able to interact with
the tty. But this knowledge cannot be hardcoded into the processes
themselves.

How can z detect, at run time, that it is the session leader (is that
the right term?) for this group of processes?

-- 
      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407