From owner-freebsd-questions Tue Feb 25 14:57:24 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 EA0E437B401 for ; Tue, 25 Feb 2003 14:57:21 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D1B643F93 for ; Tue, 25 Feb 2003 14:57:20 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 95661 invoked from network); 25 Feb 2003 22:57:19 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 25 Feb 2003 22:57:19 -0000 Message-ID: <3E5BF4CE.6050404@liwing.de> Date: Tue, 25 Feb 2003 23:57:18 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Henning Cc: Giorgos Keramidas , freebsd-questions@FreeBSD.ORG Subject: Re: cons25 or vt100 References: <20030225224910.GC1181@gothmog.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Brian Henning wrote: > here is my result. > henninb@trinity ~> echo $TERM > xterm > > i think the term should come up as vt100 not xterm. > why does this happen? 1st: Do not toppost 2nd: There is a file, /etc/termcap, which contains almost each valid terminal type, vt100 as well as cons25 as well as xterm. Maybe the read of termcap(3X) and terminfo(5) may help to get more clearence. Ciao Jens > cheers, > brian > > > ----- Original Message ----- > From: "Giorgos Keramidas" > To: "Brian Henning" > Cc: > Sent: Tuesday, February 25, 2003 4:49 PM > Subject: Re: cons25 or vt100 > > > >>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'. >> -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message