Re: [code] textadept-curses behavior via ssh in Windows cmd.exe console

From: Carl Sturtivant <>
Date: Sun, 20 Dec 2015 00:04:34 -0600

Hello Mitchell,

Thanks for the reply. I was thinking along similar lines, but then
further investigation reveal something surprising.

I found out that if the git-bash ssh is placed on the path for the
standard windows cmd.exe console, then it that console does work in the
remote editing situation I described! I suspect it also works in the
Cygwin terminal, because that's the same terminal (mintty) used by
git-bash and does emulate an xterm.

The culprit turned out to be OpenSSH for windows which didn't grab
keystrokes correctly, and whatever the default Cygwin ssh is (possibly
the same thing).


On 12/19/2015 10:20 PM, Mitchell wrote:
> Hi Carl,
> On Sat, 19 Dec 2015, Carl Sturtivant wrote:
>> Hello,
>> I notice that arrow keys and mouse don't work with the windows console
>> running the OpenSSH version of ssh to a remote linux machine with
>> textadept-curses running remotely in the terminal. Nor does that work in
>> a Cygwin terminal running Cygwin's ssh. But it does work running ssh
>> from Git Bash.
>> So presumably this is to do with the terminal and the ssh executable
>> used. Can anyone shed more light on this? Is there a nice way to run ssh
>> from a regular windows cmd.exe console so this works?
>> I'd like to stop using emacs -nw to do this, which incidentally works
>> (apart from the mouse).
> Different terminals have different ways of sending keypress and mouse
> button press events. It appears you are experiencing this first-hand.
> The terminal version of Textadept on Linux expects xterm-style
> sequences, which the Windows command prompt and Cygwin do not emit, but
> git bash does.
> I doubt you'll be able to run Textadept in the configuration you
> describe unless you can somehow intercept the key sequences and help me
> patch Textadept to recognize them. (I wouldn't know how to intercept them.)
> Cheers,
> Mitchell

You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 20 Dec 2015 - 01:04:34 EST

This archive was generated by hypermail 2.2.0 : Sun 20 Dec 2015 - 06:44:51 EST