all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: 11065@debbugs.gnu.org
Subject: bug#11065: 24.0.94; Problem with tramp & plink
Date: Thu, 22 Mar 2012 11:54:59 +0100	[thread overview]
Message-ID: <CAH8Pv0ibyFge=sA6DpOG3zy-j4ELRk6Npy_Ujs9Zpx-q-=97JQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

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@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@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

[-- Attachment #2: plink-buffer.txt --]
[-- Type: text/plain, Size: 1271 bytes --]

plink -l fac03  -ssh nuxapds1 && exit || exit
fac03@nuxapds1's password: 
Last login: Thu Mar 22 11:35:51 2012 from 170.251.78.171
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.

Confidential computer software. Valid license from HP required for
possession, use or copying.  Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.

You have mail.
\r^[[3g\r        ^[H        ^[H        ^[H        ^[H        ^[H        ^[H        ^[H        ^[H        ^[H\r[/home/fac03] 

             reply	other threads:[~2012-03-22 10:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 10:54 Dani Moncayo [this message]
2012-03-22 16:28 ` bug#11065: 24.0.94; Problem with tramp & plink Michael Albinus
2012-03-22 16:41   ` Dani Moncayo
2012-03-22 19:41     ` Michael Albinus
2012-03-22 21:30       ` Lennart Borgman
2012-03-23  7:48         ` Michael Albinus
2012-03-23 12:36           ` Lennart Borgman
2012-03-23 12:33 ` Christoph Scholtes
2012-03-23 12:40   ` Dani Moncayo
2012-03-23 13:03     ` Dani Moncayo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH8Pv0ibyFge=sA6DpOG3zy-j4ELRk6Npy_Ujs9Zpx-q-=97JQ@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=11065@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.