Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 00:49:10 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Brian Henning <b1henning@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: cons25 or vt100
Message-ID:  <20030225224910.GC1181@gothmog.gr>
In-Reply-To: <OE49bLDa9W58Pp0InMk000170af@hotmail.com>
References:  <OE49bLDa9W58Pp0InMk000170af@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-25 16:40, Brian Henning <b1henning@hotmail.com> 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




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