Subject: Re: How do you get the tty your logged in on in a sh shell script?
To: John Maier <JohnAM@datastorm.com>
From: Daniel Carosone <dan@anarres.mame.mu.oz.au>
List: netbsd-users
Date: 04/23/1997 20:47:25
> With csh I can get the port I'm logged in on vi a set but there isn't   
> anything like that in sh's environment, is there?

tty(1)

--
Dan.