[Top][All Lists]

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

Re: tramp ($Id: tramp.el,v 1.8 2002/04/15 11:27:18 kaig Exp $); Can't wo

From: Adrian Aichner
Subject: Re: tramp ($Id: tramp.el,v 1.8 2002/04/15 11:27:18 kaig Exp $); Can't work around pseudo-terminal problem in W2K
Date: 05 Aug 2002 11:25:40 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoli)

>>>>> "Kai" == Kai Gro <address@hidden> writes:

    Kai> Adrian Aichner <address@hidden> writes:
    Kai> Which version of ssh do you use?  The first thing to try is to make
    >> From within *shell* (M-x shell) with
    >> (setq
    >> shell-file-name
    >> "cmd.exe"
    >> shell-command-switch
    >> "/c")
    >> I get:
    >> c:\Documents and Settings\aichnerad\Desktop>ssh -V
    >> ssh -V
    >> OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
    >> c:\Documents and Settings\aichnerad\Desktop>
    >> I use
    >> CYGWIN_NT-5.0 D5DC120J 1.3.9(0.51/3/2) 2002-01-21 12:48 i686 unknown

    Kai> So it's the Cygwin version of ssh?  Hm.  So please try to get a
    Kai> connection to the remote end and a shell prompt from the remote end
    Kai> by invoking ssh from within M-x shell.

    Kai> it work from M-x shell RET.  When that works, you can try it from
    Kai> Lisp and then from Tramp.
    Kai> Maybe I should update the XEmacs package.
    >> Do you think this is fixed upstream in tramp?

    Kai> I have no idea, but I committed the current Tramp version recently to

Kai, you work fast; thanks for updating the XEmacs tramp package!

    Kai> the XEmacs package CVS, so you can easily try the new version
    Kai> yourself.

Except for the texi issue with @copying which may require an upgrade
of XEmacs makeinfo version requirement to 4.2 :-(

    Kai> But first try to get ssh working from within M-x shell.

    Kai> If "ssh address@hidden" doesn't do the trick, maybe "ssh -t 
address@hidden" or
    Kai> "ssh -t -t address@hidden" or "ssh address@hidden bash -i" works.

Thanks for your help, Kai!

-t -t does the trick.

Now I get farther:

Entering debugger...
tramp: Setting shell prompt
tramp: Waiting 30s for `unset CDPATH'
tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
tramp: Waiting 30s for `set +o vi +o emacs'
tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
tramp: Determining coding system
tramp: Setting up remote shell environment
tramp: Waiting 30s for remote `/bin/sh' to come up...
tramp: Initializing remote shell
tramp: Waiting 60s for shell or passwd prompt from
tramp: Opening connection for address@hidden using scpx...

It waits on "Setting shell prompt" now.

When I quit, I get this (having done toggle-debug-on-quit):

Signaling: (quit)
  accept-process-output(#<process "*tramp/scpx address@hidden" pid 2300 
state:run> 1)
  tramp-open-connection-setup-interactive-shell(#<process "*tramp/scpx 
address@hidden" pid 2300 state:run> nil "scpx" "adrian" "")
  tramp-open-connection-rsh(nil "scpx" "adrian" "")
  tramp-maybe-open-connection(nil "scpx" "adrian" "")
  tramp-send-command(nil "scpx" "adrian" "" "cd ~; pwd" t)
  tramp-handle-expand-file-name("/address@hidden/.cvsrc" nil)
  apply(tramp-handle-expand-file-name ("/address@hidden/.cvsrc" nil))
  tramp-file-name-handler(expand-file-name "/address@hidden/.cvsrc" nil)
  find-file("/address@hidden/.cvsrc" nil)

And here's "*tramp/scpx address@hidden":

Attachment: txtCgQvEwN5i4.txt
Description: Text document

What could I try next?

Thanks in advance,


    Kai> (I have no idea why it could help to have "-t" twice in the command,
    Kai> but that's what people have reported about the Cygwin version of
    Kai> ssh.  And trying it costs only a few seconds.)

    Kai> kai
    Kai> -- 
    Kai> A large number of young women don't trust men with beards.  (BFBS 

Adrian Aichner

reply via email to

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