The text b97d47b712ce, as FreeBSD 9.3-RELEASE shipped it.
generate terminal pathname
ctermid(3) on FreeBSD now