Mailinglist Archive: opensuse (1464 mails)
| < Previous | Next > |
Re: [opensuse] Different TERM for ssh and xterm?
- From: Ruediger Meier <sweet_f_a@xxxxxx>
- Date: Tue, 7 Feb 2012 22:19:43 +0100
- Message-id: <201202072219.43996.sweet_f_a@gmx.de>
On Tuesday 07 February 2012, Andreas wrote:
Can't putty export variables somehow?
Quick and dirty you could set in ~/.profile
something like
if test -n "$SSH_TTY" ;then
export TERM=linux
fi
But do you want this if you ssh from xterm?
cu,
Rudi
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
Hi,
can I have a different TERM setting for ssh and xterm?
For ssh (putty) I need TERM = linux to have all the linedraw signes
and F-keys working right.
In local xterms I need TERM = xterm.
Is there a way to fix this without changing TERM manually everytime I
log in or open a xterm?
Can't putty export variables somehow?
Quick and dirty you could set in ~/.profile
something like
if test -n "$SSH_TTY" ;then
export TERM=linux
fi
But do you want this if you ssh from xterm?
cu,
Rudi
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
| < Previous | Next > |