"Ben Hyde" <bh...@pobox.com> writes: Hi Ben,
> Well, I also resist to use MS Windows. From time to time I'm urged > to do it, answering Tramp questions ... > > now i’m both embarrassed and i feel guilty. Don't worry. As long as I don't need to test on MS Windows, everything is fine. Answering questions about Tramp on MS Windows doesn't hurt :-) > …a proper shell on MS Windows. If you > know where to find such a shell (a file name), we could try to > convince > Tramp to go there. > > I was able to install one, and I took a stab at using it: > > (add-to-list 'tramp-methods > '("wssh" > (tramp-login-program "/tools/msys64/usr/bin/sh.exe") > (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" > "none") ("%h"))) > (tramp-async-args (("-q"))) > (tramp-remote-shell "/tools/msys64/usr/bin/sh.exe") > (tramp-remote-shell-login ("-l")) > (tramp-remote-shell-args ("-c")))) Well, you don't need to create a new method. You could overwrite attributes of the existing methods: --8<---------------cut here---------------start------------->8--- (add-to-list 'tramp-connection-properties (list (regexp-quote "/ssh:u...@randomhost.your.domain:") "login-program" "/tools/msys64/usr/bin/sh.exe")) (add-to-list 'tramp-connection-properties (list (regexp-quote "/ssh:u...@randomhost.your.domain:") "login-args" '(("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("%h")))) ... --8<---------------cut here---------------end--------------->8--- "/ssh:u...@randomhost.your.domain:" should be the remote identification of your MS Windows machine. Read the Tramp manual for details --8<---------------cut here---------------start------------->8--- (info "(tramp) Predefined connection information") --8<---------------cut here---------------end--------------->8--- > But no joy > > I bet i’m doing something obviously wrong there, but if not I’ll get > back to digging > on this sooner or later. Could you set tramp-verbose to 10 prior your tests, and send the resulting debug buffer? Maybe we'll see what's going "wrong there". > Thanks ! - ben Best regards, Michael. _______________________________________________ Tramp-devel mailing list Tramp-devel@gnu.org https://lists.gnu.org/mailman/listinfo/tramp-devel