Rolando Pereira <[email protected]> writes: > The following traces were done using the string "ssh riff.fe.up.pt" > instead of "exec env ENV='' PROMPT_COMMAND='' PS1='$ ' PS2='' PS3='' > %s" in the line 5945 of the file tramp.el (in the function > tramp-open-connection-setup-interactive-shell).
`tramp-open-connection-setup-interactive-shell' is responsible to set an environment once a host has been reached already. It does *not* perform the hop to the next host. Maybe it is sufficient to comment the call of `tramp-open-connection-setup-interactive-shell' in `tramp-maybe-open-connection'. But I don't remember whether there are some settings in `tramp-open-connection-setup-interactive-shell', which are mandatory. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
