# $EPIC: ttyname.txt,v 1.2 2006/08/20 17:37:08 sthalik Exp $
$ttyname()
Useful if you wanted to know which device you were logged into.
The terminal device attached to standard input.
This function fist appeared in EPIC4pre2.004-19990528
$ttyname() might return /dev/ttyp2