tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp on windows without access to cmd.exe


From: Vinh Nguyen
Subject: Re: tramp on windows without access to cmd.exe
Date: Mon, 7 Dec 2015 06:40:02 -0800

On Mon, Dec 7, 2015 at 6:32 AM, Michael Albinus <address@hidden> 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 address@hidden using plink...
Process has died
Couldn't find local shell prompt for (F:/bin/cygwin64/bin/mintty.exe)



-- Vinh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]