The text 51a0a3977d23, as FreeBSD 7.2-RELEASE shipped it.
get foreground process group ID
tcgetpgrp(3) on FreeBSD now