Ted Zlatanov <[email protected]> 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 (("%u@%h")))
(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.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel