Frederick Bartlett <[email protected]> writes: Hi Frederick,
> I've been using tramp via plink in cygwin's 32-bit emacs without any > trouble and recently downloaded the 64-bit version from gnu.org. Well, there is a difference between the cygwin and the gnu version of Emacs: the former opens locally a posix shell (bash or whatever), and the latter opens locally the Windows cmd.exe. This makes a difference in the prompt. > When I attempt to connect, I get the message > > Tramp: Opening connection for <me>@<there> using plink... > Couldn’t find local shell prompt for C:\Windows\system32\cmd.exe > Tramp: Opening connection for <me>@<there> using plink...failed > tramp-file-name-handler: Couldn’t find local shell prompt for > C:\Windows\system32\cmd.exe > > And yet I do get a prompt in the *tramp/plink <me>@<there>* window: > > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > c:\Users\<me>\AppData\Local\Temp - Thu 03/23/2017 - 9:12:46.39 > Here we are. The prompt looks really uncommon to me, mainly due to the "- Thu 03/23/2017 - 9:12:46.39" part. Could you suppress this? > I've played around with shell-prompt-pattern, to no avail. How did you change it? Could you show the values of `shell-prompt-pattern' and `tramp-shell-prompt-pattern'? > Thanks! > Fred Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
