tramp-devel
[Top][All Lists]
Advanced

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

Re: Regarding saving of remote files


From: MMN
Subject: Re: Regarding saving of remote files
Date: Mon, 6 Feb 2006 09:36:26 +0530

Hello Michael,

Thanks for trying to reproduce the problem. However I had not noticed that the 22.0.50.1 EmacsW32 had tramp by default and it was working fine with a small tweak of the configuration, using pscp. So I have started using it.

I have never had a problem with pscp/putty before.
This is what I have in my .emacs, I am not able to understand the stuff which you have captured below (May be I am too stupid :)).
(setq tramp-default-method "pscp")
(setq tramp-remote-sh "/bin/sh")
(setq tramp-shell-prompt-pattern "<my prompt>")

and custom-set-variable
'(tramp-terminal-type "tty")

Before trying to retrieve the file, I use pageant to create a key pair and then I have to use that for authentication.

Thanks again for trying it out, however I anot facing problem now.

Regards,


On 2/3/06, Michael Albinus < address@hidden> wrote:
MMN <address@hidden > writes:

> Hello developers,

Hi,

> I am facing problem trying to save remote files with emacs and tramp. Please
> find the details below.
>
> * I am using NTEmacs version 22.0.50.1
> * I am using tramp version 2.0.51
> * I am using pscp to get the files from the remote machine and paegant for
> using key authentication.
> * The file gets through properly into my emacs

I'm trying to reproduce the problem, but somehow I'm too stupid to
configure PuTTY correctly. It echoes twice the prompt, which corrupts
the communication. Something like this (traces taken from Tramp 2.1.5
because of better readability):

10:53:57 tramp-send-command-internal (9) # unset autocorrect
10:53:57 tramp-get-connection-property (7) # process-name nil
10:53:57 tramp-get-connection-property (7) # process-buffer nil
10:53:57 tramp-get-connection-property (7) # process-name nil
10:53:57 tramp-wait-for-regexp (9) #
unset autocorrect
slbpbz:~ #
slbpbz:~ #
10:53:57 tramp-send-command-internal (9) # exec env 'ENV=' 'PS1=$ ' /bin/sh
10:53:57 tramp-get-connection-property (7) # process-name nil
10:53:57 tramp-get-connection-property (7) # process-buffer nil
10:53:57 tramp-send-command-internal (3) # Waiting 30s for remote `/bin/sh' to come up...
10:53:57 tramp-get-connection-property (7) # process-name nil
10:53:57 tramp-wait-for-regexp (9) #
exec env 'ENV=' 'PS1=$ ' /bin/sh
$
$
10:53:57 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment
10:53:57 tramp-send-command-internal (9) # stty -inlcr -echo kill '^U'
10:53:57 tramp-get-connection-property (7) # process-name nil
10:53:57 tramp-get-connection-property (7) # process-buffer nil
10:53:57 tramp-get-connection-property (7) # process-name nil
10:54:27 tramp-wait-for-regexp (9) #
stty -inlcr -echo kill '^U'
$ $

This happens for different remote hosts under different accounts with
clean dot files, so I'm assuming it is a local problem.

Could anybody tell me a recipe how to configure PuTTY properly?
Honestly, I've never tried it until now ...

> Thank you in advance,
> Regards,
> MMN

Best regards, Michael.



reply via email to

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