New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows] Highlight of row fails in ConEmu on WSL #117

Closed
mgaldzic opened this Issue Mar 5, 2018 · 8 comments

Comments

Projects
None yet
5 participants
@mgaldzic

mgaldzic commented Mar 5, 2018

I use ConEmu as my terminal on WSL (Linux subsystem under windows 10)
The rows do not show the highlight to indicate the position.
The ConEmu task is set as:
set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & ubuntu.exe -cur_console:pm:/mnt

image

@saulpw

This comment has been minimized.

Show comment
Hide comment
@saulpw

saulpw Mar 6, 2018

Owner

Hi @mgaldzic, thanks for reporting this issue. Unfortunately I don't ever use Windows, so I'm unable to diagnose and fix this issue. (In fact I'm kind of surprised that it works at all! You might be the first person to ever try using it on Windows). If you are able to figure out what's going wrong, please let me know and we can try to find a solution. You might start with the color options, and see if another curses attribute does something reasonable.

Owner

saulpw commented Mar 6, 2018

Hi @mgaldzic, thanks for reporting this issue. Unfortunately I don't ever use Windows, so I'm unable to diagnose and fix this issue. (In fact I'm kind of surprised that it works at all! You might be the first person to ever try using it on Windows). If you are able to figure out what's going wrong, please let me know and we can try to find a solution. You might start with the color options, and see if another curses attribute does something reasonable.

@Polydiac

This comment has been minimized.

Show comment
Hide comment
@Polydiac

Polydiac Mar 6, 2018

@mgaldzic From what I have found out it has to do with WSL truncating the colour sequences for the console emulator ConEmu uses (WSL doesn't support 265 colours in ConEmu). There is a bridging script you can install that directly hooks into WSL which sort of works a bit better but still isn't great: https://conemu.github.io/en/BashOnWindows.html#wslbridge @saulpw Just out of interest for us Windows peasants. Have you considered supporting Windows with something like https://pypi.python.org/pypi/UniCurses? Would love to use this on windows natively.

Polydiac commented Mar 6, 2018

@mgaldzic From what I have found out it has to do with WSL truncating the colour sequences for the console emulator ConEmu uses (WSL doesn't support 265 colours in ConEmu). There is a bridging script you can install that directly hooks into WSL which sort of works a bit better but still isn't great: https://conemu.github.io/en/BashOnWindows.html#wslbridge @saulpw Just out of interest for us Windows peasants. Have you considered supporting Windows with something like https://pypi.python.org/pypi/UniCurses? Would love to use this on windows natively.

@saulpw

This comment has been minimized.

Show comment
Hide comment
@saulpw

saulpw Mar 8, 2018

Owner

Hi @Polydiac, I have to confess, I hadn't considered supporting Windows. It would be difficult for me to do so because I don't even have it installed on any of my machines. If there was enough interest I could hire someone to help make it happen (I know at least one Windows dev who would be interested). But that costs money :/

Owner

saulpw commented Mar 8, 2018

Hi @Polydiac, I have to confess, I hadn't considered supporting Windows. It would be difficult for me to do so because I don't even have it installed on any of my machines. If there was enough interest I could hire someone to help make it happen (I know at least one Windows dev who would be interested). But that costs money :/

@saulpw saulpw changed the title from Highlight of row fails in ConEmu on WSL to [windows] Highlight of row fails in ConEmu on WSL Mar 8, 2018

@Polydiac

This comment has been minimized.

Show comment
Hide comment
@Polydiac

Polydiac Mar 8, 2018

Yeah no worries. I know how hard windows support is for a primarily POSIX oriented Project. We can use it on WSL so it isn't that bad :D

Polydiac commented Mar 8, 2018

Yeah no worries. I know how hard windows support is for a primarily POSIX oriented Project. We can use it on WSL so it isn't that bad :D

@NicoJuicy

This comment has been minimized.

Show comment
Hide comment
@NicoJuicy

NicoJuicy Mar 12, 2018

I actually also tried Windows, but was first demotivated when it didn't seem to support it on the main page.

Since you're suprised it worked, i might suprise you more that Windows supports the entire Linux subsystem and command calls since recently.

Even Kali ( a linux distribution) is available on Windows : https://blogs.msdn.microsoft.com/commandline/2018/03/05/kali-linux-for-wsl/

So the support is pretty good :), i'd love to see Windows officially supported also.

NicoJuicy commented Mar 12, 2018

I actually also tried Windows, but was first demotivated when it didn't seem to support it on the main page.

Since you're suprised it worked, i might suprise you more that Windows supports the entire Linux subsystem and command calls since recently.

Even Kali ( a linux distribution) is available on Windows : https://blogs.msdn.microsoft.com/commandline/2018/03/05/kali-linux-for-wsl/

So the support is pretty good :), i'd love to see Windows officially supported also.

@saulpw

This comment has been minimized.

Show comment
Hide comment
@saulpw

saulpw Mar 19, 2018

Owner

Closing this for now, but if anyone in the future wants to put in the effort to support Windows more fully, let me know.

Owner

saulpw commented Mar 19, 2018

Closing this for now, but if anyone in the future wants to put in the effort to support Windows more fully, let me know.

@saulpw saulpw closed this Mar 19, 2018

@yab-arz

This comment has been minimized.

Show comment
Hide comment
@yab-arz

yab-arz Apr 6, 2018

Just fyi, this issue appear to be fixed as of ConEmu 180318 Alpha which includes some fixes to console colors and reset codes.

yab-arz commented Apr 6, 2018

Just fyi, this issue appear to be fixed as of ConEmu 180318 Alpha which includes some fixes to console colors and reset codes.

@NicoJuicy

This comment has been minimized.

Show comment
Hide comment
@NicoJuicy

NicoJuicy May 26, 2018

I can confirm everything seems to work on Windows Subsystem (y)

NicoJuicy commented May 26, 2018

I can confirm everything seems to work on Windows Subsystem (y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment