tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp on Windows XP


From: Joel Gwynn
Subject: Re: Tramp on Windows XP
Date: Sat, 11 Jun 2005 15:30:58 -0400

Hmm.  eshell certainly does hang.  All I get is this message:
Pseudo-terminal will not be allocated because stdin is not a terminal.

What's that all about?

On 6/11/05, John L. Utz III <address@hidden> wrote:
> 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
> puTTY:
> 
> C-x C-f
> /plink://address@hidden:cvs-co/development/centeris/path/to/file/etc...
> 
> 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 hangs....bet 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 myhost.com -l myname  -e none bash -i || exit
> >
> > In my *debug tramp/ssh buffer, I get this:
> > Sending command `ssh myhost.com -l myname -e none bash -i || exit'
> > # Waiting for prompts from remote shell
> > # Waiting 60s for prompt from remote shell on host qtik.com
> >
> > 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?
> >
> > TIA
> > Joel
> >
> >
> > _______________________________________________
> > Tramp-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/tramp-devel
> >
>




reply via email to

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