[EMAIL PROTECTED] wrote:
Hi,
Can I get the environment that putty gives in a portable way. Such as calling
some commands when logged in to switch.
Am I right in thinking that /etc/profile is not called for sshexec which is the
main problem.
Sshexec gives me a TERM=dumb and Putty TERM=xterm.
From: ext Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 02 January 2008 15:49
To: Steiner Simon (EXT-Alten/Southwood)
Subject: RE: sshexec problem
http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#i16
Putty or (putty link) uses the env variables