tramp-devel
[Top][All Lists]
Advanced

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

Re: OK, lets get this to work!!


From: Michael Albinus
Subject: Re: OK, lets get this to work!!
Date: Tue, 20 Nov 2012 15:18:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

address@hidden 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
> address@hidden's password:
> Last login: Tue Nov 20 09:00:37 2012 from n105986.dgdom.net
> address@hidden ~]$ 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.



reply via email to

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