Matt Price <[EMAIL PROTECTED]> wrote:
> Thomas Dickey wrote:
>> Matt Price <[EMAIL PROTECTED]> wrote:
>> 
>> 
>>>I've checked and $TERM is in fact set to 'xterm' on the client
>>>temrinal before I execute the ocmmand, and in remote sessions started
>> 
>> 
>> perhaps.  I just ran
>>      ssh server env
>> and saw no sign of $TERM, other than the message
>>      TERM: Undefined variable.
>> 
> hmm.  same here.  But when I try:
> TERM=xterm ssh server env
> there's s till no sign.  So what would the next step be?

I'm not sure (that is I don't know which part of the ssh connection is doing
this).

ssh's either filtering out some/all environment variables, or because the
connection is coming in on a pty which doesn't actually have a terminal
associated with it, the target is stripping it out since it doesn't know.  In
some contexts, that sort of thing would set $TERM to "network".

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to