1

Recently I've stared using ConEmu and it's great. But I encountered one problem that stops me from using it as an ssh client. When I ssh to a remote machine linux's 'screen' doesn't work very well.

I mean I cannot even go through the list of open sessions in screen. When I do Ctrl+a " I see the list but when I press an arrow to navigate it goes back to the terminal.

This happens when I use it via cygwin.

When I use cmd, I ssh to a machine, run screen, but then when I do ctrl+a to access screen options instead of going to screen I see:

[someuser@my-remote ~]$ ^A

Screen works properly when I use MobaXTerm.

I haven't found anything about problems with screen and conemu.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
damian
  • 316
  • 3
  • 7
  • 23
  • 1
    Words "via cygwin" are ambiguous. Anyway, this is a bug of ssh.exe, ConEmu do not do anything with ssh at all. Also, https://conemu.github.io/en/CygwinMsys.html – Maximus Oct 23 '15 at 15:02
  • I meant I open a cygwin terminal in conemu and then do ssh – damian Oct 23 '15 at 15:25
  • Your cygwin terminal is mintty or not? If any problems appears in mintty, they do not relate to ConEmu. – Maximus Oct 23 '15 at 16:02
  • In tasks in ConEmu I have configured cygwin as: E:\tools\cygwin64\bin\sh.exe Maybe this problem isn't related with conemu at all. I tried various ssh clients and couldn't make screen working correctly. – damian Oct 26 '15 at 08:36
  • Exactly. https://conemu.github.io/en/CygwinMsys.html From time to time I think about making some console improvements in [plink](https://github.com/Maximus5/plink)... – Maximus Oct 26 '15 at 10:51
  • 2
    ssh works correctly with git-bash with cygwin and Moba Xterm. When I ssh in with cmder to my vagrant ssh I have no arrow keys or backspace. Ctl-Shift V BackSpace gives the correct ^? for my tyyl. This is an issue with ConEmu and Cmder. – mtelesha Jan 21 '16 at 16:41

1 Answers1

0

SOLUTION:

export TERM=vt100

For some reason conemu and cmder do not send a terminal announcement (This is my guess). In order for you to get a correct terminal use TERM to declare it for you.

mtelesha
  • 2,079
  • 18
  • 16