2

I'm trying to get Emacs to work over SSH under Windows (both client and server). With Emacs 23.2 (downloaded from the GNU FTP), SUA as SSH server and Bitvise as SSH client, when I run './emacs.exe -nw' I get "standard input is not a tty".

It says here that this also doesn't work on a cygwin server, and here is an old thread (2000) discussing the same (or very similar) issue.

Has anyone got this to work?

3 Answers 3

1

You may use one of the following application to get the xWindows emulator in your windows:

When using Exceed all you have to do is mark a checkbox "Enable X11 forwarding" in your Putty when connecting to ssh. Then simply type "emacs" while in console and you will get the Emacs running in a GUI in your Windows. I did not use Xming but I suspect it should work in a similar way.

2
  • Thanks, but I only wanted a console, not a GUI... Oct 26, 2012 at 16:23
  • Right, I assumed that if it should work over ssh and in Windows then it's a GUI question. Anyway, hope it can help someone in future.
    – Datageek
    Oct 26, 2012 at 16:30
0

Have you considered using dokan on your client and just accessing the files "locally" through that?

http://dokan-dev.net/en/download/

1
0

I'm using the OpenSSH server that's included with Windows 10 and connecting over PuTTY. That gives me a command prompt on the Windows box. Then I installed emacs from https://github.com/zklhp/emacs-w64/

It hangs if run as emacs but works as emacs -nw. However the cursor position is not reliably updated. You can move left and right (whether with right-arrow or C-f) and the cursor stays at the same place until you type some text.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .