tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don't send "exec" command on login


From: Michael Albinus
Subject: Re: Don't send "exec" command on login
Date: Sun, 22 Feb 2009 11:18:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Rolando Pereira <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]