tramp-devel
[Top][All Lists]
Advanced

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

Re: How do I debug this?


From: Mark Geary
Subject: Re: How do I debug this?
Date: Fri, 25 Aug 2017 17:00:43 -0400 (EDT)
User-agent: Alpine 2.21 (BSF 202 2017-01-01)

On Fri, 25 Aug 2017, Michael Albinus wrote:

Mark Geary <address@hidden> writes:

Right. So I'm connecting from a Linux box running Emacs 23.1.1 and Tramp
2.1.15. The remote machine is the same FreeBSD box I described earlier.

Well, that's pretty old. Recent Tramp 2.3 does not support Emacs 23, but
maybe you could upgrade to Tramp 2.2.13?

I can see if the sysadmin is willing, though he's on vacation right
now. If he won't, I might be able to install a private version of
Tramp.

I tried the sshx method, but it still hangs at the same spot. Here's
the end of the debug buffer:

    14:38:08 tramp-open-connection-setup-interactive-shell (5) # Remote echo 
still on. Ok.
    14:38:08 tramp-send-command (6) # _echo^H^H^H^H^Hstty icanon erase ^H cols 
32767_echo^H^H^H^H^H
    14:38:08 tramp-check-for-regexp (5) # echo-mark found
    14:38:08 tramp-wait-for-regexp (6) #
    $
    14:38:08 tramp-open-connection-setup-interactive-shell (5) # Setting shell 
prompt
    14:38:08 tramp-send-command (6) # _echo^H^H^H^H^HPS1='
    ///3ada5f533267468984eeb5d8b77f38c3
    '_echo^H^H^H^H^H
    14:38:08 tramp-check-for-regexp (5) # echo-mark found

That's OK so far. Nothing more?

Right, that's what's in the buffer after I hit C-g after Emacs/Tramp hangs

/usr/local/bin/bash appears to preserve newlines. So I created a new
connection method, copying from sshx but changing /bin/sh to
/usr/local/bin/bash.

(add-to-list 'tramp-methods '("sshxbash" [...] ))

The *debug tramp/sshxbash io* buffer appears to stop at the same point
as with the sshx method. It doesn't seem too long, so I'll include it
below.

Hard to read, because the mail programs wrap lines. Pls send again the
whole debug buffer (with tramp-verbose being 10) as attachment.

Ok, it is attached. Near the end there are 5 lines which repeat every
second. It's not clear to me whether Tramp is sending, receiving, or
both.

Mark

--
Fifty-four Forty or Fight!

Attachment: debug-tramp-sshxbash-io-10
Description: debug-tramp-sshxbash-io-10


reply via email to

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