Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 10:54:07 +0100
From:      Mark Drayton <mark.drayton@4thwave.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Finding the current terminal
Message-ID:  <20010413105407.A6788@tethys.valhalla.net>
In-Reply-To: <F103wo95EFk2H3b98Kt0000721b@hotmail.com>; from thierryblack@hotmail.com on Fri, Apr 13, 2001 at 03:12:22AM -0600
References:  <F103wo95EFk2H3b98Kt0000721b@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thierry Black (thierryblack@hotmail.com) wrote:
> Can anyone tell me how to find (and output) the name of the current
> terminal? Something relatively cross-platform and non-shell-specific
> would be ideal.

[mark@nyx mark]$ tty
/dev/ttyp0

Any good?

-- 

Mark Drayton

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010413105407.A6788>