From owner-freebsd-questions Tue Feb 25 14:49:16 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B806237B401 for ; Tue, 25 Feb 2003 14:49:14 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 864E643FAF for ; Tue, 25 Feb 2003 14:49:13 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b068.otenet.gr [195.167.121.196]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h1PMnBOs025350; Wed, 26 Feb 2003 00:49:12 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h1PMnBPU023994; Wed, 26 Feb 2003 00:49:11 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h1PMnAmI023993; Wed, 26 Feb 2003 00:49:11 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 26 Feb 2003 00:49:10 +0200 From: Giorgos Keramidas To: Brian Henning Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cons25 or vt100 Message-ID: <20030225224910.GC1181@gothmog.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-02-25 16:40, Brian Henning wrote: > is there a veriable set on login that can tell me weather i am logged in on as > vt100 or cons25? > is there anyway to tell? Try the following shell command: echo $TERM The TERM variable is always[1] set to your current terminal type. [1] Well, almost always... but for your particular question, let's assume that this is indeed 'always'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message