rheostat2718 / conemu-maximus5

Automatically exported from code.google.com/p/conemu-maximus5
7 stars 1 forks source link

Build 141022 Doesn't Support CTRL-L in Cygwin or Tmux #1774

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Required information!
OS version: Win8 x64
ConEmu version: 141022
Far version (if you are using Far Manager): N/A

*Bug description*
CTRL-L in cygwin just gives me a newline, not clearing the window.  Moreover, 
if I try to get to tmux in cygwin I get: "open terminal failed: not a 
terminal", locally, or if I try to ssh to one which auto invokes tmux, I get 
"terminal does not support clear".

*Steps to reproduction*
1. Run cygwin then press CTRL-L (normally clears the window)
2. Or, try tmux while in Cygwin

Original issue reported on code.google.com by ed...@kickingdragon.com on 24 Oct 2014 at 3:05

GoogleCodeExporter commented 9 years ago
1. Not confirmed. Screenshots with StatusBar and enabled column: Visible region 
lock. Before CtrlL and after.

2. tmux/cygwin bugs must be reported to their authors but not me! CygwinMsys

Original comment by ConEmu.Maximus5 on 24 Oct 2014 at 3:13

GoogleCodeExporter commented 9 years ago
I'm sorry, but I don't follow.  If I use mintty I can CTRL-L and use tmux just 
fine.  If I use ConEmu I don't. 

Are you asking me for a screenshot, or are you saying that you're uploading one?

Original comment by ed...@kickingdragon.com on 24 Oct 2014 at 3:21

GoogleCodeExporter commented 9 years ago
Also, I don't think this is a tmux/cygwin bug, as this doesn't happen in 
vanilla cygwin.  The conemu terminal, I'm guessing, isn't communicating it's 
capabilities to tmux/cygwin somehow.  It could be a setup issue on my part 
granted, but I'm running a largely untouched install of ConEmu.

Original comment by ed...@kickingdragon.com on 24 Oct 2014 at 3:23

GoogleCodeExporter commented 9 years ago
Of course I'm asking you to upload.
I can show mine, where sh.exe is started in the ConEmu tab and CtrlL is working.

Original comment by ConEmu.Maximus5 on 24 Oct 2014 at 3:24

GoogleCodeExporter commented 9 years ago
> this doesn't happen in vanilla cygwin

There is no "vanilla cygwin". Read wiki link I've posted.

Original comment by ConEmu.Maximus5 on 24 Oct 2014 at 3:25

GoogleCodeExporter commented 9 years ago
Interesting read - that link sent me on a bit of a chase, but I figured out my 
issue.

Long story short, if anyone else comes here.  CTRL-L should work in native 
command prompt of bash (Just run cygwin.bat - don't run anything fancy like 
mintty).  If it doesn't, figure that out first, then ConEmu will work.

In my case, mintty was doing a fine job with CTRL-L, which made me believe 
ConEmu was at fault.  Using cygwin.bat however, I found that I couldn't do it 
in a command prompt.

What appeared to be the issue for me is that *something* is causing my TERM 
variable to be set to "dumb".  If I set it back to "cygwin" manually, I can 
clear with CTRL-L, I can use tmux again, and I can ssh to my old console 
windows just fine.

This is definitely a closeable issue.  Thanks!

Original comment by ed...@kickingdragon.com on 24 Oct 2014 at 3:45

GoogleCodeExporter commented 9 years ago
Lucky you...

Even if "set | grep TERM" shows "TERM=cygwin", the newly updated cygwin install 
says

Max@... /c/Users/Max                
$ tmux                               
open terminal failed: not a terminal 

Any suppositions about? I'm starting cygwin with command:
C:\cygwin\bin\sh.exe -l -i

What config files you've changed?

Original comment by ConEmu.Maximus5 on 25 Oct 2014 at 6:55

GoogleCodeExporter commented 9 years ago
Hey Max, does this happen even in the commands prompt when not running ConEmu?

Original comment by ed...@kickingdragon.com on 25 Oct 2014 at 8:04

GoogleCodeExporter commented 9 years ago
Yep. Same result from Win+R -> "C:\cygwin\bin\sh.exe -l -i". (started outside 
of ConEmu)
Only "mintty -" succeeds with tmux.
Weird...

Original comment by ConEmu.Maximus5 on 25 Oct 2014 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by ConEmu.Maximus5 on 31 Oct 2014 at 10:03

GoogleCodeExporter commented 9 years ago

Original comment by ConEmu.Maximus5 on 31 Oct 2014 at 10:33