The text bf3b8fb0bafa, as FreeBSD 10.3-RELEASE shipped it.
set foreground process group ID
tcsetpgrp(3) on FreeBSD now