GNU bug report logs - #11065
24.0.94; Problem with tramp & plink

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 22 Mar 2012 11:27:02 UTC

Severity: normal

Tags: notabug

Found in version 24.0.94

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.94; Problem with tramp & plink
Date: Thu, 22 Mar 2012 11:54:59 +0100
[Message part 1 (text/plain, inline)]
Hello,

I'm trying to use Emacs to edit remote file at work, but I'm having trouble.

This is my setup:
* OS: Windows XP SP3.
* GNU Emacs 24.0.94 (almost latest trunk).
* Putty 0.62 installed, with its related utilities (pscp, plink, psftp).

From a cmd.exe console, I can login to a remote host using the command
"plink my_host" and giving my credentials.  However, the remote host
returns strange characters just before the the prompt text:

  [Copyright messages and stuff...]

  You have mail.
          ←H        ←H        ←H        ←H        ←H        ←H
←H        ←H
  [/home/my_user]


Now, from emacs (-Q), if I do:
  (cd "/plink:my_user <at> my_host:~/")

Emacs ask me the password and after I provide it, hangs (I can cancel
the operation with several `C-g').

Looking at the *tramp/plink my_user <at> my_host* buffer (attached to this
email), I see that the login has been successful, but Emacs somehow is
not aware of that (probably because of the above-mentioned strange
characters).

So, I'd like to know if I can do something to make Emacs work in this
case, or Emacs can be adapted instead.

TIA.

In GNU Emacs 24.0.94.1 (i386-mingw-nt5.1.2600)
 of 2012-03-19 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

-- 
Dani Moncayo
[plink-buffer.txt (text/plain, attachment)]

This bug report was last modified 13 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.