[email protected] writes:

> Hello Michael,

Hi Gérald,

> Here is what I got running the commands you sent from an Emacs shell.
>
> c:\Emacs> plink -l jeg002  -ssh actul01 && exit || exit
>  plink -l jeg002  -ssh actul01 && exit || exit
> jeg002@actul01's password:
> Last login: Tue Nov 20 09:00:37 2012 from n105986.dgdom.net
> [jeg002@actul01 ~]$ exec env ENV='' PROMPT_COMMAND='' PS1="#$ " PS2=''
> PS3='' /bin/sh
> in/sh
> #$
> #$ PS1="#$ "
> PS1="#$ "
> #$
> #$ exit
> exit
> exit
> Using username "jeg002".
>
> Process shell finished

That's exactly what I have feared. The prompt appears twice, and Tramp
is confused. But this happens only after calling /bin/sh; your initial
prompt looks fine.

> When you say removing dot-files away do you mean ".emacs", ".bash_profile",
> etc???  There is a lot of them!!!

I mean all shell related init files, like .profile, .bash_profile etc. What
kind of shell is /bin/sh? Just a bourne shell, or linked to another shell?

And, btw, what OS is the remote host running? Could you show the output of

# uname -sr

> Thanks again,
>
> Gérald

Best regards, Michael.

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

Reply via email to