I think rjk meant `setpgid', not `setpgrp'.