From owner-freebsd-questions Fri Apr 13 2:54:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tethys.valhalla.net (tethys.valhalla.net [195.26.32.112]) by hub.freebsd.org (Postfix) with ESMTP id 28BF137B443 for ; Fri, 13 Apr 2001 02:54:09 -0700 (PDT) (envelope-from mark@tethys.valhalla.net) Received: by tethys.valhalla.net (Postfix, from userid 500) id 487753300A; Fri, 13 Apr 2001 10:54:07 +0100 (BST) Date: Fri, 13 Apr 2001 10:54:07 +0100 From: Mark Drayton To: freebsd-questions@freebsd.org Subject: Re: Finding the current terminal Message-ID: <20010413105407.A6788@tethys.valhalla.net> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from thierryblack@hotmail.com on Fri, Apr 13, 2001 at 03:12:22AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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