My default shell is csh.
ewvpar5% /bin/sh
$ env
HOME=/HOME_BCK_WBV/wxwip
JAVA_HOME=/usr/jre1.6.0_14
LOGNAME=wxwip
MAIL=/var/mail//wxwip
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/local/bin:/etc:/usr/ucb
PWD=/HOME_BCK_WBV/wxwip
SHELL=/bin/csh
SSH_TTY=/dev/pts/2
TERM=dumb
TZ=GMT
USER=wxwip
$
How can I tell to tramp to use csh otherwise sh environment ?
tramp tries to set the TZ variable on UTC by using this command:
TZ=UTC
export TZ
instead of this command:
setenv TZ "UTC".
Thanks
Samir SAIDI
2011/4/16 Michael Albinus
<address@hidden>
samir saidi <address@hidden> writes:
> Hello team,
Hi,
> When I try to update and save the file using TRAMP I have this error
> in buffer zone:
> TZ=UTC: command not found
> export: command not found
It looks like the target machine does not run a bourne-shell compatible
shell. What is your default shell on the remote host? Which shell is
started by /bin/sh?
In the recent tramp.el code there is a comment, that the default shell
(ksh93) of OpenSolaris is buggy. The workaround is applied for SunOS
5.11. You seem to run SunOS 5.8 on your remote machine; maybe you need a
similar workaround?
Btw, Tramp 2.1.9 is pretty old; the recent version is Tramp 2.1.20.
> Thanks,
>
> Samir SAIDI
Best regards, Michael.