Terminal: build 18298.1000 console breaks with WSL

Created on 12 Dec 2018  路  5Comments  路  Source: microsoft/terminal

  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.18298.1000]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

For example:

  • start WSL,
  • vi ~/.bashrc
  • quit vi

console no longer prints anything.

It can be reset by doing ls -la.

If you have emacs installed:

  • emacs -nw
  • screen looks wierd
  • quit emacs

console now has a red background.

The same sort of thing happens with htop, less and I guess any terminal app using colors?

  • What's wrong / what should be happening instead:

curses apps should be working.

Product-Conhost Resolution-Fix-Available

Most helpful comment

I LITERALLY just came here to file this bug and found that @nicferrier got there first! :) NICE! 馃嵕

Another repro:

From Cmd/PowerShell, if I run:

C:\>wsl man ls

The man page appears and everything is fine. Then when I hit q to exit, it drops back to the Cmd/PowerShell, but the foreground color is the same as the background color:

C:\>wsl man ls

                  _

Only if I execute color to reset the colors can I see the text again. This didn鈥檛 used to happen. It happens with any kind of interactive command in WSL.

All 5 comments

Huh, I was sure that @bitcrazed was supposed to file this...

This is already known, and fixed in internal branches. The fix should be out to Insider's soontm

I LITERALLY just came here to file this bug and found that @nicferrier got there first! :) NICE! 馃嵕

Another repro:

From Cmd/PowerShell, if I run:

C:\>wsl man ls

The man page appears and everything is fine. Then when I hit q to exit, it drops back to the Cmd/PowerShell, but the foreground color is the same as the background color:

C:\>wsl man ls

                  _

Only if I execute color to reset the colors can I see the text again. This didn鈥檛 used to happen. It happens with any kind of interactive command in WSL.

Yeah, just noticed this too on 18298, which took about eight attempts to install on top of 18290. Sheesh - is this the reward I get for my persistence? 馃ぃ

Yeah, just noticed this too on 18298, which took about eight attempts to install on top of 18290. Sheesh - is this the reward I get for my persistence? 馃ぃ

Frustrating isn't it? But Microsoft are slowly fixing the console stuff which has been broken for ever (35 years?) so I try to sniff a candle or have a bath or something to reduce my frustration.

This should work as of 18309 or 18312.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amithegde picture amithegde  路  114Comments

conioh picture conioh  路  65Comments

pingzing picture pingzing  路  212Comments

Paul-Weisser picture Paul-Weisser  路  71Comments

privacyguy123 picture privacyguy123  路  131Comments