[Top][All Lists]

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

[h-e-w] Re: SSH inside Emacs?

From: Phil Gounbin
Subject: [h-e-w] Re: SSH inside Emacs?
Date: Thu, 22 Jul 2010 10:55:25 +0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv: Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1

Hi, I have the following working on cygwin 1.7.1, Vista and cygwin Emacs 23.2.1 (the latest version from cygwin install): 1. M-x shell, then ssh: works (but no remote completion in shell, maybe I just don't know how to use it right) 2. M-x term, then ssh: works, remote shell is fully functional (but in local shell all control sequences don't work and backspace advances the point instead of deletion, for now I don't know what's the cause of that)
3. M-x eshell, then ssh: works, the same as M-x shell
Hope this may help.


it seems I can't get an interactive SSH client session inside Emacs to
save my life... Does anyone has managed to get it and cares to share?

Here are my attempts...

Cygwin's SSH, started with `M-x shell RET' fails with:

"Pseudo-terminal will not be allocated because stdin is not a terminal."

I'm able to start Cygwin's `bash', so it shouldn't depend on Cygwin's
configuration. However, starting `ssh' inside a bash session fails
with the same error.

`M-x term RET' hangs. I've checked the code and it seems this function
does not target windows (there are hardcoded *nix paths).

`plink' (Putty's SSH client) starts, however I get escape sequences
into output (although I call `ansi-color-for-comint-mode-on').

I'm able to start Cygwin's SSH inside a Windows console, however
Emacs' `cmdproxy.exe' fails with:

"Pseudo-terminal will not be allocated because stdin is not a terminal."

Thank you.

reply via email to

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