The text 30df4ed52d5c, as FreeBSD 8.4-RELEASE shipped it.
generate terminal pathname
ctermid(3) on FreeBSD now