zoukankan      html  css  js  c++  java
  • win10升级后cmder突然不能用了

    Note:并没有升级wsl->wsl2。(因为似乎升级到wsl2后,就不能直接使用win的文件夹了。所以不想升级wsl)

    最近升级了win10,导致cmder不能用了。解决方案如下:

    GitHub user posted this workaround which worked for me:

    I've fixed the issue by doing this:

    1. Download latest cygwin1-20200531.dll.xz from https://cygwin.com/snapshots/ and unpack the file as cygwin1.dll into ConEmuwsl (replacing the original file there)
    2. Download @Biswa96's wslbridge2 from https://github.com/Biswa96/wslbridge2/releases and unpack to the same directory
    3. Replacing {WSL::bash} task's Command with:
    set "PATH=%ConEmuBaseDirShort%wsl;%PATH%" & %ConEmuBaseDirShort%conemu-cyg-64.exe %ConEmuBaseDirShort%wslwslbridge2.exe -cur_console:pm:/mnt -eConEmuBuild -eConEmuPID -eConEmuServerPID -l
    

    I can now access my Ubuntu under W10 just like before the W10 upgrade. Backscroll and arrows in VIM work as expected.

    The key part of step 3 is to replace conemu-cyg-64.exe --wsl with conemu-cyg-64.exe %ConEmuBaseDirShort%wslwslbridge2.exe.

    Longer term, it looks like the author of ConEmu is working on switching to the new Windows PTY API, which will eliminate the need for the wslbridge hack (and many others) entirely.

  • 相关阅读:
    Mybatis入门
    Ajax
    产品经理之产品规划
    产品经理之用户研究(下)
    产品经理之用户研究(上)
    Spring Cloud
    Spring MVC
    synchronized
    Spring Boot入门
    Spring
  • 原文地址:https://www.cnblogs.com/xiaouisme/p/13665368.html
Copyright © 2011-2022 走看看