[Top][All Lists]

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

Re: Tramp on Windows XP

From: John L . Utz III
Subject: Re: Tramp on Windows XP
Date: Sat, 11 Jun 2005 11:42:46 -0700
User-agent: Wanderlust/2.11.24 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI)

I cant answer why emacs doesnt do the right thing in this case, and i am
surprised that you didnt get the imfamous 'terminal is not a TTY' ( google for
it :-( )

however, the good news is that tramp works swimmingly with the plink from

C-x C-f

i am going from an XPProSp2 box to various linuxen. 

if you are trying to go to another XP box or from unixy-thang to XP (reverse
of my use case) then i have no idea if that will work.

another intermediate testing step would be to try and run your ssh session in
eshell (Esc-x eshell) and see if it works or it hangs...

At Sat, 11 Jun 2005 12:19:57 -0400,
Joel Gwynn wrote:
> Well, it seems like many people have this problem, but I haven't found
> a solution to my incarnation.
> I'm running emacs 21.3.1 on Windows XP with Tramp 2.1.3, and cygwin,
> not sure which version.  The relevant lines in my .emacs file are as
> follows:
> (add-to-list 'load-path "/emacs-21.3/tramp/lisp/")
> ;; for Emacs
> (add-to-list 'Info-default-directory-list "c:/emacs-21.3/tramp/info/")
> ;; for XEmacs
> ;; (add-to-list 'Info-directory-list "~/emacs/tramp/info/")
> (require 'tramp)
> (setq tramp-debug-buffer t)
> (nconc (cadr (assq 'tramp-login-args (assoc "ssh" tramp-methods)))
>        '(("bash" "-i")))
> (setcdr (assq 'tramp-remote-sh (assoc "ssh" tramp-methods))
>       '("bash -i"))
> When I try to connect like so:
> Ctrl-x Ctrl-f /address@hidden:/mypath
> I get the message:
> Tramp: Waiting 60s for prompt on remote shell
> In my *tramp/ssh buffer, there is this command line:
> ssh -l myname  -e none bash -i || exit
> In my *debug tramp/ssh buffer, I get this:
> Sending command `ssh -l myname -e none bash -i || exit'
> # Waiting for prompts from remote shell
> # Waiting 60s for prompt from remote shell on host
> If I paste that line into a dos prompt, I get a password prompt, which
> when I enter my password, I get logged in.
> I can do this.  Why can't emacs?
> Joel
> _______________________________________________
> Tramp-devel mailing list
> address@hidden

reply via email to

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