cha*_*adh 3 conemu windows-subsystem-for-linux
I have been using ConEmu for some time to run 'bash for windows', but all of the sudden it stopped working. When I launch a bash tab it now says:
ConEmuC: Root process was alive less than 10 sec, ExitCode=0.
Press Enter or Esc to close console...
Run Code Online (Sandbox Code Playgroud)
I think this means that it launched something, but the shell closed quickly. I haven't changed anything that I can recall with the system, it just started doing that.
Windows version: 10 (build 15063)
ConEmu version: 180626 preview
No windows updates were done recently.
If I launch 'Bash on Ubuntu on Windows' from the start bar, it works fine (but I prefer using conemu as a terminal). Also, I can launch a cmd tab in conemu, then type bash and the bash shell will start. Unfortunately, launching bash in this way results in a lack of mouse support, and strange arrow key behavior.
I am at a bit of a loss. It worked perfectly previously... then it just stopped. Any help on how to debug or fix this would be appreciated.
如果有人发现有类似问题,我的解决方案是在 ConEmu 中使用以下命令创建一个新任务:
%windir%\system32\bash -l -i -cur_console:p5
Run Code Online (Sandbox Code Playgroud)
关键是-cur_console:p5,它将 pty 类型设置为:
p[N] - pty modes, N - bitmask: 1 - XTermKeys, 2 - BrPaste, 4 - AppCursorKeys; default is 5 (1+4)
Run Code Online (Sandbox Code Playgroud)
出于某种原因,设置p5对我来说是必要的,尽管它被列为默认设置。仍然不确定发生了什么变化,但至少它现在正在工作。
| 归档时间: |
|
| 查看次数: |
926 次 |
| 最近记录: |