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: gerald . jean
Subject: Re: OK, lets get this to work!!
Date: Tue, 20 Nov 2012 11:14:17 -0500

Hello Michael,

at Fabrice suggestion I reran you commands directly from the windows shell,
previously I ran them after and M-x shell from within Emacs.  And, miracle,
no more double prompt!!!  Here is the output:

Y:\>plink -l jeg002  -ssh actul01 && exit || exit
Using username "jeg002".
address@hidden's password:
Last login: Tue Nov 20 11:03:32 2012 from ntwtsl293.dgdom.net
address@hidden ~]$ exec env ENV='' PROMPT_COMMAND='' PS1="#$ " PS2=''
PS3='' /b
in/sh
#$ PS1="#$ "
#$

Hence, it seems to be a windows-emacs issue???

Thanks again for you help,

Gérald
                                                                       
 (Embedded image moved to file:                                        
 pic12423.gif)                                                         
                                                                       
 Gerald Jean, M. Sc. en statistiques                                   
 Conseiller senior en statistiques     Lévis (siège social)        
                                                                       
 Actuariat corporatif,                 418 835-4900, poste             
 Modélisation et Recherche             7639                          
 Assurance de dommages                 1 877 835-4900, poste           
 Mouvement Desjardins                  7639                            
                                       Télécopieur : 418           
                                       835-6657                        
                                                                       


                                                                       
 Faites bonne impression et imprimez seulement au besoin!              
                                                                       
 Ce courriel est confidentiel, peut être protégé par le secret professionnel et
 est adressé exclusivement au destinataire. Il est strictement interdit à toute
 autre personne de diffuser, distribuer ou reproduire ce message. Si vous l'avez
 reçu par erreur, veuillez immédiatement le détruire et aviser l'expéditeur.
 Merci.                                                                
                                                                       





                                                                       
             Michael Albinus                                           
             <michael.albinus@                                         
             gmx.de>                                                     A
                                       address@hidden             
             2012/11/20 09:18                                           cc
                                       address@hidden             
                                                                     Objet
                                       Re: OK, lets get this to work!! 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




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.

Attachment: pic12423.gif
Description: GIF image


reply via email to

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