On Mon, Dec 7, 2015 at 6:40 AM, Vinh Nguyen <[email protected]> wrote:
>> With the native Windows Emacs, you could try to set
>> `tramp-encoding-shell' to the Windows name of such a cygwin shell, don't
>> know whether this works. You must also change
>> `tramp-encoding-command-switch' (to "-c") and
>> `tramp-encoding-command-interactive' (to "-i").
>
> Tried:
> (set 'tramp-encoding-shell "F:/bin/cygwin64/bin/mintty.exe")
> (set 'tramp-encoding-command-switch "-c")
> (set 'tramp-encoding-command-interactive "-i")


The -i for mintty actually refers to "icon", so that's probably why
it's erring out.  Trying:
(set 'tramp-encoding-shell "F:/bin/cygwin64/bin/bash.exe")
(set 'tramp-encoding-command-switch "-c")
(set 'tramp-encoding-command-interactive "-i")

and got
Tramp: Opening connection for username@server using plink...
Tramp: Sending command `plink -l username -ssh server && exit || exit'
Tramp: Waiting for prompts from remote shell...
Store key in cache? (y/n) (y or n)  y
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for username@server using plink...failed
byte-code: Args out of range: 57, 281

In my tramp buffer, I get:
Last login: Wed Dec  2 10:46:08 2015 from 10.201.76.59

 ]0;username@server:~  [?1034h[username@server ~]$

So I think something is going on but not sure what.

-- Vinh

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to