Date: Tue, 25 Feb 2003 23:57:18 +0100 From: Jens Rehsack <rehsack@liwing.de> To: Brian Henning <b1henning@hotmail.com> Cc: Giorgos Keramidas <keramida@ceid.upatras.gr>, freebsd-questions@FreeBSD.ORG Subject: Re: cons25 or vt100 Message-ID: <3E5BF4CE.6050404@liwing.de> References: <OE49bLDa9W58Pp0InMk000170af@hotmail.com> <20030225224910.GC1181@gothmog.gr> <OE607tEi177osl7vF5s00004d68@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <keramida@ceid.upatras.gr> > To: "Brian Henning" <b1henning@hotmail.com> > Cc: <freebsd-questions@FreeBSD.ORG> > Sent: Tuesday, February 25, 2003 4:49 PM > Subject: Re: cons25 or vt100 > > > >>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'. >> -- 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: <rehsack@liwing.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E5BF4CE.6050404>