On Tue, 24 Apr 2012 14:27:46 +0200 Michael Albinus <[email protected]> wrote:
MA> Ted Zlatanov <[email protected]> writes: >> With this exact `add-to-list' call, I still get the "host is not remote" >> error: MA> Did you start with "emacs -Q -l tramp"? If not, please do. MA> You have also not given a user name, and you haven't specified a default MA> one. Please open file "/mosh:tzz@anyhost:/home/tzz". I evaluated this in *scratch*: (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))) Same error with the path you suggested, using an Emacs binary compiled from trunk yesterday. tramp-version is 2.2.3-24.1 (from Emacs trunk). (find-file-noselect "/mosh:tzz@anyhost:/home/tzz" nil nil t) MA> If this doesn't help, please set tramp-verbose to 6, and show the debug MA> buffer. 09:01:46.582622 tramp-maybe-open-connection (3) # Opening connection for tzz@anyhost using mosh... 09:01:46.582956 tramp-compute-multi-hops (1) # File error: Host `anyhost' looks like a remote host, `mosh' can only use the local host 09:01:46.583088 tramp-compute-multi-hops (3) # Opening connection for tzz@anyhost using mosh...done 09:01:46.583501 tramp-get-test-command (5) # Finding a suitable `test' command 09:01:46.583656 tramp-maybe-open-connection (3) # Opening connection for tzz@anyhost using mosh... 09:01:46.583879 tramp-compute-multi-hops (1) # File error: Host `anyhost' looks like a remote host, `mosh' can only use the local host 09:01:46.584005 tramp-compute-multi-hops (3) # Opening connection for tzz@anyhost using mosh...done >> I tried setting LINES and COLUMNS in the usual Unix way but the error >> above blocks me from testing it. MA> Maybe we need also a proper TERM setting. OTOH, Emacs and/or Tramp set MA> it to "dumb", maybe you cannot overwrite it. Dunno. I'll work on that when I get the basic method working :) Thanks for the help! Ted _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
