From owner-freebsd-questions Fri Apr 13 2:12:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f103.law9.hotmail.com [64.4.9.103]) by hub.freebsd.org (Postfix) with ESMTP id 6443E37B496 for ; Fri, 13 Apr 2001 02:12:23 -0700 (PDT) (envelope-from thierryblack@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 13 Apr 2001 02:12:22 -0700 Received: from 142.165.70.131 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 13 Apr 2001 09:12:22 GMT X-Originating-IP: [142.165.70.131] From: "Thierry Black" To: freebsd-questions@freebsd.org Subject: Finding the current terminal Date: Fri, 13 Apr 2001 03:12:22 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Apr 2001 09:12:22.0588 (UTC) FILETIME=[D945D7C0:01C0C3F9] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. tb _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message