On Sat, Jul 17, 2010 at 4:14 AM, Michael Albinus <address@hidden>
I see. "getconf PATH" returns on your remote machine (IRIX64) just
> ... the real kicker is that the 'which' command is in /usr/bsd/which and
> tramp could not find it: output is at http://gist.github.com/478859
> also below
"/usr/bin". As a result, Tramp sets your $PATH variable to
"/usr/bin:/usr/sbin:/usr/local/bin", which is not sufficient.
You should eval the following line after loading Tramp:
(add-to-list 'tramp-remote-path "/usr/bsd")
yes, that is done. and 'which' is now found, but /tmp/456 is the same
address@hidden:/tmp > cat 456
syntax error at -e line 3, near ");"
Execution of -e aborted due to compilation errors.