Brian Henning wrote:
here is my result.
[EMAIL PROTECTED] ~> 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" <[EMAIL PROTECTED]> To: "Brian Henning" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 4:49 PM Subject: Re: cons25 or vt100



On 2003-02-25 16:40, Brian Henning <[EMAIL PROTECTED]> 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: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to