Maximus5 / cygwin-connector

https://conemu.github.io/ terminal connector for cygwin/msys
https://conemu.github.io/en/CygwinMsysConnector.html
Other
82 stars 5 forks source link

xterm-256color support in msys2's ssh is broken. #1

Closed qingxbl closed 8 years ago

qingxbl commented 8 years ago

Launching a ssh session via shell, or

set TERM=xterm-256color & conemu-msys2-64.exe /usr/bin/ssh SERVER

It will fallback to 16 colors.

Maximus5 commented 8 years ago

https://conemu.github.io/en/Xterm256Colors.html#xterm_256_color_mode_requirements

qingxbl commented 8 years ago

256color is enabled in bash, and it's working fine.

But after launching a ssh session in bash, 256color support is broken.

I'm sure the following option is enabled, and ComEnuHk.dll is injected into ssh.exe (But I don't think it's working, ssh.exe communicates with bash via pty here.)

Maximus5 commented 8 years ago

Try the following

qingxbl commented 8 years ago
  1. I push AnsiColor256.ans to my server, cat it and it WORKS!!! But the colorscheme is still 16color.
  2. mintty works fine with my color scheme. aaa

Is there something wrong with my color scheme?

Maximus5 commented 8 years ago

What is wrong with colorscheme? Moreover, what do you bean by "colorscheme"?

Maximus5 commented 8 years ago

It will fallback to 16 colors

This is absolutely unclear

qingxbl commented 8 years ago

It seems that this issue isn't belong to conemu & connector. I will figure it out myself, maybe -, -