The text 2f9d4fccab40, as FreeBSD 12.1-RELEASE shipped it.
generate terminal pathname
ctermid_r(3) on FreeBSD now