From: utzoo!decvax!cca!dan@BBN-UNIX@sri-unix
Newsgroups: net.unix-wizards
Title: Re: getlogin() and /dev/tty
Article-I.D.: sri-unix.2808
Posted: Sat Aug 21 00:14:01 1982
Received: Sun Aug 22 00:53:57 1982

From: Dan Franklin 
Date: 10 Aug 1982  9:41:02 EDT (Tuesday)
Oops. My apologies to anyone who was misled by my previous
message about calling ttyname on /dev/tty; I had forgotten
that we replaced our /dev/tty driver several years ago
with something completely different inside, for which the trick I
described does work--but it won't work on an ordinary V7 /dev/tty
driver.