On Mon, Dec 7, 2015 at 6:32 AM, Michael Albinus <[email protected]> wrote:
>
> > Is there an alternative? Please note I have Cygwin with bash and such.
> > Would appreciate any workarounds. Thank you!
>
> You could use the Cygwin Emacs. This offers "ssh" methods.
>

Prefer the Windows Emacs due to other configurations that work best there.

> 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")

and getting the following issue.  Seems like the Windows command
prompt is still being called.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

The command prompt has been disabled by your administrator.

Press any key to continue . . . /usr/bin/mintty: option '-i' requires
an argument
Try '--help' for more information.

In *Messages*:
Tramp: Opening connection for [email protected] using plink...
Process has died
Couldn't find local shell prompt for (F:/bin/cygwin64/bin/mintty.exe)



-- Vinh

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

Reply via email to