tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.1); tramp hangs on 'Setting shell prompt'


From: Michael Albinus
Subject: Re: tramp (2.1.1); tramp hangs on 'Setting shell prompt'
Date: Sat, 14 Aug 2004 18:45:01 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Phil Suh <address@hidden> writes:

> Using NTEmacs 21.3.1(Meadow2.1) and tramp 2.1.1,
> Tramp is apparently hanging on 'Setting shell prompt'.
> I've tried both sshx and plink, and it doesn't work either way.
> I can access the remote box with ssh.exe(cygwin) and plink.exe(puTTY)
> from cygwin and windows cmd line. But not via emacs/tramp.

[...]

> --- begin *debug tramp/foo*
> # Opening connection for address@hidden using plink2...
> # Waiting 60s for local shell to come up...
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> c:\DOCUME~1\Phil\LOCALS~1\Temp># Sending command ` ; echo "Tramp connection 
> closed"; sleep 1'
> # Waiting for prompts from remote shell
> # Waiting 60s for prompt from remote shell on host osaka.filsa.net
> # Looking for regexp "^.*\([pP]assword\|passphrase.*\):
> # Looking for regexp ".*ogin: *" from remote shell
> # Looking for regexp "^[^#$%>
> ]*[#$%>] *" from remote shell
> # Found remote shell prompt on `xxx.yyyy.com'
> # Sending command to remote shell: unset HISTORY
> $ unset HISTORY
> unset HISTORY
> 'unset' is not recognized as an internal or external command,
> operable program or batch file.

Looks like your remote host is a Windows XP machine. This case, Tramp
runs into problems, because it expects a Unix-like shell remotely. You
see sending it commands, which are rejected by the Windows XP command
executor.

If your local machine were a UNIX host, you could use the smb
method. But it is Windows XP either. Hmm, that's not supported by
Tramp.

If you don't need an ssh-protected connection, you could simply apply
the NTEmacs build-in UNC file names like //xxx.yyyy.com/share/file
(just from memory, check the documentation).

Best regards, Michael.




reply via email to

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