The text 24745f2fca67, as FreeBSD 10.2-RELEASE shipped it.
generate terminal pathname
ctermid(3) on FreeBSD now