Subject: Re: screen & terminal
To: Matt Herzog <mherzog@mediaone.net>
From: None <collver@softhome.net>
List: netbsd-help
Date: 01/15/2001 12:48:33
On Mon, Jan 15, 2001 at 02:56:34PM -0500, Matt Herzog wrote:
> Hi All.
> I have a firewall/sendmail box that does not run X11.
> When I login from my internal box that _does_ run X
> the terminal prints:
> Terminal type is xterm.
> 
> Can that be right? Is the shell really aware of the
> remote terminal or is the firewall/sendmail box 
> spawning an xterm on itself?
> 
> -- 
> Matthew Herzog			Unix Administrator
> mherzog@mediaone.net            Powered by NetBSD
> 

The telnet and SSH protocols do provide for sending the terminal type to
the remote end.  In my experience it is standard for TERM to be set before
the shell is even run.

Ben
-- 
Code softly and carry a big debugger.