tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp mosh method


From: Michael Albinus
Subject: Re: Tramp mosh method
Date: Mon, 23 Apr 2012 15:00:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> Hi,

Hi Ted,

> I tried adding this to my setup but the `mosh' method complains any host
> is not remote.  Could you advise?  Is it the removal of the "-p" command
> so there is no %p in the login args?

The removal of the "p" arg shouldn't harm.

During my test, mosh blamed me that I don't use UTF-8 encoding. So I've
changed your settings to

(add-to-list
 'tramp-methods
 '("mosh"
   (tramp-login-program "env LC_ALL=en_US.UTF-8 /usr/bin/mosh")
   (tramp-login-args (("address@hidden")))
   (tramp-async-args (()))
   (tramp-remote-shell "/bin/sh")
   (tramp-remote-shell-args ("-c"))
   (tramp-gw-args ())
   (tramp-default-port 22)))

Likely, tramp-async-args and tramp-gw-args are not needed. Then there
was still an error when calling mosh from Tramp:

mosh-server: terminalframebuffer.cc:54:
Terminal::Framebuffer::Framebuffer(int,\
 int): Assertion `s_height > 0' failed.^M
Abort (core dumped)^M
Connection to localhost closed.^M^M
/usr/bin/mosh: Did not find mosh server startup message.

I have no idea what to set in order to satisfy this assertion.

> Thanks
> Ted

Best regards, Michael.



reply via email to

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