Michael Albinus <michael.albinus <at> gmx.de> writes:

> PATH is always set by a new connection. You can control it by
> `tramp-remote-path', see the manual for details. If you want to keep
> your PATH as set in ~/.bash_profile, use `tramp-own-remote-path'.

I'll try that. Thanks.
 
> Btw, what are the results of the following commands on your remote host:
> 
> # uname -sr
> # getconf PATH

$ uname -sr
SunOS 5.10
$ getconf PATH
/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin

> As I said: shell-mode is (likely) not aware of remote hosts. It might
> always use explicit-shell-file-name, whereever you are.

Got it.
 
> The reason is, that Tramp must detect the prompt under *any*
> circumstances, whatever file contents is transferred over the wire.
> 
> Back in November there was already a discussion about this issue. See
> <http://thread.gmane.org/gmane.emacs.tramp/7527/focus=7527>

Will do.
Thanks.
Marc


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to